| 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/arm64/macro-assembler-arm64.h" | 7 #include "src/arm64/macro-assembler-arm64.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 break; | 719 break; |
| 720 } | 720 } |
| 721 case kArm64Float64Max: | 721 case kArm64Float64Max: |
| 722 __ Fmax(i.OutputDoubleRegister(), i.InputDoubleRegister(0), | 722 __ Fmax(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
| 723 i.InputDoubleRegister(1)); | 723 i.InputDoubleRegister(1)); |
| 724 break; | 724 break; |
| 725 case kArm64Float64Min: | 725 case kArm64Float64Min: |
| 726 __ Fmin(i.OutputDoubleRegister(), i.InputDoubleRegister(0), | 726 __ Fmin(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
| 727 i.InputDoubleRegister(1)); | 727 i.InputDoubleRegister(1)); |
| 728 break; | 728 break; |
| 729 case kArm64Float64Neg: |
| 730 __ Fneg(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 731 break; |
| 729 case kArm64Float64Sqrt: | 732 case kArm64Float64Sqrt: |
| 730 __ Fsqrt(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 733 __ Fsqrt(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 731 break; | 734 break; |
| 732 case kArm64Float32ToFloat64: | 735 case kArm64Float32ToFloat64: |
| 733 __ Fcvt(i.OutputDoubleRegister(), i.InputDoubleRegister(0).S()); | 736 __ Fcvt(i.OutputDoubleRegister(), i.InputDoubleRegister(0).S()); |
| 734 break; | 737 break; |
| 735 case kArm64Float64ToFloat32: | 738 case kArm64Float64ToFloat32: |
| 736 __ Fcvt(i.OutputDoubleRegister().S(), i.InputDoubleRegister(0)); | 739 __ Fcvt(i.OutputDoubleRegister().S(), i.InputDoubleRegister(0)); |
| 737 break; | 740 break; |
| 738 case kArm64Float64ToInt32: | 741 case kArm64Float64ToInt32: |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 } | 1251 } |
| 1249 } | 1252 } |
| 1250 MarkLazyDeoptSite(); | 1253 MarkLazyDeoptSite(); |
| 1251 } | 1254 } |
| 1252 | 1255 |
| 1253 #undef __ | 1256 #undef __ |
| 1254 | 1257 |
| 1255 } // namespace compiler | 1258 } // namespace compiler |
| 1256 } // namespace internal | 1259 } // namespace internal |
| 1257 } // namespace v8 | 1260 } // namespace v8 |
| OLD | NEW |