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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 break; | 635 break; |
636 case kArm64Sxtb32: | 636 case kArm64Sxtb32: |
637 __ Sxtb(i.OutputRegister32(), i.InputRegister32(0)); | 637 __ Sxtb(i.OutputRegister32(), i.InputRegister32(0)); |
638 break; | 638 break; |
639 case kArm64Sxth32: | 639 case kArm64Sxth32: |
640 __ Sxth(i.OutputRegister32(), i.InputRegister32(0)); | 640 __ Sxth(i.OutputRegister32(), i.InputRegister32(0)); |
641 break; | 641 break; |
642 case kArm64Sxtw: | 642 case kArm64Sxtw: |
643 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); | 643 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); |
644 break; | 644 break; |
| 645 case kArm64Sbfx32: |
| 646 __ Sbfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
| 647 i.InputInt5(2)); |
| 648 break; |
645 case kArm64Ubfx: | 649 case kArm64Ubfx: |
646 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt8(1), | 650 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), |
647 i.InputInt8(2)); | 651 i.InputInt6(2)); |
648 break; | 652 break; |
649 case kArm64Ubfx32: | 653 case kArm64Ubfx32: |
650 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt8(1), | 654 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
651 i.InputInt8(2)); | 655 i.InputInt5(2)); |
652 break; | 656 break; |
653 case kArm64Bfi: | 657 case kArm64Bfi: |
654 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), | 658 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), |
655 i.InputInt6(3)); | 659 i.InputInt6(3)); |
656 break; | 660 break; |
657 case kArm64TestAndBranch32: | 661 case kArm64TestAndBranch32: |
658 case kArm64TestAndBranch: | 662 case kArm64TestAndBranch: |
659 // Pseudo instructions turned into tbz/tbnz in AssembleArchBranch. | 663 // Pseudo instructions turned into tbz/tbnz in AssembleArchBranch. |
660 break; | 664 break; |
661 case kArm64CompareAndBranch32: | 665 case kArm64CompareAndBranch32: |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1318 } | 1322 } |
1319 } | 1323 } |
1320 MarkLazyDeoptSite(); | 1324 MarkLazyDeoptSite(); |
1321 } | 1325 } |
1322 | 1326 |
1323 #undef __ | 1327 #undef __ |
1324 | 1328 |
1325 } // namespace compiler | 1329 } // namespace compiler |
1326 } // namespace internal | 1330 } // namespace internal |
1327 } // namespace v8 | 1331 } // namespace v8 |
OLD | NEW |