ARM JIT: fix test for VFP
Having `__VFP_FP__` defined does not mean that VFP instructions are available; it just means that floating-point is native-endian. According to https://wiki.debian.org/ArmEabiPort the absence of `__SOFTFP__` combined with the precense of `__VFP_FP__` can mean VFP, though.
This commit is contained in:
parent
83d3304cdc
commit
44e324db12
|
@ -130,7 +130,7 @@ typedef enum {
|
|||
# define JIT_ARM_VERSION 4
|
||||
#endif
|
||||
|
||||
#if defined(__ARM_PCS_VFP) || defined(__VFP_FP__)
|
||||
#if defined(__ARM_PCS_VFP) || (defined(__VFP_FP__) && !defined(__SOFTFP__))
|
||||
# define JIT_ARM_VFP 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user