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

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

Issue 1698483002: [arm][arm64] Improve CountTrailingZero implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 4 years, 10 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 | « src/compiler/arm/instruction-codes-arm.h ('k') | src/compiler/arm/instruction-selector-arm.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 28 matching lines...) Expand all
39 case kArmBfc: 39 case kArmBfc:
40 case kArmUbfx: 40 case kArmUbfx:
41 case kArmSxtb: 41 case kArmSxtb:
42 case kArmSxth: 42 case kArmSxth:
43 case kArmSxtab: 43 case kArmSxtab:
44 case kArmSxtah: 44 case kArmSxtah:
45 case kArmUxtb: 45 case kArmUxtb:
46 case kArmUxth: 46 case kArmUxth:
47 case kArmUxtab: 47 case kArmUxtab:
48 case kArmUxtah: 48 case kArmUxtah:
49 case kArmRbit:
49 case kArmVcmpF32: 50 case kArmVcmpF32:
50 case kArmVaddF32: 51 case kArmVaddF32:
51 case kArmVsubF32: 52 case kArmVsubF32:
52 case kArmVmulF32: 53 case kArmVmulF32:
53 case kArmVmlaF32: 54 case kArmVmlaF32:
54 case kArmVmlsF32: 55 case kArmVmlsF32:
55 case kArmVdivF32: 56 case kArmVdivF32:
56 case kArmVabsF32: 57 case kArmVabsF32:
57 case kArmVnegF32: 58 case kArmVnegF32:
58 case kArmVsqrtF32: 59 case kArmVsqrtF32:
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 126
126 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 127 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
127 // TODO(all): Add instruction cost modeling. 128 // TODO(all): Add instruction cost modeling.
128 return 1; 129 return 1;
129 } 130 }
130 131
131 } // namespace compiler 132 } // namespace compiler
132 } // namespace internal 133 } // namespace internal
133 } // namespace v8 134 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-codes-arm.h ('k') | src/compiler/arm/instruction-selector-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698