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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 // Store value in register src in the safepoint stack slot for | 823 // Store value in register src in the safepoint stack slot for |
824 // register dst. | 824 // register dst. |
825 void StoreToSafepointRegisterSlot(Register src, Register dst); | 825 void StoreToSafepointRegisterSlot(Register src, Register dst); |
826 // Load the value of the src register from its safepoint stack slot | 826 // Load the value of the src register from its safepoint stack slot |
827 // into register dst. | 827 // into register dst. |
828 void LoadFromSafepointRegisterSlot(Register dst, Register src); | 828 void LoadFromSafepointRegisterSlot(Register dst, Register src); |
829 | 829 |
830 // MIPS32 R2 instruction macro. | 830 // MIPS32 R2 instruction macro. |
831 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); | 831 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); |
832 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); | 832 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 833 void Neg_s(FPURegister fd, FPURegister fs); |
| 834 void Neg_d(FPURegister fd, FPURegister fs); |
833 | 835 |
834 // MIPS32 R6 instruction macros. | 836 // MIPS32 R6 instruction macros. |
835 void Bovc(Register rt, Register rs, Label* L); | 837 void Bovc(Register rt, Register rs, Label* L); |
836 void Bnvc(Register rt, Register rs, Label* L); | 838 void Bnvc(Register rt, Register rs, Label* L); |
837 | 839 |
838 // Int64Lowering instructions | 840 // Int64Lowering instructions |
839 void AddPair(Register dst_low, Register dst_high, Register left_low, | 841 void AddPair(Register dst_low, Register dst_high, Register left_low, |
840 Register left_high, Register right_low, Register right_high); | 842 Register left_high, Register right_low, Register right_high); |
841 | 843 |
842 void SubPair(Register dst_low, Register dst_high, Register left_low, | 844 void SubPair(Register dst_low, Register dst_high, Register left_low, |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1913 dd(GetLabelFunction(index)); | 1915 dd(GetLabelFunction(index)); |
1914 } | 1916 } |
1915 } | 1917 } |
1916 | 1918 |
1917 #define ACCESS_MASM(masm) masm-> | 1919 #define ACCESS_MASM(masm) masm-> |
1918 | 1920 |
1919 } // namespace internal | 1921 } // namespace internal |
1920 } // namespace v8 | 1922 } // namespace v8 |
1921 | 1923 |
1922 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1924 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |