| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/assembler-inl.h" | 8 #include "src/assembler-inl.h" |
| 9 #include "src/compilation-info.h" | 9 #include "src/compilation-info.h" |
| 10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 break; | 1436 break; |
| 1437 case kArmVldrF32: { | 1437 case kArmVldrF32: { |
| 1438 __ vldr(i.OutputFloatRegister(), i.InputOffset()); | 1438 __ vldr(i.OutputFloatRegister(), i.InputOffset()); |
| 1439 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1439 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 1440 break; | 1440 break; |
| 1441 } | 1441 } |
| 1442 case kArmVstrF32: | 1442 case kArmVstrF32: |
| 1443 __ vstr(i.InputFloatRegister(0), i.InputOffset(1)); | 1443 __ vstr(i.InputFloatRegister(0), i.InputOffset(1)); |
| 1444 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1444 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 1445 break; | 1445 break; |
| 1446 case kArmVld1F64: { |
| 1447 __ vld1(NeonSize::Neon8, NeonListOperand(i.OutputDoubleRegister()), |
| 1448 NeonMemOperand(i.InputRegister(0))); |
| 1449 break; |
| 1450 } |
| 1451 case kArmVst1F64: { |
| 1452 __ vst1(Neon8, NeonListOperand(i.InputDoubleRegister(0)), |
| 1453 NeonMemOperand(i.InputRegister(1))); |
| 1454 break; |
| 1455 } |
| 1446 case kArmVldrF64: | 1456 case kArmVldrF64: |
| 1447 __ vldr(i.OutputDoubleRegister(), i.InputOffset()); | 1457 __ vldr(i.OutputDoubleRegister(), i.InputOffset()); |
| 1448 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1458 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 1449 break; | 1459 break; |
| 1450 case kArmVstrF64: | 1460 case kArmVstrF64: |
| 1451 __ vstr(i.InputDoubleRegister(0), i.InputOffset(1)); | 1461 __ vstr(i.InputDoubleRegister(0), i.InputOffset(1)); |
| 1452 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 1462 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 1453 break; | 1463 break; |
| 1454 case kArmFloat32Max: { | 1464 case kArmFloat32Max: { |
| 1455 SwVfpRegister result = i.OutputFloatRegister(); | 1465 SwVfpRegister result = i.OutputFloatRegister(); |
| (...skipping 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2782 padding_size -= v8::internal::Assembler::kInstrSize; | 2792 padding_size -= v8::internal::Assembler::kInstrSize; |
| 2783 } | 2793 } |
| 2784 } | 2794 } |
| 2785 } | 2795 } |
| 2786 | 2796 |
| 2787 #undef __ | 2797 #undef __ |
| 2788 | 2798 |
| 2789 } // namespace compiler | 2799 } // namespace compiler |
| 2790 } // namespace internal | 2800 } // namespace internal |
| 2791 } // namespace v8 | 2801 } // namespace v8 |
| OLD | NEW |