Hi
The following code fragment in platform-linux.cc looks suspicious to
me:
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;
#elif CAN_USE_ARMV7_INSTRUCTIONS <--- here
return 1u << ARMv7;
#else
return 0; // Linux runs on anything.
#endif
}
I don't think those two are mutually exclusive.
--
Boris
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev