mips/mipsel and riscv32/riscv64 code generation error for small set inclusion operators
Original Reporter info from Mantis: Pierre @PierreMuller
-
Reporter name: Pierre Muller
Original Reporter info from Mantis: Pierre @PierreMuller
- Reporter name: Pierre Muller
Description:
The code generated for set inclusion tests are wrong for small sets for mips and riscv CPUs.
In both cases simple 32bit typecast of the small set values are compared.
Additional information:
A possible way to fix this would be to convert this "lten" node into two nodes :
A first one doing 32bit-value(set1) AND 32bit-value(set2)
and a second comparing the result with 32bit-value(set1).
if ( set1 AND set2) = set1 that set1 is included inside set2
Mantis conversion info:
- Mantis ID: 38549
- Version: 3.3.1
- Fixed in version: 4.0.0