On Sat, 10 Dec 2011, Richard Henderson wrote: > +/* Begin by defaulting to whatever options were given to the compiler. */ > +int GTM_hwcap HIDDEN = 0 > +#ifdef __VFP_FP__ > + | HWCAP_ARM_VFP > +#endif > +#ifdef __IWMMXT__ > + | HWCAP_ARM_IWMMXT > +#endif > + ;
It doesn't matter much since this value should be overridden at runtime from /proc/self/auxv, but I think the relevant VFP test is defined (__VFP_FP__) && !defined (__SOFTFP__), since __VFP_FP__ just tests the floating-point format and not whether VFP instructions are enabled. -- Joseph S. Myers jos...@codesourcery.com