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

Side by Side Diff: src/compiler/arm64/instruction-scheduler-arm64.cc

Issue 2022073002: [turbofan] ARM64: Match 64 bit compare with zero and branch (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
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/instruction-scheduler.h" 5 #include "src/compiler/instruction-scheduler.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace compiler { 9 namespace compiler {
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 case kArm64Float64ExtractHighWord32: 129 case kArm64Float64ExtractHighWord32:
130 case kArm64Float64InsertLowWord32: 130 case kArm64Float64InsertLowWord32:
131 case kArm64Float64InsertHighWord32: 131 case kArm64Float64InsertHighWord32:
132 case kArm64Float64MoveU64: 132 case kArm64Float64MoveU64:
133 case kArm64U64MoveFloat64: 133 case kArm64U64MoveFloat64:
134 return kNoOpcodeFlags; 134 return kNoOpcodeFlags;
135 135
136 case kArm64TestAndBranch32: 136 case kArm64TestAndBranch32:
137 case kArm64TestAndBranch: 137 case kArm64TestAndBranch:
138 case kArm64CompareAndBranch32: 138 case kArm64CompareAndBranch32:
139 case kArm64CompareAndBranch:
139 return kIsBlockTerminator; 140 return kIsBlockTerminator;
140 141
141 case kArm64LdrS: 142 case kArm64LdrS:
142 case kArm64LdrD: 143 case kArm64LdrD:
143 case kArm64Ldrb: 144 case kArm64Ldrb:
144 case kArm64Ldrsb: 145 case kArm64Ldrsb:
145 case kArm64Ldrh: 146 case kArm64Ldrh:
146 case kArm64Ldrsh: 147 case kArm64Ldrsh:
147 case kArm64LdrW: 148 case kArm64LdrW:
148 case kArm64Ldr: 149 case kArm64Ldr:
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 return 5; 335 return 5;
335 336
336 default: 337 default:
337 return 2; 338 return 2;
338 } 339 }
339 } 340 }
340 341
341 } // namespace compiler 342 } // namespace compiler
342 } // namespace internal 343 } // namespace internal
343 } // namespace v8 344 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-codes-arm64.h ('k') | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698