| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 2188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2199 void Assembler::ceil_w_s(FPURegister fd, FPURegister fs) { | 2199 void Assembler::ceil_w_s(FPURegister fd, FPURegister fs) { |
| 2200 GenInstrRegister(COP1, S, f0, fs, fd, CEIL_W_S); | 2200 GenInstrRegister(COP1, S, f0, fs, fd, CEIL_W_S); |
| 2201 } | 2201 } |
| 2202 | 2202 |
| 2203 | 2203 |
| 2204 void Assembler::ceil_w_d(FPURegister fd, FPURegister fs) { | 2204 void Assembler::ceil_w_d(FPURegister fd, FPURegister fs) { |
| 2205 GenInstrRegister(COP1, D, f0, fs, fd, CEIL_W_D); | 2205 GenInstrRegister(COP1, D, f0, fs, fd, CEIL_W_D); |
| 2206 } | 2206 } |
| 2207 | 2207 |
| 2208 | 2208 |
| 2209 void Assembler::rint_s(FPURegister fd, FPURegister fs) { rint(S, fd, fs); } |
| 2210 |
| 2211 |
| 2212 void Assembler::rint(SecondaryField fmt, FPURegister fd, FPURegister fs) { |
| 2213 DCHECK(IsMipsArchVariant(kMips32r6)); |
| 2214 GenInstrRegister(COP1, fmt, f0, fs, fd, RINT); |
| 2215 } |
| 2216 |
| 2217 |
| 2218 void Assembler::rint_d(FPURegister fd, FPURegister fs) { rint(D, fd, fs); } |
| 2219 |
| 2220 |
| 2209 void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) { | 2221 void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) { |
| 2210 DCHECK(IsMipsArchVariant(kMips32r2)); | 2222 DCHECK(IsMipsArchVariant(kMips32r2)); |
| 2211 GenInstrRegister(COP1, S, f0, fs, fd, CVT_L_S); | 2223 GenInstrRegister(COP1, S, f0, fs, fd, CVT_L_S); |
| 2212 } | 2224 } |
| 2213 | 2225 |
| 2214 | 2226 |
| 2215 void Assembler::cvt_l_d(FPURegister fd, FPURegister fs) { | 2227 void Assembler::cvt_l_d(FPURegister fd, FPURegister fs) { |
| 2216 DCHECK(IsMipsArchVariant(kMips32r2)); | 2228 DCHECK(IsMipsArchVariant(kMips32r2)); |
| 2217 GenInstrRegister(COP1, D, f0, fs, fd, CVT_L_D); | 2229 GenInstrRegister(COP1, D, f0, fs, fd, CVT_L_D); |
| 2218 } | 2230 } |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2791 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2803 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2792 // No out-of-line constant pool support. | 2804 // No out-of-line constant pool support. |
| 2793 DCHECK(!FLAG_enable_ool_constant_pool); | 2805 DCHECK(!FLAG_enable_ool_constant_pool); |
| 2794 return; | 2806 return; |
| 2795 } | 2807 } |
| 2796 | 2808 |
| 2797 | 2809 |
| 2798 } } // namespace v8::internal | 2810 } } // namespace v8::internal |
| 2799 | 2811 |
| 2800 #endif // V8_TARGET_ARCH_MIPS | 2812 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |