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 | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are 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 2366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 | 2377 |
2378 void Assembler::vcvt_f32_f64(const SwVfpRegister dst, | 2378 void Assembler::vcvt_f32_f64(const SwVfpRegister dst, |
2379 const DwVfpRegister src, | 2379 const DwVfpRegister src, |
2380 VFPConversionMode mode, | 2380 VFPConversionMode mode, |
2381 const Condition cond) { | 2381 const Condition cond) { |
2382 ASSERT(CpuFeatures::IsEnabled(VFP3)); | 2382 ASSERT(CpuFeatures::IsEnabled(VFP3)); |
2383 emit(EncodeVCVT(F32, dst.code(), F64, src.code(), mode, cond)); | 2383 emit(EncodeVCVT(F32, dst.code(), F64, src.code(), mode, cond)); |
2384 } | 2384 } |
2385 | 2385 |
2386 | 2386 |
| 2387 void Assembler::vneg(const DwVfpRegister dst, |
| 2388 const DwVfpRegister src, |
| 2389 const Condition cond) { |
| 2390 emit(cond | 0xE*B24 | 0xB*B20 | B16 | dst.code()*B12 | |
| 2391 0x5*B9 | B8 | B6 | src.code()); |
| 2392 } |
| 2393 |
| 2394 |
2387 void Assembler::vabs(const DwVfpRegister dst, | 2395 void Assembler::vabs(const DwVfpRegister dst, |
2388 const DwVfpRegister src, | 2396 const DwVfpRegister src, |
2389 const Condition cond) { | 2397 const Condition cond) { |
2390 emit(cond | 0xE*B24 | 0xB*B20 | dst.code()*B12 | | 2398 emit(cond | 0xE*B24 | 0xB*B20 | dst.code()*B12 | |
2391 0x5*B9 | B8 | 0x3*B6 | src.code()); | 2399 0x5*B9 | B8 | 0x3*B6 | src.code()); |
2392 } | 2400 } |
2393 | 2401 |
2394 | 2402 |
2395 void Assembler::vadd(const DwVfpRegister dst, | 2403 void Assembler::vadd(const DwVfpRegister dst, |
2396 const DwVfpRegister src1, | 2404 const DwVfpRegister src1, |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2771 | 2779 |
2772 // Since a constant pool was just emitted, move the check offset forward by | 2780 // Since a constant pool was just emitted, move the check offset forward by |
2773 // the standard interval. | 2781 // the standard interval. |
2774 next_buffer_check_ = pc_offset() + kCheckConstInterval; | 2782 next_buffer_check_ = pc_offset() + kCheckConstInterval; |
2775 } | 2783 } |
2776 | 2784 |
2777 | 2785 |
2778 } } // namespace v8::internal | 2786 } } // namespace v8::internal |
2779 | 2787 |
2780 #endif // V8_TARGET_ARCH_ARM | 2788 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |