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

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

Issue 2683713003: [Turbofan] Add more non-arithmetic SIMD operations. (Closed)
Patch Set: Rebase. Created 3 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 case kArmInt32x4Max: 134 case kArmInt32x4Max:
135 case kArmInt32x4Equal: 135 case kArmInt32x4Equal:
136 case kArmInt32x4NotEqual: 136 case kArmInt32x4NotEqual:
137 case kArmInt32x4GreaterThan: 137 case kArmInt32x4GreaterThan:
138 case kArmInt32x4GreaterThanOrEqual: 138 case kArmInt32x4GreaterThanOrEqual:
139 case kArmUint32x4ShiftRightByScalar: 139 case kArmUint32x4ShiftRightByScalar:
140 case kArmUint32x4Min: 140 case kArmUint32x4Min:
141 case kArmUint32x4Max: 141 case kArmUint32x4Max:
142 case kArmUint32x4GreaterThan: 142 case kArmUint32x4GreaterThan:
143 case kArmUint32x4GreaterThanOrEqual: 143 case kArmUint32x4GreaterThanOrEqual:
144 case kArmSimd32x4Select:
145 case kArmInt16x8Splat: 144 case kArmInt16x8Splat:
146 case kArmInt16x8ExtractLane: 145 case kArmInt16x8ExtractLane:
147 case kArmInt16x8ReplaceLane: 146 case kArmInt16x8ReplaceLane:
148 case kArmInt16x8Neg: 147 case kArmInt16x8Neg:
149 case kArmInt16x8ShiftLeftByScalar: 148 case kArmInt16x8ShiftLeftByScalar:
150 case kArmInt16x8ShiftRightByScalar: 149 case kArmInt16x8ShiftRightByScalar:
151 case kArmInt16x8Add: 150 case kArmInt16x8Add:
152 case kArmInt16x8AddSaturate: 151 case kArmInt16x8AddSaturate:
153 case kArmInt16x8Sub: 152 case kArmInt16x8Sub:
154 case kArmInt16x8SubSaturate: 153 case kArmInt16x8SubSaturate:
(...skipping 28 matching lines...) Expand all
183 case kArmInt8x16NotEqual: 182 case kArmInt8x16NotEqual:
184 case kArmInt8x16GreaterThan: 183 case kArmInt8x16GreaterThan:
185 case kArmInt8x16GreaterThanOrEqual: 184 case kArmInt8x16GreaterThanOrEqual:
186 case kArmUint8x16ShiftRightByScalar: 185 case kArmUint8x16ShiftRightByScalar:
187 case kArmUint8x16AddSaturate: 186 case kArmUint8x16AddSaturate:
188 case kArmUint8x16SubSaturate: 187 case kArmUint8x16SubSaturate:
189 case kArmUint8x16Min: 188 case kArmUint8x16Min:
190 case kArmUint8x16Max: 189 case kArmUint8x16Max:
191 case kArmUint8x16GreaterThan: 190 case kArmUint8x16GreaterThan:
192 case kArmUint8x16GreaterThanOrEqual: 191 case kArmUint8x16GreaterThanOrEqual:
192 case kArmSimd128And:
193 case kArmSimd128Or:
194 case kArmSimd128Xor:
195 case kArmSimd128Not:
196 case kArmSimd32x4Select:
197 case kArmSimd16x8Select:
198 case kArmSimd8x16Select:
193 return kNoOpcodeFlags; 199 return kNoOpcodeFlags;
194 200
195 case kArmVldrF32: 201 case kArmVldrF32:
196 case kArmVldrF64: 202 case kArmVldrF64:
197 case kArmLdrb: 203 case kArmLdrb:
198 case kArmLdrsb: 204 case kArmLdrsb:
199 case kArmLdrh: 205 case kArmLdrh:
200 case kArmLdrsh: 206 case kArmLdrsh:
201 case kArmLdr: 207 case kArmLdr:
202 return kIsLoadOperation; 208 return kIsLoadOperation;
(...skipping 20 matching lines...) Expand all
223 229
224 230
225 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 231 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
226 // TODO(all): Add instruction cost modeling. 232 // TODO(all): Add instruction cost modeling.
227 return 1; 233 return 1;
228 } 234 }
229 235
230 } // namespace compiler 236 } // namespace compiler
231 } // namespace internal 237 } // namespace internal
232 } // namespace v8 238 } // 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