Currently load1 after store1 of a signed value does not preserve the signed representation, even for values in -100..100. I see two possible solutions:
- add load1s/load2s/load4s
- add sext1/sext2/sext4 and wrap loads in these, compile away
Either way, semantics of sign-extended loads would be defined in terms of normal loads.
Currently load1 after store1 of a signed value does not preserve the signed representation, even for values in -100..100. I see two possible solutions:
Either way, semantics of sign-extended loads would be defined in terms of normal loads.