Bug 1258277 - OdinMonkey: MIPS: Leave ARCH_BITS for CPUID. r=huangwenjun06
authorHeiher <r@hev.cc>
Tue, 22 Mar 2016 14:04:14 +0800
changeset 289701 159ad542d6d1ca47a88b51060e058eed8ce6f4d5
parent 289700 f95a0906807236c853a16964bf1cd3945c9bab68
child 289702 983cba7a929366476ba3cb91a1455da4dc207542
push id73968
push userr@hev.cc
push dateTue, 22 Mar 2016 06:04:45 +0000
treeherdermozilla-inbound@983cba7a9293 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershuangwenjun06
bugs1258277
milestone48.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 1258277 - OdinMonkey: MIPS: Leave ARCH_BITS for CPUID. r=huangwenjun06 --- js/src/jit/mips-shared/Architecture-mips-shared.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
js/src/jit/mips-shared/Architecture-mips-shared.cpp
--- a/js/src/jit/mips-shared/Architecture-mips-shared.cpp
+++ b/js/src/jit/mips-shared/Architecture-mips-shared.cpp
@@ -6,18 +6,18 @@
 
 #include "jit/mips-shared/Architecture-mips-shared.h"
 
 #include <fcntl.h>
 #include <unistd.h>
 
 #include "jit/RegisterSets.h"
 
-#define HWCAP_MIPS (1 << 31)
-#define HWCAP_LOONGSON (1 << 30)
+#define HWCAP_MIPS (1 << 28)
+#define HWCAP_LOONGSON (1 << 27)
 #define HWCAP_FPU (1 << 0)
 
 namespace js {
 namespace jit {
 
 uint32_t GetMIPSFlags()
 {
     static uint32_t flags = 0;