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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 Register scratch1 = i.TempRegister(1); | 616 Register scratch1 = i.TempRegister(1); |
617 auto ool = new (zone()) OutOfLineRecordWrite(this, object, index, value, | 617 auto ool = new (zone()) OutOfLineRecordWrite(this, object, index, value, |
618 scratch0, scratch1, mode); | 618 scratch0, scratch1, mode); |
619 __ Str(value, MemOperand(object, index)); | 619 __ Str(value, MemOperand(object, index)); |
620 __ CheckPageFlagSet(object, scratch0, | 620 __ CheckPageFlagSet(object, scratch0, |
621 MemoryChunk::kPointersFromHereAreInterestingMask, | 621 MemoryChunk::kPointersFromHereAreInterestingMask, |
622 ool->entry()); | 622 ool->entry()); |
623 __ Bind(ool->exit()); | 623 __ Bind(ool->exit()); |
624 break; | 624 break; |
625 } | 625 } |
| 626 case kArm64Float32RoundDown: |
| 627 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 628 break; |
626 case kArm64Float64RoundDown: | 629 case kArm64Float64RoundDown: |
627 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 630 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
628 break; | 631 break; |
629 case kArm64Float64RoundUp: | 632 case kArm64Float64RoundUp: |
630 __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 633 __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
631 break; | 634 break; |
632 case kArm64Float64RoundTiesAway: | 635 case kArm64Float64RoundTiesAway: |
633 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 636 __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
634 break; | 637 break; |
635 case kArm64Float64RoundTruncate: | 638 case kArm64Float64RoundTruncate: |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 padding_size -= kInstructionSize; | 1549 padding_size -= kInstructionSize; |
1547 } | 1550 } |
1548 } | 1551 } |
1549 } | 1552 } |
1550 | 1553 |
1551 #undef __ | 1554 #undef __ |
1552 | 1555 |
1553 } // namespace compiler | 1556 } // namespace compiler |
1554 } // namespace internal | 1557 } // namespace internal |
1555 } // namespace v8 | 1558 } // namespace v8 |
OLD | NEW |