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

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

Issue 1218103005: [turbofan] Support cmp with shift/extend on ARM64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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-selector-arm64.cc » ('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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 __ PokePair(i.InputRegister(1), i.InputRegister(0), slot * kPointerSize); 704 __ PokePair(i.InputRegister(1), i.InputRegister(0), slot * kPointerSize);
705 break; 705 break;
706 } 706 }
707 case kArm64Clz32: 707 case kArm64Clz32:
708 __ Clz(i.OutputRegister32(), i.InputRegister32(0)); 708 __ Clz(i.OutputRegister32(), i.InputRegister32(0));
709 break; 709 break;
710 case kArm64Cmp: 710 case kArm64Cmp:
711 __ Cmp(i.InputRegister(0), i.InputOperand(1)); 711 __ Cmp(i.InputRegister(0), i.InputOperand(1));
712 break; 712 break;
713 case kArm64Cmp32: 713 case kArm64Cmp32:
714 __ Cmp(i.InputRegister32(0), i.InputOperand32(1)); 714 __ Cmp(i.InputRegister32(0), i.InputOperand2_32(1));
715 break; 715 break;
716 case kArm64Cmn: 716 case kArm64Cmn:
717 __ Cmn(i.InputRegister(0), i.InputOperand(1)); 717 __ Cmn(i.InputRegister(0), i.InputOperand(1));
718 break; 718 break;
719 case kArm64Cmn32: 719 case kArm64Cmn32:
720 __ Cmn(i.InputRegister32(0), i.InputOperand32(1)); 720 __ Cmn(i.InputRegister32(0), i.InputOperand32(1));
721 break; 721 break;
722 case kArm64Tst: 722 case kArm64Tst:
723 __ Tst(i.InputRegister(0), i.InputOperand(1)); 723 __ Tst(i.InputRegister(0), i.InputOperand(1));
724 break; 724 break;
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 } 1374 }
1375 } 1375 }
1376 } 1376 }
1377 } 1377 }
1378 1378
1379 #undef __ 1379 #undef __
1380 1380
1381 } // namespace compiler 1381 } // namespace compiler
1382 } // namespace internal 1382 } // namespace internal
1383 } // namespace v8 1383 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698