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 2304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2315 GenInstrRegister(COP1, S, f0, fs, fd, ABS_S); | 2315 GenInstrRegister(COP1, S, f0, fs, fd, ABS_S); |
2316 } | 2316 } |
2317 | 2317 |
2318 | 2318 |
2319 void Assembler::abs_d(FPURegister fd, FPURegister fs) { | 2319 void Assembler::abs_d(FPURegister fd, FPURegister fs) { |
2320 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); | 2320 GenInstrRegister(COP1, D, f0, fs, fd, ABS_D); |
2321 } | 2321 } |
2322 | 2322 |
2323 | 2323 |
2324 void Assembler::mov_d(FPURegister fd, FPURegister fs) { | 2324 void Assembler::mov_d(FPURegister fd, FPURegister fs) { |
2325 GenInstrRegister(COP1, D, f0, fs, fd, MOV_S); | 2325 GenInstrRegister(COP1, D, f0, fs, fd, MOV_D); |
2326 } | 2326 } |
2327 | 2327 |
2328 | 2328 |
2329 void Assembler::mov_s(FPURegister fd, FPURegister fs) { | 2329 void Assembler::mov_s(FPURegister fd, FPURegister fs) { |
2330 GenInstrRegister(COP1, S, f0, fs, fd, MOV_D); | 2330 GenInstrRegister(COP1, S, f0, fs, fd, MOV_S); |
2331 } | 2331 } |
2332 | 2332 |
2333 | 2333 |
2334 void Assembler::neg_s(FPURegister fd, FPURegister fs) { | 2334 void Assembler::neg_s(FPURegister fd, FPURegister fs) { |
2335 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S); | 2335 GenInstrRegister(COP1, S, f0, fs, fd, NEG_S); |
2336 } | 2336 } |
2337 | 2337 |
2338 | 2338 |
2339 void Assembler::neg_d(FPURegister fd, FPURegister fs) { | 2339 void Assembler::neg_d(FPURegister fd, FPURegister fs) { |
2340 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); | 2340 GenInstrRegister(COP1, D, f0, fs, fd, NEG_D); |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3096 if (patched) { | 3096 if (patched) { |
3097 CpuFeatures::FlushICache(pc + 2, sizeof(Address)); | 3097 CpuFeatures::FlushICache(pc + 2, sizeof(Address)); |
3098 } | 3098 } |
3099 } | 3099 } |
3100 | 3100 |
3101 | 3101 |
3102 } // namespace internal | 3102 } // namespace internal |
3103 } // namespace v8 | 3103 } // namespace v8 |
3104 | 3104 |
3105 #endif // V8_TARGET_ARCH_MIPS | 3105 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |