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/instruction-selector.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
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "src/assembler-inl.h" 9 #include "src/assembler-inl.h"
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2185 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2186 void InstructionSelector::VisitI32x4Neg(Node* node) { UNIMPLEMENTED(); } 2186 void InstructionSelector::VisitI32x4Neg(Node* node) { UNIMPLEMENTED(); }
2187 2187
2188 void InstructionSelector::VisitI32x4GtS(Node* node) { UNIMPLEMENTED(); } 2188 void InstructionSelector::VisitI32x4GtS(Node* node) { UNIMPLEMENTED(); }
2189 2189
2190 void InstructionSelector::VisitI32x4GeS(Node* node) { UNIMPLEMENTED(); } 2190 void InstructionSelector::VisitI32x4GeS(Node* node) { UNIMPLEMENTED(); }
2191 2191
2192 void InstructionSelector::VisitI32x4GtU(Node* node) { UNIMPLEMENTED(); } 2192 void InstructionSelector::VisitI32x4GtU(Node* node) { UNIMPLEMENTED(); }
2193 2193
2194 void InstructionSelector::VisitI32x4GeU(Node* node) { UNIMPLEMENTED(); } 2194 void InstructionSelector::VisitI32x4GeU(Node* node) { UNIMPLEMENTED(); }
2195 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64
2196 // && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2195 2197
2198 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \
2199 !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2196 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); } 2200 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); }
2197 2201
2198 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); } 2202 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); }
2199 2203
2200 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); } 2204 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); }
2205 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64
2206 // && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_MIPS &&
2207 // !V8_TARGET_ARCH_MIPS64
2201 2208
2209 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \
2210 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2202 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); } 2211 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); }
2203 2212
2204 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); } 2213 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); }
2205 2214
2206 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); } 2215 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); }
2207 2216
2208 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); } 2217 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); }
2209 2218
2210 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) { 2219 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) {
2211 UNIMPLEMENTED(); 2220 UNIMPLEMENTED();
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 2294
2286 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \ 2295 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \
2287 !V8_TARGET_ARCH_MIPS64 2296 !V8_TARGET_ARCH_MIPS64
2288 void InstructionSelector::VisitI8x16Shl(Node* node) { UNIMPLEMENTED(); } 2297 void InstructionSelector::VisitI8x16Shl(Node* node) { UNIMPLEMENTED(); }
2289 2298
2290 void InstructionSelector::VisitI8x16ShrS(Node* node) { UNIMPLEMENTED(); } 2299 void InstructionSelector::VisitI8x16ShrS(Node* node) { UNIMPLEMENTED(); }
2291 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS 2300 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS
2292 // && !V8_TARGET_ARCH_MIPS64 2301 // && !V8_TARGET_ARCH_MIPS64
2293 2302
2294 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \ 2303 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \
2295 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2304 !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2296 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); } 2305 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); }
2297 2306
2298 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); } 2307 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); }
2299 2308
2300 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); } 2309 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); }
2301 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 2310 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64
2302 // && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2311 // && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_MIPS &&
2312 // !V8_TARGET_ARCH_MIPS64
2303 2313
2304 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \ 2314 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \
2305 !V8_TARGET_ARCH_MIPS64 2315 !V8_TARGET_ARCH_MIPS64
2306 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) { 2316 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) {
2307 UNIMPLEMENTED(); 2317 UNIMPLEMENTED();
2308 } 2318 }
2309 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS 2319 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS
2310 // && !V8_TARGET_ARCH_MIPS64 2320 // && !V8_TARGET_ARCH_MIPS64
2311 2321
2312 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \ 2322 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_X64 && \
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2779 return new (instruction_zone()) FrameStateDescriptor( 2789 return new (instruction_zone()) FrameStateDescriptor(
2780 instruction_zone(), state_info.type(), state_info.bailout_id(), 2790 instruction_zone(), state_info.type(), state_info.bailout_id(),
2781 state_info.state_combine(), parameters, locals, stack, 2791 state_info.state_combine(), parameters, locals, stack,
2782 state_info.shared_info(), outer_state); 2792 state_info.shared_info(), outer_state);
2783 } 2793 }
2784 2794
2785 2795
2786 } // namespace compiler 2796 } // namespace compiler
2787 } // namespace internal 2797 } // namespace internal
2788 } // namespace v8 2798 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698