OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <limits.h> // For LONG_MIN, LONG_MAX. | 5 #include <limits.h> // For LONG_MIN, LONG_MAX. |
6 | 6 |
7 #include "v8.h" | 7 #include "v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 case ne: | 1187 case ne: |
1188 c(EQ, D, cmp1, cmp2); | 1188 c(EQ, D, cmp1, cmp2); |
1189 bc1f(target); | 1189 bc1f(target); |
1190 break; | 1190 break; |
1191 case nue: | 1191 case nue: |
1192 c(UEQ, D, cmp1, cmp2); | 1192 c(UEQ, D, cmp1, cmp2); |
1193 bc1f(target); | 1193 bc1f(target); |
1194 break; | 1194 break; |
1195 default: | 1195 default: |
1196 CHECK(0); | 1196 CHECK(0); |
1197 }; | 1197 } |
1198 } | 1198 } |
1199 | 1199 |
1200 if (bd == PROTECT) { | 1200 if (bd == PROTECT) { |
1201 nop(); | 1201 nop(); |
1202 } | 1202 } |
1203 } | 1203 } |
1204 | 1204 |
1205 | 1205 |
1206 void MacroAssembler::Move(FPURegister dst, double imm) { | 1206 void MacroAssembler::Move(FPURegister dst, double imm) { |
1207 static const DoubleRepresentation minus_zero(-0.0); | 1207 static const DoubleRepresentation minus_zero(-0.0); |
(...skipping 4532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5740 } | 5740 } |
5741 if (ms.shift() > 0) sra(result, result, ms.shift()); | 5741 if (ms.shift() > 0) sra(result, result, ms.shift()); |
5742 srl(at, dividend, 31); | 5742 srl(at, dividend, 31); |
5743 Addu(result, result, Operand(at)); | 5743 Addu(result, result, Operand(at)); |
5744 } | 5744 } |
5745 | 5745 |
5746 | 5746 |
5747 } } // namespace v8::internal | 5747 } } // namespace v8::internal |
5748 | 5748 |
5749 #endif // V8_TARGET_ARCH_MIPS | 5749 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |