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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
648 | 648 |
649 DEFINE_INSTRUCTION(Slt); | 649 DEFINE_INSTRUCTION(Slt); |
650 DEFINE_INSTRUCTION(Sltu); | 650 DEFINE_INSTRUCTION(Sltu); |
651 | 651 |
652 // MIPS32 R2 instruction macro. | 652 // MIPS32 R2 instruction macro. |
653 DEFINE_INSTRUCTION(Ror); | 653 DEFINE_INSTRUCTION(Ror); |
654 DEFINE_INSTRUCTION(Dror); | 654 DEFINE_INSTRUCTION(Dror); |
655 | 655 |
656 #undef DEFINE_INSTRUCTION | 656 #undef DEFINE_INSTRUCTION |
657 #undef DEFINE_INSTRUCTION2 | 657 #undef DEFINE_INSTRUCTION2 |
| 658 #undef DEFINE_INSTRUCTION3 |
| 659 |
| 660 void Lsa(Register rd, Register rs, Register rt, uint8_t sa, |
| 661 Register scratch = at); |
| 662 void Dlsa(Register rd, Register rs, Register rt, uint8_t sa, |
| 663 Register scratch = at); |
658 | 664 |
659 void Pref(int32_t hint, const MemOperand& rs); | 665 void Pref(int32_t hint, const MemOperand& rs); |
660 | 666 |
661 | 667 |
662 // --------------------------------------------------------------------------- | 668 // --------------------------------------------------------------------------- |
663 // Pseudo-instructions. | 669 // Pseudo-instructions. |
664 | 670 |
665 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } | 671 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } |
666 | 672 |
667 void Ulw(Register rd, const MemOperand& rs); | 673 void Ulw(Register rd, const MemOperand& rs); |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1877 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1883 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1878 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1884 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1879 #else | 1885 #else |
1880 #define ACCESS_MASM(masm) masm-> | 1886 #define ACCESS_MASM(masm) masm-> |
1881 #endif | 1887 #endif |
1882 | 1888 |
1883 } // namespace internal | 1889 } // namespace internal |
1884 } // namespace v8 | 1890 } // namespace v8 |
1885 | 1891 |
1886 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1892 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |