diff options
author | YunQiang Su <syq@debian.org> | 2022-03-31 20:44:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 08:44:49 -0400 |
commit | e67697c370e8875f28b2bf62fac25edad7558eca (patch) | |
tree | e351392fdd7bd9a6b0ca51a059321734fd46500c /src/mips/ffitarget.h | |
parent | e3cf8b806c3ca919f95b9d33d6037869a059c035 (diff) | |
download | libffi-e67697c370e8875f28b2bf62fac25edad7558eca.tar.gz |
MIPS: add Complex support (#698)
Diffstat (limited to 'src/mips/ffitarget.h')
-rw-r--r-- | src/mips/ffitarget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mips/ffitarget.h b/src/mips/ffitarget.h index fdd5ca9..61d04f9 100644 --- a/src/mips/ffitarget.h +++ b/src/mips/ffitarget.h @@ -80,6 +80,7 @@ # endif #endif +#define FFI_TARGET_HAS_COMPLEX_TYPE 1 #define FFI_FLAG_BITS 2 /* SGI's strange assembler requires that we multiply by 4 rather @@ -111,6 +112,11 @@ #define FFI_TYPE_STRUCT_SMALL 93 #define FFI_TYPE_STRUCT_SMALL2 109 +#define FFI_TYPE_COMPLEX_II 95 +#define FFI_TYPE_COMPLEX_FF 47 +#define FFI_TYPE_COMPLEX_DD 63 +#define FFI_TYPE_COMPLEX_LDLD 79 + /* and for n32 soft float, add 16 * 2^4 */ #define FFI_TYPE_STRUCT_D_SOFT 317 #define FFI_TYPE_STRUCT_F_SOFT 301 |