| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index 73a6ccbdf887920d6c70dcd0b2ba11c8dcb2a45f..72e5032d68e33e69ed18f2fb046d95959847479b 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -92,9 +92,10 @@ void OS::Setup() {
|
|
|
| uint64_t OS::CpuFeaturesImpliedByPlatform() {
|
| #if (defined(__VFP_FP__) && !defined(__SOFTFP__))
|
| - // Here gcc is telling us that we are on an ARM and gcc is assuming that we
|
| - // have VFP3 instructions. If gcc can assume it then so can we.
|
| - return 1u << VFP3;
|
| + // Here gcc is telling us that we are on an ARM and gcc is assuming
|
| + // that we have VFP3 instructions. If gcc can assume it then so can
|
| + // we. VFPv3 implies ARMv7, see ARM DDI 0406B, page A1-6.
|
| + return 1u << VFP3 | 1u << ARMv7;
|
| #elif CAN_USE_ARMV7_INSTRUCTIONS
|
| return 1u << ARMv7;
|
| #elif(defined(__mips_hard_float) && __mips_hard_float != 0)
|
|
|