Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_call_mips_n64.h @ 305:b104c5beec8b
- softfloat support for mips64/n64 abi
author | Tassilo Philipp |
---|---|
date | Wed, 23 May 2018 11:41:34 +0200 |
parents | f5577f6bf97a |
children |
comparison
equal
deleted
inserted
replaced
304:6869d834a847 | 305:b104c5beec8b |
---|---|
51 */ | 51 */ |
52 | 52 |
53 struct DCRegData_mips_n64 | 53 struct DCRegData_mips_n64 |
54 { | 54 { |
55 DClonglong mIntData[8]; | 55 DClonglong mIntData[8]; |
56 #if defined(DC__ABI_HARDFLOAT) | |
56 union { DCfloat f; DCdouble d; } mFloatData[8]; | 57 union { DCfloat f; DCdouble d; } mFloatData[8]; |
57 DClonglong mUseDouble; /* bitmask: lower 8 bits specify to use float or double from union array. */ | 58 DClonglong mUseDouble; /* bitmask: lower 8 bits specify to use float or double from union array. */ |
59 #endif /* DC__ABI_HARDFLOAT */ | |
58 }; | 60 }; |
59 | 61 |
60 void dcCall_mips_n64(DCpointer target, struct DCRegData_mips_n64* regdata, DCsize stksize, DCpointer stkdata); | 62 void dcCall_mips_n64(DCpointer target, struct DCRegData_mips_n64* regdata, DCsize stksize, DCpointer stkdata); |
61 | 63 |
62 #ifdef __cplusplus | 64 #ifdef __cplusplus |