diff options
Diffstat (limited to 'src/dynarec/rv64/rv64_printer.c')
| -rw-r--r-- | src/dynarec/rv64/rv64_printer.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/dynarec/rv64/rv64_printer.c b/src/dynarec/rv64/rv64_printer.c index f28b8b06..c6cc9e17 100644 --- a/src/dynarec/rv64/rv64_printer.c +++ b/src/dynarec/rv64/rv64_printer.c @@ -7,16 +7,6 @@ #include "rv64_printer.h" #include "debug.h" -extern int rv64_xtheadba; -extern int rv64_xtheadbb; -extern int rv64_xtheadbs; -extern int rv64_xtheadcondmov; -extern int rv64_xtheadmemidx; -extern int rv64_xtheadmempair; -extern int rv64_xtheadfmemidx; -extern int rv64_xtheadmac; -extern int rv64_xtheadfmv; - static const char gpr[32][9] = { "zero", "ra", @@ -189,7 +179,7 @@ const char* rv64_print(uint32_t opcode, uintptr_t addr) static char buff[200]; rv64_print_t a; - if (rv64_xtheadba || rv64_xtheadbb || rv64_xtheadbs || rv64_xtheadcondmov || rv64_xtheadmempair) { + if (cpuext.xtheadba || cpuext.xtheadbb || cpuext.xtheadbs || cpuext.xtheadcondmov || cpuext.xtheadmempair) { /**************** * Generated by https://github.com/ksco/riscv-opcodes/tree/box64_printer @@ -693,7 +683,7 @@ const char* rv64_print(uint32_t opcode, uintptr_t addr) } } - if (rv64_xtheadvector) { + if (cpuext.xtheadvector) { /* These are written by hand.... */ // rv_v, VSETVLI |