diff options
| author | 2025-12-31 11:13:15 +0100 | |
|---|---|---|
| committer | 2025-12-31 11:13:15 +0100 | |
| commit | 97c6d5c44f30b29b52d1dc431ab9f2df4bb47fd2 (patch) | |
| tree | 564615d402793491d545d612df31dd80451120ab /aarch64/emit.c | |
| parent | 3a46902b3ede49116522992793d3ececef53c5a8 (diff) | |
backend: separate instrs for integer/float store
Diffstat (limited to 'aarch64/emit.c')
| -rw-r--r-- | aarch64/emit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/aarch64/emit.c b/aarch64/emit.c index 2ca3af9..564ce2a 100644 --- a/aarch64/emit.c +++ b/aarch64/emit.c @@ -680,12 +680,12 @@ emitinstr(uchar **pcode, struct function *fn, struct block *blk, int curi, struc Load: X2(pcode, cls, reg2oper(ins->reg-1), mkmemoper(8<<(ins->op - Oloads8)/2, ins->l)); break; - case Ostore8: cls = KI32; X2 = Xstrb; goto Store; - case Ostore16: cls = KI32; X2 = Xstrh; goto Store; - case Ostore32: cls = KI32; X2 = Xstr; goto Store; - case Ostore64: cls = KI64; X2 = Xstr; + case Ostorei8: cls = KI32; X2 = Xstrb; goto Store; + case Ostorei16: cls = KI32; X2 = Xstrh; goto Store; + case Ostorei32: cls = KI32; X2 = Xstr; goto Store; + case Ostorei64: cls = KI64; X2 = Xstr; Store: - X2(pcode, cls, ref2oper(ins->r), mkmemoper(8<<(ins->op-Ostore8), ins->l)); + X2(pcode, cls, ref2oper(ins->r), mkmemoper(8<<(ins->op-Ostorei8), ins->l)); break; case Ocall: Xcall(pcode, ref2oper(ins->l)); |