| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index 8e920172d73238db39db79512495f7d72e3c6634..b62c2738ed61a728ca8d2a9f340651e8d3e43f5e 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -119,6 +119,22 @@ public:
|
| };
|
| #endif
|
|
|
| +#if (defined CAN_USE_VFP3_INSTRUCTIONS) || !(defined ARM_TEST)
|
| +# define ENABLE_VFP3_DEFAULT true
|
| +#else
|
| +# define ENABLE_VFP3_DEFAULT false
|
| +#endif
|
| +#if (defined CAN_USE_ARMV7_INSTRUCTIONS) || !(defined ARM_TEST)
|
| +# define ENABLE_ARMV7_DEFAULT true
|
| +#else
|
| +# define ENABLE_ARMV7_DEFAULT false
|
| +#endif
|
| +#if (defined CAN_USE_VFP32DREGS) || !(defined ARM_TEST)
|
| +# define ENABLE_32DREGS_DEFAULT true
|
| +#else
|
| +# define ENABLE_32DREGS_DEFAULT false
|
| +#endif
|
| +
|
| #define DEFINE_bool(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt)
|
| #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt)
|
| #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt)
|
| @@ -308,9 +324,9 @@ DEFINE_bool(enable_rdtsc, true,
|
| "enable use of RDTSC instruction if available")
|
| DEFINE_bool(enable_sahf, true,
|
| "enable use of SAHF instruction if available (X64 only)")
|
| -DEFINE_bool(enable_vfp3, true,
|
| +DEFINE_bool(enable_vfp3, ENABLE_VFP3_DEFAULT,
|
| "enable use of VFP3 instructions if available")
|
| -DEFINE_bool(enable_armv7, true,
|
| +DEFINE_bool(enable_armv7, ENABLE_ARMV7_DEFAULT,
|
| "enable use of ARMv7 instructions if available (ARM only)")
|
| DEFINE_bool(enable_sudiv, true,
|
| "enable use of SDIV and UDIV instructions if available (ARM only)")
|
| @@ -319,7 +335,7 @@ DEFINE_bool(enable_movw_movt, false,
|
| "instruction pairs (ARM only)")
|
| DEFINE_bool(enable_unaligned_accesses, true,
|
| "enable unaligned accesses for ARMv7 (ARM only)")
|
| -DEFINE_bool(enable_32dregs, true,
|
| +DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT,
|
| "enable use of d16-d31 registers on ARM - this requires VFP3")
|
| DEFINE_bool(enable_fpu, true,
|
| "enable use of MIPS FPU instructions if available (MIPS only)")
|
|
|