diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-15 03:08:34 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-15 03:37:10 +0300 |
| commit | 78d992ff3052db9dc98a3074e8a4423760c342f1 (patch) | |
| tree | 12945a143e462cefccdca8dd589d3f9122833d4e /src/asm.c | |
| parent | 5a728ae106b978c6de0fa6316f37eb3b4a86a405 (diff) | |
| download | qbt-78d992ff3052db9dc98a3074e8a4423760c342f1.tar.gz qbt-78d992ff3052db9dc98a3074e8a4423760c342f1.zip | |
fix insert_before/after
+ Hopefully for good, quite a lot of messing about with those functions
Diffstat (limited to 'src/asm.c')
| -rw-r--r-- | src/asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -296,7 +296,7 @@ static void output_alloc(struct insn i, FILE *o) assert(i.type == ALLOC); /** @todo alignment is ignored, is that our responsibility? */ fprintf(o, "addi sp, sp, -%lli\n", i.v); - fprintf(o, "mov %s, sp\n", rname(i.out)); + fprintf(o, "mv %s, sp\n", rname(i.out)); } static void output_dealloc(struct insn i, FILE *o) |
