about summary refs log tree commit diff stats
path: root/src/dynarec/dynarec_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynarec/dynarec_arch.h')
-rw-r--r--src/dynarec/dynarec_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dynarec/dynarec_arch.h b/src/dynarec/dynarec_arch.h
index f89125a7..351d9fcd 100644
--- a/src/dynarec/dynarec_arch.h
+++ b/src/dynarec/dynarec_arch.h
@@ -17,6 +17,7 @@
 #include "arm64/dynarec_arm64_functions.h"

 // Limit here is defined by LD litteral, that is 19bits

 #define MAXBLOCK_SIZE ((1<<19)-200)

+#define ARM_FPU_RESET() arm64_fpu_reset(dyn, ninst, STEP)

 #elif defined(LA64)

 

 #define instruction_native_t        instruction_la64_t

@@ -33,6 +34,7 @@
 #include "la64/dynarec_la64_functions.h"

 // Limit here is unconditionnal jump, that is signed 28bits

 #define MAXBLOCK_SIZE ((1 << 27) - 200)

+#define ARM_FPU_RESET()

 #elif defined(RV64)

 

 #define instruction_native_t        instruction_rv64_t

@@ -49,6 +51,7 @@
 #include "rv64/dynarec_rv64_functions.h"

 // Limit here is unconditionnal jump, that is signed 21bits

 #define MAXBLOCK_SIZE ((1<<20)-200)

+#define ARM_FPU_RESET()

 #else

 #error Unsupported platform

 #endif