| ▲ | dzaima a day ago | |
And, even if not that, the 0x0000_0000_FFFF_FFFF constant could be generated via 2 instrs of
That said, codegen of constants in RISC-V is a whole insane crazy art-form to do well (especially for a JIT where "try a hundred different strategies" means slow compilation), all to have the hardware rediscover what was already perfectly-known in the first place. (granted, there's a size benefit in cases where there is a good compact form) | ||