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 2485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2496 if (is_int16(src.offset_)) { | 2496 if (is_int16(src.offset_)) { |
2497 GenInstrImmediate(LWC1, src.rm(), fd, src.offset_); | 2497 GenInstrImmediate(LWC1, src.rm(), fd, src.offset_); |
2498 } else { // Offset > 16 bits, use multiple instructions to load. | 2498 } else { // Offset > 16 bits, use multiple instructions to load. |
2499 LoadRegPlusOffsetToAt(src); | 2499 LoadRegPlusOffsetToAt(src); |
2500 GenInstrImmediate(LWC1, at, fd, 0); | 2500 GenInstrImmediate(LWC1, at, fd, 0); |
2501 } | 2501 } |
2502 } | 2502 } |
2503 | 2503 |
2504 | 2504 |
2505 void Assembler::ldc1(FPURegister fd, const MemOperand& src) { | 2505 void Assembler::ldc1(FPURegister fd, const MemOperand& src) { |
2506 DCHECK(!src.rm().is(at)); | |
2507 if (is_int16(src.offset_)) { | 2506 if (is_int16(src.offset_)) { |
2508 GenInstrImmediate(LDC1, src.rm(), fd, src.offset_); | 2507 GenInstrImmediate(LDC1, src.rm(), fd, src.offset_); |
2509 } else { // Offset > 16 bits, use multiple instructions to load. | 2508 } else { // Offset > 16 bits, use multiple instructions to load. |
2510 LoadRegPlusOffsetToAt(src); | 2509 LoadRegPlusOffsetToAt(src); |
2511 GenInstrImmediate(LDC1, at, fd, 0); | 2510 GenInstrImmediate(LDC1, at, fd, 0); |
2512 } | 2511 } |
2513 } | 2512 } |
2514 | 2513 |
2515 | 2514 |
2516 void Assembler::swc1(FPURegister fd, const MemOperand& src) { | 2515 void Assembler::swc1(FPURegister fd, const MemOperand& src) { |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3393 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 3392 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
3394 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); | 3393 Assembler::FlushICache(isolate, pc, 4 * Assembler::kInstrSize); |
3395 } | 3394 } |
3396 } | 3395 } |
3397 | 3396 |
3398 | 3397 |
3399 } // namespace internal | 3398 } // namespace internal |
3400 } // namespace v8 | 3399 } // namespace v8 |
3401 | 3400 |
3402 #endif // V8_TARGET_ARCH_MIPS64 | 3401 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |