ARM: Fix the detection of whether the binary was compiler with -mfloat-abi=hard
The constant 1.0 should be 0x3FF0000000000000 not 0x03FF000000000000. R=karlklose@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org//6930064 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
91968ac8a6
commit
b15475abbc
@ -205,7 +205,7 @@ static void ArmUsingHardFloatHelper() {
|
|||||||
asm("mov r2, #255");
|
asm("mov r2, #255");
|
||||||
asm("lsl r1, r1, #8");
|
asm("lsl r1, r1, #8");
|
||||||
asm("orr r1, r1, r2");
|
asm("orr r1, r1, r2");
|
||||||
asm("lsl r1, r1, #16");
|
asm("lsl r1, r1, #20");
|
||||||
// For vmov d0, r0, r1 use ARM mode.
|
// For vmov d0, r0, r1 use ARM mode.
|
||||||
#ifdef __thumb__
|
#ifdef __thumb__
|
||||||
asm volatile(
|
asm volatile(
|
||||||
|
Loading…
Reference in New Issue
Block a user