From 63592011fee14cb3150953b63b8f87c734ef07bc Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Tue, 7 Oct 2025 15:34:20 +0200 Subject: [ARM64_DYNAREC] Use UDF for UD2 & unsupported WBINVD --- src/dynarec/arm64/dynarec_arm64_0f.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/dynarec') diff --git a/src/dynarec/arm64/dynarec_arm64_0f.c b/src/dynarec/arm64/dynarec_arm64_0f.c index f6e3cada..efbff4fc 100644 --- a/src/dynarec/arm64/dynarec_arm64_0f.c +++ b/src/dynarec/arm64/dynarec_arm64_0f.c @@ -186,9 +186,7 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin } BARRIER(BARRIER_FLOAT); GETIP(ip); - STORE_XEMU_CALL(xRIP); - CALL_S(const_native_ud, -1); - LOAD_XEMU_CALL(xRIP); + UDF(0); jump_to_epilog(dyn, 0, xRIP, ninst); *need_epilog = 0; *ok = 0; @@ -203,9 +201,7 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin } BARRIER(BARRIER_FLOAT); GETIP(ip); - STORE_XEMU_CALL(xRIP); - CALL_S(const_native_ud, -1); - LOAD_XEMU_CALL(xRIP); + UDF(0); jump_to_epilog(dyn, 0, xRIP, ninst); *need_epilog = 0; *ok = 0; -- cgit 1.4.1