OLD | NEW |
1 | 1 |
2 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 2 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
3 // All Rights Reserved. | 3 // All Rights Reserved. |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // - Redistributions of source code must retain the above copyright notice, | 9 // - Redistributions of source code must retain the above copyright notice, |
10 // this list of conditions and the following disclaimer. | 10 // this list of conditions and the following disclaimer. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "src/assembler.h" | 42 #include "src/assembler.h" |
43 #include "src/debug/debug.h" | 43 #include "src/debug/debug.h" |
44 | 44 |
45 | 45 |
46 namespace v8 { | 46 namespace v8 { |
47 namespace internal { | 47 namespace internal { |
48 | 48 |
49 | 49 |
50 bool CpuFeatures::SupportsCrankshaft() { return IsSupported(FPU); } | 50 bool CpuFeatures::SupportsCrankshaft() { return IsSupported(FPU); } |
51 | 51 |
| 52 bool CpuFeatures::SupportsSimd128() { return false; } |
52 | 53 |
53 // ----------------------------------------------------------------------------- | 54 // ----------------------------------------------------------------------------- |
54 // Operand and MemOperand. | 55 // Operand and MemOperand. |
55 | 56 |
56 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { | 57 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { |
57 rm_ = no_reg; | 58 rm_ = no_reg; |
58 imm64_ = immediate; | 59 imm64_ = immediate; |
59 rmode_ = rmode; | 60 rmode_ = rmode; |
60 } | 61 } |
61 | 62 |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 void Assembler::emit(uint64_t data) { | 477 void Assembler::emit(uint64_t data) { |
477 CheckForEmitInForbiddenSlot(); | 478 CheckForEmitInForbiddenSlot(); |
478 EmitHelper(data); | 479 EmitHelper(data); |
479 } | 480 } |
480 | 481 |
481 | 482 |
482 } // namespace internal | 483 } // namespace internal |
483 } // namespace v8 | 484 } // namespace v8 |
484 | 485 |
485 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 486 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
OLD | NEW |