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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 break; | 631 break; |
632 case kArm64Float32RoundUp: | 632 case kArm64Float32RoundUp: |
633 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); | 633 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
634 break; | 634 break; |
635 case kArm64Float64RoundUp: | 635 case kArm64Float64RoundUp: |
636 __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 636 __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
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: |
| 642 __ Frintz(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 643 break; |
641 case kArm64Float64RoundTruncate: | 644 case kArm64Float64RoundTruncate: |
642 __ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 645 __ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
643 break; | 646 break; |
644 case kArm64Float64RoundTiesEven: | 647 case kArm64Float64RoundTiesEven: |
645 __ Frintn(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 648 __ Frintn(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
646 break; | 649 break; |
647 case kArm64Add: | 650 case kArm64Add: |
648 __ Add(i.OutputRegister(), i.InputOrZeroRegister64(0), | 651 __ Add(i.OutputRegister(), i.InputOrZeroRegister64(0), |
649 i.InputOperand2_64(1)); | 652 i.InputOperand2_64(1)); |
650 break; | 653 break; |
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 padding_size -= kInstructionSize; | 1555 padding_size -= kInstructionSize; |
1553 } | 1556 } |
1554 } | 1557 } |
1555 } | 1558 } |
1556 | 1559 |
1557 #undef __ | 1560 #undef __ |
1558 | 1561 |
1559 } // namespace compiler | 1562 } // namespace compiler |
1560 } // namespace internal | 1563 } // namespace internal |
1561 } // namespace v8 | 1564 } // namespace v8 |
OLD | NEW |