about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-06-23 20:20:58 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-06-23 20:20:58 +0200
commit1f0165f895f577693f4e42eefd4ac8fe3f6ce22f (patch)
tree98841d9a9828f2782ba5d4ab30920a290b018870 /src
parentb1ae5dc2b6335057305eb62b861c2eff166b8e0a (diff)
downloadbox64-1f0165f895f577693f4e42eefd4ac8fe3f6ce22f.tar.gz
box64-1f0165f895f577693f4e42eefd4ac8fe3f6ce22f.zip
[ARM64_DYNAREC] Fixed printer for MOVI_64
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/arm64/arm64_printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/arm64/arm64_printer.c b/src/dynarec/arm64/arm64_printer.c
index 411cf4f2..ff5b8a2c 100644
--- a/src/dynarec/arm64/arm64_printer.c
+++ b/src/dynarec/arm64/arm64_printer.c
@@ -1037,9 +1037,9 @@ const char* arm64_print(uint32_t opcode, uintptr_t addr)
                 tmp64u |= 0xffLL<<(i*8);

 

         if(a.Q)

-            snprintf(buff, sizeof(buff), "MOVI V%d.2D, #0x%016x", Rd, tmp64u);

+            snprintf(buff, sizeof(buff), "MOVI V%d.2D, #0x%016lx", Rd, tmp64u);

         else

-            snprintf(buff, sizeof(buff), "MOVI D%d, #0x%016x", Rd, tmp64u);

+            snprintf(buff, sizeof(buff), "MOVI D%d, #0x%016lx", Rd, tmp64u);

         return buff;

     }