| 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, FPURegister scratch); |
| 822 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch); | 822 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch); |
| 823 | 823 |
| 824 // Convert unsigned long to double. |
| 825 void Cvt_d_ul(FPURegister fd, FPURegister fs); |
| 826 void Cvt_d_ul(FPURegister fd, Register rs); |
| 827 |
| 824 // Convert double to unsigned long. | 828 // Convert double to unsigned long. |
| 825 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); | 829 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); |
| 826 | 830 |
| 827 void Trunc_l_d(FPURegister fd, FPURegister fs); | 831 void Trunc_l_d(FPURegister fd, FPURegister fs); |
| 828 void Round_l_d(FPURegister fd, FPURegister fs); | 832 void Round_l_d(FPURegister fd, FPURegister fs); |
| 829 void Floor_l_d(FPURegister fd, FPURegister fs); | 833 void Floor_l_d(FPURegister fd, FPURegister fs); |
| 830 void Ceil_l_d(FPURegister fd, FPURegister fs); | 834 void Ceil_l_d(FPURegister fd, FPURegister fs); |
| 831 | 835 |
| 832 // Convert double to unsigned word. | 836 // Convert double to unsigned word. |
| 833 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); | 837 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1841 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1845 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1842 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1846 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1843 #else | 1847 #else |
| 1844 #define ACCESS_MASM(masm) masm-> | 1848 #define ACCESS_MASM(masm) masm-> |
| 1845 #endif | 1849 #endif |
| 1846 | 1850 |
| 1847 } // namespace internal | 1851 } // namespace internal |
| 1848 } // namespace v8 | 1852 } // namespace v8 |
| 1849 | 1853 |
| 1850 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1854 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |