Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: src/compiler/arm64/code-generator-arm64.cc

Issue 1161643003: [arm64] Use ubfiz in ARM64 instruction selector (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 i.InputInt5(2)); 647 i.InputInt5(2));
648 break; 648 break;
649 case kArm64Ubfx: 649 case kArm64Ubfx:
650 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), 650 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1),
651 i.InputInt6(2)); 651 i.InputInt6(2));
652 break; 652 break;
653 case kArm64Ubfx32: 653 case kArm64Ubfx32:
654 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), 654 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1),
655 i.InputInt5(2)); 655 i.InputInt5(2));
656 break; 656 break;
657 case kArm64Ubfiz32:
658 __ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1),
659 i.InputInt5(2));
660 break;
657 case kArm64Bfi: 661 case kArm64Bfi:
658 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), 662 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2),
659 i.InputInt6(3)); 663 i.InputInt6(3));
660 break; 664 break;
661 case kArm64TestAndBranch32: 665 case kArm64TestAndBranch32:
662 case kArm64TestAndBranch: 666 case kArm64TestAndBranch:
663 // Pseudo instructions turned into tbz/tbnz in AssembleArchBranch. 667 // Pseudo instructions turned into tbz/tbnz in AssembleArchBranch.
664 break; 668 break;
665 case kArm64CompareAndBranch32: 669 case kArm64CompareAndBranch32:
666 // Pseudo instruction turned into cbz/cbnz in AssembleArchBranch. 670 // Pseudo instruction turned into cbz/cbnz in AssembleArchBranch.
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 } 1326 }
1323 } 1327 }
1324 MarkLazyDeoptSite(); 1328 MarkLazyDeoptSite();
1325 } 1329 }
1326 1330
1327 #undef __ 1331 #undef __
1328 1332
1329 } // namespace compiler 1333 } // namespace compiler
1330 } // namespace internal 1334 } // namespace internal
1331 } // namespace v8 1335 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698