summaryrefslogtreecommitdiff
path: root/tools/d2c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c')
-rw-r--r--tools/d2c/spec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/d2c/spec.c b/tools/d2c/spec.c
index cf1a066..30a412a 100644
--- a/tools/d2c/spec.c
+++ b/tools/d2c/spec.c
@@ -345,6 +345,10 @@ bool write_encoding_spec_disass(const encoding_spec *spec, int fd, const char *a
dprintf(fd, "\n");
}
+ dprintf(fd, "\t\tg_arch_instruction_set_encoding(instr, \"%s\");\n", spec->prefix);
+
+ dprintf(fd, "\n");
+
dprintf(fd, "\t\treturn instr;\n");
dprintf(fd, "\n");