Comment #6 on issue 2140 by [email protected]: Fix hardfloat detection in Linux
http://code.google.com/p/v8/issues/detail?id=2140

After more investigation it seems there is a misunderstanding on the issue.

This preprocessor test is not supposed to test for hard abi, but indeed to test if VFP is enabled. As explained by the comment the return value is used to determine the abi used.

New versions of GCC define either
__ARM_PCS
or
__ARM_PCS_VFP
to indicate the the PCS used.

We could update ArmUsingHardFloat() to use these when available as well as __VFP_FP__ to statically return true or false, and use the helper otherwise.

I am also wondering about the lack of d0 in the clobber list.

I'll investigate further.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to