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 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1624 case kArmF32x4Min: { | 1624 case kArmF32x4Min: { |
1625 __ vmin(i.OutputSimd128Register(), i.InputSimd128Register(0), | 1625 __ vmin(i.OutputSimd128Register(), i.InputSimd128Register(0), |
1626 i.InputSimd128Register(1)); | 1626 i.InputSimd128Register(1)); |
1627 break; | 1627 break; |
1628 } | 1628 } |
1629 case kArmF32x4Max: { | 1629 case kArmF32x4Max: { |
1630 __ vmax(i.OutputSimd128Register(), i.InputSimd128Register(0), | 1630 __ vmax(i.OutputSimd128Register(), i.InputSimd128Register(0), |
1631 i.InputSimd128Register(1)); | 1631 i.InputSimd128Register(1)); |
1632 break; | 1632 break; |
1633 } | 1633 } |
1634 case kArmF32x4RecipRefine: { | |
1635 __ vrecps(i.OutputSimd128Register(), i.InputSimd128Register(0), | |
1636 i.InputSimd128Register(1)); | |
1637 break; | |
1638 } | |
1639 case kArmF32x4RecipSqrtRefine: { | |
1640 __ vrsqrts(i.OutputSimd128Register(), i.InputSimd128Register(0), | |
1641 i.InputSimd128Register(1)); | |
1642 break; | |
1643 } | |
1644 case kArmF32x4Eq: { | 1634 case kArmF32x4Eq: { |
1645 __ vceq(i.OutputSimd128Register(), i.InputSimd128Register(0), | 1635 __ vceq(i.OutputSimd128Register(), i.InputSimd128Register(0), |
1646 i.InputSimd128Register(1)); | 1636 i.InputSimd128Register(1)); |
1647 break; | 1637 break; |
1648 } | 1638 } |
1649 case kArmF32x4Ne: { | 1639 case kArmF32x4Ne: { |
1650 Simd128Register dst = i.OutputSimd128Register(); | 1640 Simd128Register dst = i.OutputSimd128Register(); |
1651 __ vceq(dst, i.InputSimd128Register(0), i.InputSimd128Register(1)); | 1641 __ vceq(dst, i.InputSimd128Register(0), i.InputSimd128Register(1)); |
1652 __ vmvn(dst, dst); | 1642 __ vmvn(dst, dst); |
1653 break; | 1643 break; |
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2971 padding_size -= v8::internal::Assembler::kInstrSize; | 2961 padding_size -= v8::internal::Assembler::kInstrSize; |
2972 } | 2962 } |
2973 } | 2963 } |
2974 } | 2964 } |
2975 | 2965 |
2976 #undef __ | 2966 #undef __ |
2977 | 2967 |
2978 } // namespace compiler | 2968 } // namespace compiler |
2979 } // namespace internal | 2969 } // namespace internal |
2980 } // namespace v8 | 2970 } // namespace v8 |
OLD | NEW |