| 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 "src/v8.h" | 7 #include "src/v8.h" |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
| 10 | 10 |
| (...skipping 6111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6122 } | 6122 } |
| 6123 if (divisor < 0 && !neg && mag.multiplier > 0) { | 6123 if (divisor < 0 && !neg && mag.multiplier > 0) { |
| 6124 Subu(result, result, Operand(dividend)); | 6124 Subu(result, result, Operand(dividend)); |
| 6125 } | 6125 } |
| 6126 if (mag.shift > 0) sra(result, result, mag.shift); | 6126 if (mag.shift > 0) sra(result, result, mag.shift); |
| 6127 srl(at, dividend, 31); | 6127 srl(at, dividend, 31); |
| 6128 Addu(result, result, Operand(at)); | 6128 Addu(result, result, Operand(at)); |
| 6129 } | 6129 } |
| 6130 | 6130 |
| 6131 | 6131 |
| 6132 } } // namespace v8::internal | 6132 } // namespace internal |
| 6133 } // namespace v8 |
| 6133 | 6134 |
| 6134 #endif // V8_TARGET_ARCH_MIPS | 6135 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |