diff options
Diffstat (limited to 'vm/mterp/c/header.cpp')
-rw-r--r-- | vm/mterp/c/header.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/mterp/c/header.cpp b/vm/mterp/c/header.cpp index c7e727ebe..278718824 100644 --- a/vm/mterp/c/header.cpp +++ b/vm/mterp/c/header.cpp @@ -61,6 +61,14 @@ #if defined(__ARM_EABI__) # define NO_UNALIGN_64__UNION #endif +/* + * MIPS ABI requires 64-bit alignment for access to 64-bit data types. + * + * Use memcpy() to do the transfer + */ +#if defined(__mips__) +/* # define NO_UNALIGN_64__UNION */ +#endif //#define LOG_INSTR /* verbose debugging */ |