Commit b15475ab authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

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
parent 91968ac8
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment