Bug 1290932: Build the ARM simulator (on x86) with -msse2 -mfpmath=sse; r=glandium
authorBenjamin Bouvier <benj@benj.me>
Mon, 12 Sep 2016 19:06:19 +0200
changeset 355529 af1ba72b88093f7dc3557c999081ff4914c46fce
parent 355528 f54e413d0eb088a343907d4c50f3f571544b1933
child 355530 613bb894d2c0fe2ad8b551ec612ae53aefe5398a
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1290932
milestone51.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
Bug 1290932: Build the ARM simulator (on x86) with -msse2 -mfpmath=sse; r=glandium MozReview-Commit-ID: CNO8qKifC2N
js/src/moz.build
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -477,16 +477,19 @@ elif CONFIG['JS_CODEGEN_ARM']:
         'jit/arm/MoveEmitter-arm.cpp',
         'jit/arm/SharedIC-arm.cpp',
         'jit/arm/Trampoline-arm.cpp',
     ]
     if CONFIG['JS_SIMULATOR_ARM']:
         UNIFIED_SOURCES += [
             'jit/arm/Simulator-arm.cpp'
         ]
+        # Configuration used only for testing.
+        if CONFIG['OS_ARCH'] == 'Linux':
+            CXXFLAGS += [ '-msse2', '-mfpmath=sse' ]
     elif CONFIG['OS_ARCH'] == 'Darwin':
         SOURCES += [
             'jit/arm/llvm-compiler-rt/arm/aeabi_idivmod.S',
             'jit/arm/llvm-compiler-rt/arm/aeabi_uidivmod.S',
         ]
 elif CONFIG['JS_CODEGEN_ARM64']:
     UNIFIED_SOURCES += [
         'jit/arm64/Architecture-arm64.cpp',