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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 | 664 |
665 void Ulw(Register rd, const MemOperand& rs); | 665 void Ulw(Register rd, const MemOperand& rs); |
666 void Usw(Register rd, const MemOperand& rs); | 666 void Usw(Register rd, const MemOperand& rs); |
667 | 667 |
668 void Ulwc1(FPURegister fd, const MemOperand& rs, Register scratch); | 668 void Ulwc1(FPURegister fd, const MemOperand& rs, Register scratch); |
669 void Uswc1(FPURegister fd, const MemOperand& rs, Register scratch); | 669 void Uswc1(FPURegister fd, const MemOperand& rs, Register scratch); |
670 | 670 |
671 void Uldc1(FPURegister fd, const MemOperand& rs, Register scratch); | 671 void Uldc1(FPURegister fd, const MemOperand& rs, Register scratch); |
672 void Usdc1(FPURegister fd, const MemOperand& rs, Register scratch); | 672 void Usdc1(FPURegister fd, const MemOperand& rs, Register scratch); |
673 | 673 |
| 674 void Ldc1(FPURegister fd, const MemOperand& src); |
| 675 void Sdc1(FPURegister fs, const MemOperand& dst); |
| 676 |
674 // Load int32 in the rd register. | 677 // Load int32 in the rd register. |
675 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE); | 678 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE); |
676 inline void li(Register rd, int32_t j, LiFlags mode = OPTIMIZE_SIZE) { | 679 inline void li(Register rd, int32_t j, LiFlags mode = OPTIMIZE_SIZE) { |
677 li(rd, Operand(j), mode); | 680 li(rd, Operand(j), mode); |
678 } | 681 } |
679 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); | 682 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); |
680 | 683 |
681 // Push multiple registers on the stack. | 684 // Push multiple registers on the stack. |
682 // Registers are saved in numerical order, with higher numbered registers | 685 // Registers are saved in numerical order, with higher numbered registers |
683 // saved in higher memory addresses. | 686 // saved in higher memory addresses. |
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1816 dd(GetLabelFunction(index)); | 1819 dd(GetLabelFunction(index)); |
1817 } | 1820 } |
1818 } | 1821 } |
1819 | 1822 |
1820 #define ACCESS_MASM(masm) masm-> | 1823 #define ACCESS_MASM(masm) masm-> |
1821 | 1824 |
1822 } // namespace internal | 1825 } // namespace internal |
1823 } // namespace v8 | 1826 } // namespace v8 |
1824 | 1827 |
1825 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1828 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |