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

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

Issue 2937653002: [ia32][wasm] Add I8x16/I16x8 Splat/ExtractLane/ReplaceLane (Closed)
Patch Set: Rebase 2 Created 3 years, 5 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 case kAVXFloat64Div: 93 case kAVXFloat64Div:
94 case kAVXFloat64Abs: 94 case kAVXFloat64Abs:
95 case kAVXFloat64Neg: 95 case kAVXFloat64Neg:
96 case kAVXFloat32Abs: 96 case kAVXFloat32Abs:
97 case kAVXFloat32Neg: 97 case kAVXFloat32Neg:
98 case kIA32BitcastFI: 98 case kIA32BitcastFI:
99 case kIA32BitcastIF: 99 case kIA32BitcastIF:
100 case kIA32I32x4Splat: 100 case kIA32I32x4Splat:
101 case kIA32I32x4ExtractLane: 101 case kIA32I32x4ExtractLane:
102 case kSSEI32x4ReplaceLane: 102 case kSSEI32x4ReplaceLane:
103 case kAVXI32x4ReplaceLane:
103 case kSSEI32x4Add: 104 case kSSEI32x4Add:
105 case kAVXI32x4Add:
104 case kSSEI32x4Sub: 106 case kSSEI32x4Sub:
105 case kAVXI32x4ReplaceLane:
106 case kAVXI32x4Add:
107 case kAVXI32x4Sub: 107 case kAVXI32x4Sub:
108 case kIA32I16x8Splat:
109 case kIA32I16x8ExtractLane:
110 case kSSEI16x8ReplaceLane:
111 case kAVXI16x8ReplaceLane:
112 case kIA32I8x16Splat:
113 case kIA32I8x16ExtractLane:
114 case kSSEI8x16ReplaceLane:
115 case kAVXI8x16ReplaceLane:
108 return (instr->addressing_mode() == kMode_None) 116 return (instr->addressing_mode() == kMode_None)
109 ? kNoOpcodeFlags 117 ? kNoOpcodeFlags
110 : kIsLoadOperation | kHasSideEffect; 118 : kIsLoadOperation | kHasSideEffect;
111 119
112 case kIA32Idiv: 120 case kIA32Idiv:
113 case kIA32Udiv: 121 case kIA32Udiv:
114 return (instr->addressing_mode() == kMode_None) 122 return (instr->addressing_mode() == kMode_None)
115 ? kMayNeedDeoptOrTrapCheck 123 ? kMayNeedDeoptOrTrapCheck
116 : kMayNeedDeoptOrTrapCheck | kIsLoadOperation | kHasSideEffect; 124 : kMayNeedDeoptOrTrapCheck | kIsLoadOperation | kHasSideEffect;
117 125
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 case kArchTruncateDoubleToI: 220 case kArchTruncateDoubleToI:
213 return 9; 221 return 9;
214 default: 222 default:
215 return 1; 223 return 1;
216 } 224 }
217 } 225 }
218 226
219 } // namespace compiler 227 } // namespace compiler
220 } // namespace internal 228 } // namespace internal
221 } // namespace v8 229 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-codes-ia32.h ('k') | src/compiler/ia32/instruction-selector-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698