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

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

Issue 2264533002: [wasm] Add native x64 implementations for I32x4Splat, I32x4ExtractLane (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@macroize_runtime
Patch Set: Review changes Created 4 years, 3 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 case kAVXFloat32Abs: 120 case kAVXFloat32Abs:
121 case kAVXFloat32Neg: 121 case kAVXFloat32Neg:
122 case kX64BitcastFI: 122 case kX64BitcastFI:
123 case kX64BitcastDL: 123 case kX64BitcastDL:
124 case kX64BitcastIF: 124 case kX64BitcastIF:
125 case kX64BitcastLD: 125 case kX64BitcastLD:
126 case kX64Lea32: 126 case kX64Lea32:
127 case kX64Lea: 127 case kX64Lea:
128 case kX64Dec32: 128 case kX64Dec32:
129 case kX64Inc32: 129 case kX64Inc32:
130 case kX64Int32x4Create:
131 case kX64Int32x4ExtractLane:
130 return (instr->addressing_mode() == kMode_None) 132 return (instr->addressing_mode() == kMode_None)
131 ? kNoOpcodeFlags 133 ? kNoOpcodeFlags
132 : kIsLoadOperation | kHasSideEffect; 134 : kIsLoadOperation | kHasSideEffect;
133 135
134 case kX64Movsxbl: 136 case kX64Movsxbl:
135 case kX64Movzxbl: 137 case kX64Movzxbl:
136 case kX64Movsxbq: 138 case kX64Movsxbq:
137 case kX64Movzxbq: 139 case kX64Movzxbq:
138 case kX64Movsxwl: 140 case kX64Movsxwl:
139 case kX64Movzxwl: 141 case kX64Movzxwl:
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 189
188 190
189 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 191 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
190 // TODO(all): Add instruction cost modeling. 192 // TODO(all): Add instruction cost modeling.
191 return 1; 193 return 1;
192 } 194 }
193 195
194 } // namespace compiler 196 } // namespace compiler
195 } // namespace internal 197 } // namespace internal
196 } // namespace v8 198 } // 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