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 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 DEFINE_INSTRUCTION2(Neg); | 620 DEFINE_INSTRUCTION2(Neg); |
621 | 621 |
622 DEFINE_INSTRUCTION(Slt); | 622 DEFINE_INSTRUCTION(Slt); |
623 DEFINE_INSTRUCTION(Sltu); | 623 DEFINE_INSTRUCTION(Sltu); |
624 | 624 |
625 // MIPS32 R2 instruction macro. | 625 // MIPS32 R2 instruction macro. |
626 DEFINE_INSTRUCTION(Ror); | 626 DEFINE_INSTRUCTION(Ror); |
627 | 627 |
628 #undef DEFINE_INSTRUCTION | 628 #undef DEFINE_INSTRUCTION |
629 #undef DEFINE_INSTRUCTION2 | 629 #undef DEFINE_INSTRUCTION2 |
| 630 #undef DEFINE_INSTRUCTION3 |
630 | 631 |
| 632 void Lsa(Register rd, Register rs, Register rt, uint8_t sa, |
| 633 Register scratch = at); |
631 void Pref(int32_t hint, const MemOperand& rs); | 634 void Pref(int32_t hint, const MemOperand& rs); |
632 | 635 |
633 | 636 |
634 // --------------------------------------------------------------------------- | 637 // --------------------------------------------------------------------------- |
635 // Pseudo-instructions. | 638 // Pseudo-instructions. |
636 | 639 |
637 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } | 640 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } |
638 | 641 |
639 void Ulw(Register rd, const MemOperand& rs); | 642 void Ulw(Register rd, const MemOperand& rs); |
640 void Usw(Register rd, const MemOperand& rs); | 643 void Usw(Register rd, const MemOperand& rs); |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1751 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1749 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1752 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1750 #else | 1753 #else |
1751 #define ACCESS_MASM(masm) masm-> | 1754 #define ACCESS_MASM(masm) masm-> |
1752 #endif | 1755 #endif |
1753 | 1756 |
1754 } // namespace internal | 1757 } // namespace internal |
1755 } // namespace v8 | 1758 } // namespace v8 |
1756 | 1759 |
1757 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1760 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |