| 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 void StoreToSafepointRegisterSlot(Register src, Register dst); | 789 void StoreToSafepointRegisterSlot(Register src, Register dst); |
| 790 // Load the value of the src register from its safepoint stack slot | 790 // Load the value of the src register from its safepoint stack slot |
| 791 // into register dst. | 791 // into register dst. |
| 792 void LoadFromSafepointRegisterSlot(Register dst, Register src); | 792 void LoadFromSafepointRegisterSlot(Register dst, Register src); |
| 793 | 793 |
| 794 // MIPS64 R2 instruction macro. | 794 // MIPS64 R2 instruction macro. |
| 795 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); | 795 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 796 void Dins(Register rt, Register rs, uint16_t pos, uint16_t size); | 796 void Dins(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 797 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); | 797 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 798 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size); | 798 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 799 void Dextm(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 800 void Dextu(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 799 | 801 |
| 800 // --------------------------------------------------------------------------- | 802 // --------------------------------------------------------------------------- |
| 801 // FPU macros. These do not handle special cases like NaN or +- inf. | 803 // FPU macros. These do not handle special cases like NaN or +- inf. |
| 802 | 804 |
| 803 // Convert unsigned word to double. | 805 // Convert unsigned word to double. |
| 804 void Cvt_d_uw(FPURegister fd, FPURegister fs); | 806 void Cvt_d_uw(FPURegister fd, FPURegister fs); |
| 805 void Cvt_d_uw(FPURegister fd, Register rs); | 807 void Cvt_d_uw(FPURegister fd, Register rs); |
| 806 | 808 |
| 807 // Convert unsigned long to double. | 809 // Convert unsigned long to double. |
| 808 void Cvt_d_ul(FPURegister fd, FPURegister fs); | 810 void Cvt_d_ul(FPURegister fd, FPURegister fs); |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1841 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1843 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1842 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1844 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1843 #else | 1845 #else |
| 1844 #define ACCESS_MASM(masm) masm-> | 1846 #define ACCESS_MASM(masm) masm-> |
| 1845 #endif | 1847 #endif |
| 1846 | 1848 |
| 1847 } // namespace internal | 1849 } // namespace internal |
| 1848 } // namespace v8 | 1850 } // namespace v8 |
| 1849 | 1851 |
| 1850 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1852 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |