diff options
author | Mike Pall <mike> | 2017-03-30 11:17:15 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-03-30 11:30:01 +0200 |
commit | 3143b218946395834f0bfef741061ac6ef3f5b56 (patch) | |
tree | 07721c6a94616eda13799a6027b00f3e3fc999a4 /src/lj_ccall.h | |
parent | 78f5f1cef19502289604299e4e6d00e14411f764 (diff) | |
download | luajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.gz luajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.bz2 luajit-3143b218946395834f0bfef741061ac6ef3f5b56.zip |
ARM64: Add big-endian support.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com.
Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/lj_ccall.h')
-rw-r--r-- | src/lj_ccall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_ccall.h b/src/lj_ccall.h index 34e800cc..59f66481 100644 --- a/src/lj_ccall.h +++ b/src/lj_ccall.h | |||
@@ -79,8 +79,8 @@ typedef union FPRArg { | |||
79 | typedef intptr_t GPRArg; | 79 | typedef intptr_t GPRArg; |
80 | typedef union FPRArg { | 80 | typedef union FPRArg { |
81 | double d; | 81 | double d; |
82 | float f; | 82 | struct { LJ_ENDIAN_LOHI(float f; , float g;) }; |
83 | uint32_t u32; | 83 | struct { LJ_ENDIAN_LOHI(uint32_t lo; , uint32_t hi;) }; |
84 | } FPRArg; | 84 | } FPRArg; |
85 | 85 | ||
86 | #elif LJ_TARGET_PPC | 86 | #elif LJ_TARGET_PPC |