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 2800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2811 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); | 2811 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); |
2812 } | 2812 } |
2813 | 2813 |
2814 | 2814 |
2815 void Assembler::mov_s(FPURegister fd, FPURegister fs) { | 2815 void Assembler::mov_s(FPURegister fd, FPURegister fs) { |
2816 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S); | 2816 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S); |
2817 } | 2817 } |
2818 | 2818 |
2819 | 2819 |
2820 void Assembler::neg_s(FPURegister fd, FPURegister fs) { | 2820 void Assembler::neg_s(FPURegister fd, FPURegister fs) { |
| 2821 DCHECK(kArchVariant == kMips64r2); |
2821 GenInstrRegister(COP1, S, f0, fs, fd, NEG_D); | 2822 GenInstrRegister(COP1, S, f0, fs, fd, NEG_D); |
2822 } | 2823 } |
2823 | 2824 |
2824 | 2825 |
2825 void Assembler::neg_d(FPURegister fd, FPURegister fs) { | 2826 void Assembler::neg_d(FPURegister fd, FPURegister fs) { |
| 2827 DCHECK(kArchVariant == kMips64r2); |
2826 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); | 2828 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); |
2827 } | 2829 } |
2828 | 2830 |
2829 | 2831 |
2830 void Assembler::sqrt_s(FPURegister fd, FPURegister fs) { | 2832 void Assembler::sqrt_s(FPURegister fd, FPURegister fs) { |
2831 GenInstrRegister(COP1, S, f0, fs, fd, SQRT_D); | 2833 GenInstrRegister(COP1, S, f0, fs, fd, SQRT_D); |
2832 } | 2834 } |
2833 | 2835 |
2834 | 2836 |
2835 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) { | 2837 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) { |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3445 | 3447 |
3446 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3448 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3447 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); | 3449 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); |
3448 } | 3450 } |
3449 } | 3451 } |
3450 | 3452 |
3451 } // namespace internal | 3453 } // namespace internal |
3452 } // namespace v8 | 3454 } // namespace v8 |
3453 | 3455 |
3454 #endif // V8_TARGET_ARCH_MIPS64 | 3456 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |