| 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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 | 811 |
| 812 // MIPS64 R2 instruction macro. | 812 // MIPS64 R2 instruction macro. |
| 813 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); | 813 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 814 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); | 814 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 815 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size); | 815 void Dext(Register rt, Register rs, uint16_t pos, uint16_t size); |
| 816 | 816 |
| 817 // --------------------------------------------------------------------------- | 817 // --------------------------------------------------------------------------- |
| 818 // FPU macros. These do not handle special cases like NaN or +- inf. | 818 // FPU macros. These do not handle special cases like NaN or +- inf. |
| 819 | 819 |
| 820 // Convert unsigned word to double. | 820 // Convert unsigned word to double. |
| 821 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch); | 821 void Cvt_d_uw(FPURegister fd, FPURegister fs); |
| 822 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch); | 822 void Cvt_d_uw(FPURegister fd, Register rs); |
| 823 | 823 |
| 824 // Convert unsigned long to double. | 824 // Convert unsigned long to double. |
| 825 void Cvt_d_ul(FPURegister fd, FPURegister fs); | 825 void Cvt_d_ul(FPURegister fd, FPURegister fs); |
| 826 void Cvt_d_ul(FPURegister fd, Register rs); | 826 void Cvt_d_ul(FPURegister fd, Register rs); |
| 827 | 827 |
| 828 // Convert double to unsigned long. | 828 // Convert double to unsigned long. |
| 829 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); | 829 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); |
| 830 | 830 |
| 831 void Trunc_l_d(FPURegister fd, FPURegister fs); | 831 void Trunc_l_d(FPURegister fd, FPURegister fs); |
| 832 void Round_l_d(FPURegister fd, FPURegister fs); | 832 void Round_l_d(FPURegister fd, FPURegister fs); |
| (...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1845 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1845 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1846 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1846 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1847 #else | 1847 #else |
| 1848 #define ACCESS_MASM(masm) masm-> | 1848 #define ACCESS_MASM(masm) masm-> |
| 1849 #endif | 1849 #endif |
| 1850 | 1850 |
| 1851 } // namespace internal | 1851 } // namespace internal |
| 1852 } // namespace v8 | 1852 } // namespace v8 |
| 1853 | 1853 |
| 1854 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1854 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |