| 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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 833 |
| 834 // MIPS32 R6 instruction macros. |
| 835 void Bovc(Register rt, Register rs, Label* L); |
| 836 void Bnvc(Register rt, Register rs, Label* L); |
| 837 |
| 834 // Int64Lowering instructions | 838 // Int64Lowering instructions |
| 835 void AddPair(Register dst_low, Register dst_high, Register left_low, | 839 void AddPair(Register dst_low, Register dst_high, Register left_low, |
| 836 Register left_high, Register right_low, Register right_high); | 840 Register left_high, Register right_low, Register right_high); |
| 837 | 841 |
| 838 void SubPair(Register dst_low, Register dst_high, Register left_low, | 842 void SubPair(Register dst_low, Register dst_high, Register left_low, |
| 839 Register left_high, Register right_low, Register right_high); | 843 Register left_high, Register right_low, Register right_high); |
| 840 | 844 |
| 841 void ShlPair(Register dst_low, Register dst_high, Register src_low, | 845 void ShlPair(Register dst_low, Register dst_high, Register src_low, |
| 842 Register src_high, Register shift); | 846 Register src_high, Register shift); |
| 843 | 847 |
| (...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1909 dd(GetLabelFunction(index)); | 1913 dd(GetLabelFunction(index)); |
| 1910 } | 1914 } |
| 1911 } | 1915 } |
| 1912 | 1916 |
| 1913 #define ACCESS_MASM(masm) masm-> | 1917 #define ACCESS_MASM(masm) masm-> |
| 1914 | 1918 |
| 1915 } // namespace internal | 1919 } // namespace internal |
| 1916 } // namespace v8 | 1920 } // namespace v8 |
| 1917 | 1921 |
| 1918 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1922 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |