[INFER] Maybe fix ARM build.
authorBrian Hackett <bhackett1024@gmail.com>
Sun, 21 Aug 2011 20:31:10 -0700
changeset 77454 8fe193e034cb542f1edf2de21e673432325449e1
parent 77453 c685e6d1774517f396fe5b35646bddbf7f5815a9
child 77455 ffd0982472fa6bdaf7fb7ca4c291258acf935baf
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
[INFER] Maybe fix ARM build.
js/src/assembler/assembler/ARMAssembler.cpp
--- a/js/src/assembler/assembler/ARMAssembler.cpp
+++ b/js/src/assembler/assembler/ARMAssembler.cpp
@@ -502,22 +502,16 @@ void ARMAssembler::doubleTransfer(bool i
             return;
         }
         if (offset >= -0x3ffff) {
             sub_r(ARMRegisters::S0, base, OP2_IMM | (-offset >> 10) | getOp2RotLSL(10));
             fmem_imm_off(isLoad, true, false, srcDst, ARMRegisters::S0, (-offset >> 2) & 0xff);
             return;
         }
     }
-    if (offset <= 0x3ffff && offset >= 0) {
-        add_r(ARMRegisters::S0, base, OP2_IMM | (offset >> 10) | (11 << 8));
-        fdtr_u(isLoad, srcDst, ARMRegisters::S0, (offset >> 2) & 0xff);
-        return;
-    }
-    offset = -offset;
 
     // Slow case for long-range accesses.
     ldr_un_imm(ARMRegisters::S0, offset);
     add_r(ARMRegisters::S0, ARMRegisters::S0, base);
     fmem_imm_off(isLoad, true, true, srcDst, ARMRegisters::S0, 0);
 }
 
 void ARMAssembler::doubleTransfer(bool isLoad, FPRegisterID srcDst, RegisterID base, int32_t offset, RegisterID index, int32_t scale)