| 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/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
| 8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" |
| 9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
| 10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 break; | 637 break; |
| 638 case kArm64Float64RoundTiesAway: | 638 case kArm64Float64RoundTiesAway: |
| 639 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 639 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 640 break; | 640 break; |
| 641 case kArm64Float32RoundTruncate: | 641 case kArm64Float32RoundTruncate: |
| 642 __ Frintz(i.OutputFloat32Register(), i.InputFloat32Register(0)); | 642 __ Frintz(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 643 break; | 643 break; |
| 644 case kArm64Float64RoundTruncate: | 644 case kArm64Float64RoundTruncate: |
| 645 __ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 645 __ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 646 break; | 646 break; |
| 647 case kArm64Float32RoundTiesEven: |
| 648 __ Frintn(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 649 break; |
| 647 case kArm64Float64RoundTiesEven: | 650 case kArm64Float64RoundTiesEven: |
| 648 __ Frintn(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 651 __ Frintn(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 649 break; | 652 break; |
| 650 case kArm64Add: | 653 case kArm64Add: |
| 651 __ Add(i.OutputRegister(), i.InputOrZeroRegister64(0), | 654 __ Add(i.OutputRegister(), i.InputOrZeroRegister64(0), |
| 652 i.InputOperand2_64(1)); | 655 i.InputOperand2_64(1)); |
| 653 break; | 656 break; |
| 654 case kArm64Add32: | 657 case kArm64Add32: |
| 655 if (FlagsModeField::decode(opcode) != kFlags_none) { | 658 if (FlagsModeField::decode(opcode) != kFlags_none) { |
| 656 __ Adds(i.OutputRegister32(), i.InputOrZeroRegister32(0), | 659 __ Adds(i.OutputRegister32(), i.InputOrZeroRegister32(0), |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1555 padding_size -= kInstructionSize; | 1558 padding_size -= kInstructionSize; |
| 1556 } | 1559 } |
| 1557 } | 1560 } |
| 1558 } | 1561 } |
| 1559 | 1562 |
| 1560 #undef __ | 1563 #undef __ |
| 1561 | 1564 |
| 1562 } // namespace compiler | 1565 } // namespace compiler |
| 1563 } // namespace internal | 1566 } // namespace internal |
| 1564 } // namespace v8 | 1567 } // namespace v8 |
| OLD | NEW |