| 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 #include "src/objects-inl.h" | 44 #include "src/objects-inl.h" |
| 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::SupportsWasmSimd128() { return false; } | 52 bool CpuFeatures::SupportsWasmSimd128() { return IsSupported(MIPS_SIMD); } |
| 53 | 53 |
| 54 // ----------------------------------------------------------------------------- | 54 // ----------------------------------------------------------------------------- |
| 55 // Operand and MemOperand. | 55 // Operand and MemOperand. |
| 56 | 56 |
| 57 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { | 57 Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) { |
| 58 rm_ = no_reg; | 58 rm_ = no_reg; |
| 59 imm64_ = immediate; | 59 imm64_ = immediate; |
| 60 rmode_ = rmode; | 60 rmode_ = rmode; |
| 61 } | 61 } |
| 62 | 62 |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 void Assembler::emit(uint64_t data) { | 470 void Assembler::emit(uint64_t data) { |
| 471 CheckForEmitInForbiddenSlot(); | 471 CheckForEmitInForbiddenSlot(); |
| 472 EmitHelper(data); | 472 EmitHelper(data); |
| 473 } | 473 } |
| 474 | 474 |
| 475 | 475 |
| 476 } // namespace internal | 476 } // namespace internal |
| 477 } // namespace v8 | 477 } // namespace v8 |
| 478 | 478 |
| 479 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 479 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
| OLD | NEW |