ARM: Fix the detection of whether the binary was compiler with -mfloat-abi=hard
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 May 2011 12:52:12 +0000 (12:52 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 May 2011 12:52:12 +0000 (12:52 +0000)
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

src/platform-linux.cc

index 606e607..26de12f 100644 (file)
@@ -205,7 +205,7 @@ static void ArmUsingHardFloatHelper() {
   asm("mov r2, #255");
   asm("lsl r1, r1, #8");
   asm("orr r1, r1, r2");
-  asm("lsl r1, r1, #16");
+  asm("lsl r1, r1, #20");
   // For vmov d0, r0, r1 use ARM mode.
 #ifdef __thumb__
   asm volatile(