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

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

Issue 2719953002: Add Int32x4 Wasm Simd Binops, compare ops, select (Closed)
Patch Set: Add Int32x4 shift ops Created 3 years, 9 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 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 case kX64BitcastLD: 121 case kX64BitcastLD:
122 case kX64Lea32: 122 case kX64Lea32:
123 case kX64Lea: 123 case kX64Lea:
124 case kX64Dec32: 124 case kX64Dec32:
125 case kX64Inc32: 125 case kX64Inc32:
126 case kX64Int32x4Splat: 126 case kX64Int32x4Splat:
127 case kX64Int32x4ExtractLane: 127 case kX64Int32x4ExtractLane:
128 case kX64Int32x4ReplaceLane: 128 case kX64Int32x4ReplaceLane:
129 case kX64Int32x4Add: 129 case kX64Int32x4Add:
130 case kX64Int32x4Sub: 130 case kX64Int32x4Sub:
131 case kX64Int32x4Mul:
132 case kX64Int32x4Min:
133 case kX64Int32x4Max:
134 case kX64Int32x4Equal:
135 case kX64Int32x4NotEqual:
136 case kX64Int32x4ShiftLeftByScalar:
137 case kX64Int32x4ShiftRightByScalar:
138 case kX64Uint32x4ShiftRightByScalar:
139 case kX64Uint32x4Min:
140 case kX64Uint32x4Max:
141 case kX64Simd32x4Select:
131 case kX64Simd128Zero: 142 case kX64Simd128Zero:
132 return (instr->addressing_mode() == kMode_None) 143 return (instr->addressing_mode() == kMode_None)
133 ? kNoOpcodeFlags 144 ? kNoOpcodeFlags
134 : kIsLoadOperation | kHasSideEffect; 145 : kIsLoadOperation | kHasSideEffect;
135 146
136 case kX64Idiv: 147 case kX64Idiv:
137 case kX64Idiv32: 148 case kX64Idiv32:
138 case kX64Udiv: 149 case kX64Udiv:
139 case kX64Udiv32: 150 case kX64Udiv32:
140 return (instr->addressing_mode() == kMode_None) 151 return (instr->addressing_mode() == kMode_None)
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 case kArchTruncateDoubleToI: 277 case kArchTruncateDoubleToI:
267 return 6; 278 return 6;
268 default: 279 default:
269 return 1; 280 return 1;
270 } 281 }
271 } 282 }
272 283
273 } // namespace compiler 284 } // namespace compiler
274 } // namespace internal 285 } // namespace internal
275 } // namespace v8 286 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698