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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 // Store value in register src in the safepoint stack slot for | 826 // Store value in register src in the safepoint stack slot for |
827 // register dst. | 827 // register dst. |
828 void StoreToSafepointRegisterSlot(Register src, Register dst); | 828 void StoreToSafepointRegisterSlot(Register src, Register dst); |
829 // Load the value of the src register from its safepoint stack slot | 829 // Load the value of the src register from its safepoint stack slot |
830 // into register dst. | 830 // into register dst. |
831 void LoadFromSafepointRegisterSlot(Register dst, Register src); | 831 void LoadFromSafepointRegisterSlot(Register dst, Register src); |
832 | 832 |
833 // MIPS32 R2 instruction macro. | 833 // MIPS32 R2 instruction macro. |
834 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); | 834 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); |
835 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); | 835 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 836 void Seb(Register rd, Register rt); |
| 837 void Seh(Register rd, Register rt); |
836 void Neg_s(FPURegister fd, FPURegister fs); | 838 void Neg_s(FPURegister fd, FPURegister fs); |
837 void Neg_d(FPURegister fd, FPURegister fs); | 839 void Neg_d(FPURegister fd, FPURegister fs); |
838 | 840 |
839 // MIPS32 R6 instruction macros. | 841 // MIPS32 R6 instruction macros. |
840 void Bovc(Register rt, Register rs, Label* L); | 842 void Bovc(Register rt, Register rs, Label* L); |
841 void Bnvc(Register rt, Register rs, Label* L); | 843 void Bnvc(Register rt, Register rs, Label* L); |
842 | 844 |
843 // Int64Lowering instructions | 845 // Int64Lowering instructions |
844 void AddPair(Register dst_low, Register dst_high, Register left_low, | 846 void AddPair(Register dst_low, Register dst_high, Register left_low, |
845 Register left_high, Register right_low, Register right_high); | 847 Register left_high, Register right_low, Register right_high); |
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 dd(GetLabelFunction(index)); | 1907 dd(GetLabelFunction(index)); |
1906 } | 1908 } |
1907 } | 1909 } |
1908 | 1910 |
1909 #define ACCESS_MASM(masm) masm-> | 1911 #define ACCESS_MASM(masm) masm-> |
1910 | 1912 |
1911 } // namespace internal | 1913 } // namespace internal |
1912 } // namespace v8 | 1914 } // namespace v8 |
1913 | 1915 |
1914 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1916 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |