jasmin
jasmin copied to clipboard
In-place operations with memory operands
Compiling the following program crashes at asm-generation time:
export fn bad_inc(reg u64 p) {
[p + 8] = [p] + 1;
}
Stack-allocation is not aware of x86 constraints about source and destination being the same. Lowering might be to blame too.