aboutsummaryrefslogtreecommitdiff
path: root/rv64/emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'rv64/emit.c')
-rw-r--r--rv64/emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rv64/emit.c b/rv64/emit.c
index a410ddf..39b55ea 100644
--- a/rv64/emit.c
+++ b/rv64/emit.c
@@ -8,7 +8,7 @@ enum {
static struct {
short op;
short cls;
- char *asm;
+ char *fmt;
} omap[] = {
{ Oadd, Ki, "add%k %=, %0, %1" },
{ Oadd, Ka, "fadd.%k %=, %0, %1" },
@@ -326,7 +326,7 @@ emitins(Ins *i, Fn *fn, FILE *f)
|| (omap[o].cls == Ki && KBASE(i->cls) == 0))
break;
}
- emitf(omap[o].asm, i, fn, f);
+ emitf(omap[o].fmt, i, fn, f);
break;
case Ocopy:
if (req(i->to, i->arg[0]))