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 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2485 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); | 2485 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); |
2486 } | 2486 } |
2487 | 2487 |
2488 | 2488 |
2489 void Assembler::mov_s(FPURegister fd, FPURegister fs) { | 2489 void Assembler::mov_s(FPURegister fd, FPURegister fs) { |
2490 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S); | 2490 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S); |
2491 } | 2491 } |
2492 | 2492 |
2493 | 2493 |
2494 void Assembler::neg_s(FPURegister fd, FPURegister fs) { | 2494 void Assembler::neg_s(FPURegister fd, FPURegister fs) { |
| 2495 DCHECK(!IsMipsArchVariant(kMips32r6)); |
2495 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S); | 2496 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S); |
2496 } | 2497 } |
2497 | 2498 |
2498 | 2499 |
2499 void Assembler::neg_d(FPURegister fd, FPURegister fs) { | 2500 void Assembler::neg_d(FPURegister fd, FPURegister fs) { |
| 2501 DCHECK(!IsMipsArchVariant(kMips32r6)); |
2500 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); | 2502 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); |
2501 } | 2503 } |
2502 | 2504 |
2503 | 2505 |
2504 void Assembler::sqrt_s(FPURegister fd, FPURegister fs) { | 2506 void Assembler::sqrt_s(FPURegister fd, FPURegister fs) { |
2505 GenInstrRegister(COP1, S, f0, fs, fd, SQRT_S); | 2507 GenInstrRegister(COP1, S, f0, fs, fd, SQRT_S); |
2506 } | 2508 } |
2507 | 2509 |
2508 | 2510 |
2509 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) { | 2511 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) { |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3192 | 3194 |
3193 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3195 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3194 Assembler::FlushICache(isolate, pc, 2 * sizeof(int32_t)); | 3196 Assembler::FlushICache(isolate, pc, 2 * sizeof(int32_t)); |
3195 } | 3197 } |
3196 } | 3198 } |
3197 | 3199 |
3198 } // namespace internal | 3200 } // namespace internal |
3199 } // namespace v8 | 3201 } // namespace v8 |
3200 | 3202 |
3201 #endif // V8_TARGET_ARCH_MIPS | 3203 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |