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

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

Issue 2829483002: [wasm] Implement first set of SIMD I8x16 ops (Closed)
Patch Set: Created 3 years, 8 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/x64/instruction-codes-x64.h ('k') | src/compiler/x64/instruction-selector-x64.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 case kX64I16x8Mul: 150 case kX64I16x8Mul:
151 case kX64I16x8MinS: 151 case kX64I16x8MinS:
152 case kX64I16x8MaxS: 152 case kX64I16x8MaxS:
153 case kX64I16x8Eq: 153 case kX64I16x8Eq:
154 case kX64I16x8Ne: 154 case kX64I16x8Ne:
155 case kX64I16x8ShrU: 155 case kX64I16x8ShrU:
156 case kX64I16x8AddSaturateU: 156 case kX64I16x8AddSaturateU:
157 case kX64I16x8SubSaturateU: 157 case kX64I16x8SubSaturateU:
158 case kX64I16x8MinU: 158 case kX64I16x8MinU:
159 case kX64I16x8MaxU: 159 case kX64I16x8MaxU:
160 case kX64I8x16Splat:
161 case kX64I8x16ExtractLane:
162 case kX64I8x16ReplaceLane:
163 case kX64I8x16Add:
164 case kX64I8x16AddSaturateS:
165 case kX64I8x16Sub:
166 case kX64I8x16SubSaturateS:
167 case kX64I8x16MinS:
168 case kX64I8x16MaxS:
169 case kX64I8x16Eq:
170 case kX64I8x16Ne:
171 case kX64I8x16AddSaturateU:
172 case kX64I8x16SubSaturateU:
173 case kX64I8x16MinU:
174 case kX64I8x16MaxU:
160 case kX64S128Select: 175 case kX64S128Select:
161 case kX64S128Zero: 176 case kX64S128Zero:
162 return (instr->addressing_mode() == kMode_None) 177 return (instr->addressing_mode() == kMode_None)
163 ? kNoOpcodeFlags 178 ? kNoOpcodeFlags
164 : kIsLoadOperation | kHasSideEffect; 179 : kIsLoadOperation | kHasSideEffect;
165 180
166 case kX64Idiv: 181 case kX64Idiv:
167 case kX64Idiv32: 182 case kX64Idiv32:
168 case kX64Udiv: 183 case kX64Udiv:
169 case kX64Udiv32: 184 case kX64Udiv32:
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 case kArchTruncateDoubleToI: 306 case kArchTruncateDoubleToI:
292 return 6; 307 return 6;
293 default: 308 default:
294 return 1; 309 return 1;
295 } 310 }
296 } 311 }
297 312
298 } // namespace compiler 313 } // namespace compiler
299 } // namespace internal 314 } // namespace internal
300 } // namespace v8 315 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-codes-x64.h ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698