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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 2937653002: [ia32][wasm] Add I8x16/I16x8 Splat/ExtractLane/ReplaceLane (Closed)
Patch Set: Created 3 years, 6 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 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 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
2186 2186
2187 void InstructionSelector::VisitI32x4GtS(Node* node) { UNIMPLEMENTED(); } 2187 void InstructionSelector::VisitI32x4GtS(Node* node) { UNIMPLEMENTED(); }
2188 2188
2189 void InstructionSelector::VisitI32x4GeS(Node* node) { UNIMPLEMENTED(); } 2189 void InstructionSelector::VisitI32x4GeS(Node* node) { UNIMPLEMENTED(); }
2190 2190
2191 void InstructionSelector::VisitI32x4GtU(Node* node) { UNIMPLEMENTED(); } 2191 void InstructionSelector::VisitI32x4GtU(Node* node) { UNIMPLEMENTED(); }
2192 2192
2193 void InstructionSelector::VisitI32x4GeU(Node* node) { UNIMPLEMENTED(); } 2193 void InstructionSelector::VisitI32x4GeU(Node* node) { UNIMPLEMENTED(); }
2194 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2194 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2195 2195
2196 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ 2196 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 && \
2197 !V8_TARGET_ARCH_MIPS64 2197 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2198 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); } 2198 void InstructionSelector::VisitI16x8Splat(Node* node) { UNIMPLEMENTED(); }
2199 2199
2200 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); } 2200 void InstructionSelector::VisitI16x8ExtractLane(Node* node) { UNIMPLEMENTED(); }
2201 2201
2202 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); } 2202 void InstructionSelector::VisitI16x8ReplaceLane(Node* node) { UNIMPLEMENTED(); }
2203 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 &&
2204 // !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2205
2206 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2207 !V8_TARGET_ARCH_MIPS64
2203 2208
2204 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); } 2209 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); }
2205 2210
2206 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); } 2211 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); }
2207 2212
2208 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); } 2213 void InstructionSelector::VisitI16x8ShrU(Node* node) { UNIMPLEMENTED(); }
2209 2214
2210 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); } 2215 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); }
2211 2216
2212 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) { 2217 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
2278 2283
2279 void InstructionSelector::VisitI16x8GeU(Node* node) { UNIMPLEMENTED(); } 2284 void InstructionSelector::VisitI16x8GeU(Node* node) { UNIMPLEMENTED(); }
2280 2285
2281 void InstructionSelector::VisitI8x16Neg(Node* node) { UNIMPLEMENTED(); } 2286 void InstructionSelector::VisitI8x16Neg(Node* node) { UNIMPLEMENTED(); }
2282 2287
2283 void InstructionSelector::VisitI8x16Shl(Node* node) { UNIMPLEMENTED(); } 2288 void InstructionSelector::VisitI8x16Shl(Node* node) { UNIMPLEMENTED(); }
2284 2289
2285 void InstructionSelector::VisitI8x16ShrS(Node* node) { UNIMPLEMENTED(); } 2290 void InstructionSelector::VisitI8x16ShrS(Node* node) { UNIMPLEMENTED(); }
2286 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2291 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2287 2292
2288 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ 2293 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 && \
2289 !V8_TARGET_ARCH_MIPS64 2294 !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2290 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); } 2295 void InstructionSelector::VisitI8x16Splat(Node* node) { UNIMPLEMENTED(); }
2291 2296
2292 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); } 2297 void InstructionSelector::VisitI8x16ExtractLane(Node* node) { UNIMPLEMENTED(); }
2293 2298
2294 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); } 2299 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); }
2295 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && 2300 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_IA32 &&
2296 // !V8_TARGET_ARCH_MIPS64 2301 // !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2297 2302
2298 #if !V8_TARGET_ARCH_ARM 2303 #if !V8_TARGET_ARCH_ARM
2299 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) { 2304 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) {
2300 UNIMPLEMENTED(); 2305 UNIMPLEMENTED();
2301 } 2306 }
2302 #endif // !V8_TARGET_ARCH_ARM 2307 #endif // !V8_TARGET_ARCH_ARM
2303 2308
2304 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ 2309 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2305 !V8_TARGET_ARCH_MIPS64 2310 !V8_TARGET_ARCH_MIPS64
2306 void InstructionSelector::VisitI8x16Add(Node* node) { UNIMPLEMENTED(); } 2311 void InstructionSelector::VisitI8x16Add(Node* node) { UNIMPLEMENTED(); }
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2784 return new (instruction_zone()) FrameStateDescriptor( 2789 return new (instruction_zone()) FrameStateDescriptor(
2785 instruction_zone(), state_info.type(), state_info.bailout_id(), 2790 instruction_zone(), state_info.type(), state_info.bailout_id(),
2786 state_info.state_combine(), parameters, locals, stack, 2791 state_info.state_combine(), parameters, locals, stack,
2787 state_info.shared_info(), outer_state); 2792 state_info.shared_info(), outer_state);
2788 } 2793 }
2789 2794
2790 2795
2791 } // namespace compiler 2796 } // namespace compiler
2792 } // namespace internal 2797 } // namespace internal
2793 } // namespace v8 2798 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698