Open RoyalIcing opened 11 months ago
Aligns could be defined when defining a SilverOrb Arena, and so you know for example that loads/store to your particular arena is 32-bit aligned.
Some progress has been made on this. I just need to decide whether I32.UnsafePointer
should be aligned by default or not. If it should be aligned perhaps it should be renamed to I32.UnsafeAlignedPointer
to reflect this. I think it partly depends on which pointer types should be built-in.
e.g.
The default alignment when loading
i32.load
is 4, should we change this forI32.UnsafePointer
?