OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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> | 5 #include <limits.h> |
6 #include <stdarg.h> | 6 #include <stdarg.h> |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "src/v8.h" | 10 #include "src/v8.h" |
11 | 11 |
12 #if V8_TARGET_ARCH_MIPS64 | 12 #if V8_TARGET_ARCH_MIPS64 |
13 | 13 |
14 #include "src/assembler.h" | 14 #include "src/assembler.h" |
15 #include "src/disasm.h" | 15 #include "src/disasm.h" |
16 #include "src/globals.h" // Need the BitCast. | 16 #include "src/globals.h" // Need the BitCast. |
17 #include "src/mips64/constants-mips64.h" | 17 #include "src/mips64/constants-mips64.h" |
18 #include "src/mips64/simulator-mips64.h" | 18 #include "src/mips64/simulator-mips64.h" |
19 | 19 #include "src/ostreams.h" |
20 | 20 |
21 // Only build the simulator if not compiling for real MIPS hardware. | 21 // Only build the simulator if not compiling for real MIPS hardware. |
22 #if defined(USE_SIMULATOR) | 22 #if defined(USE_SIMULATOR) |
23 | 23 |
24 namespace v8 { | 24 namespace v8 { |
25 namespace internal { | 25 namespace internal { |
26 | 26 |
27 // Utils functions. | 27 // Utils functions. |
28 bool HaveSameSign(int64_t a, int64_t b) { | 28 bool HaveSameSign(int64_t a, int64_t b) { |
29 return ((a ^ b) >= 0); | 29 return ((a ^ b) >= 0); |
(...skipping 3412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3442 } | 3442 } |
3443 | 3443 |
3444 | 3444 |
3445 #undef UNSUPPORTED | 3445 #undef UNSUPPORTED |
3446 | 3446 |
3447 } } // namespace v8::internal | 3447 } } // namespace v8::internal |
3448 | 3448 |
3449 #endif // USE_SIMULATOR | 3449 #endif // USE_SIMULATOR |
3450 | 3450 |
3451 #endif // V8_TARGET_ARCH_MIPS64 | 3451 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |