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

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

Issue 2849463003: [wasm] Implement Generic S128 Load/Store, logical ops and Horizontal add (Closed)
Patch Set: Zvi's review Created 3 years, 7 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 | « no previous file | src/compiler/x64/code-generator-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 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 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 void InstructionSelector::VisitI32x4Ne(Node* node) { UNIMPLEMENTED(); } 2212 void InstructionSelector::VisitI32x4Ne(Node* node) { UNIMPLEMENTED(); }
2213 2213
2214 void InstructionSelector::VisitI32x4MinU(Node* node) { UNIMPLEMENTED(); } 2214 void InstructionSelector::VisitI32x4MinU(Node* node) { UNIMPLEMENTED(); }
2215 2215
2216 void InstructionSelector::VisitI32x4MaxU(Node* node) { UNIMPLEMENTED(); } 2216 void InstructionSelector::VisitI32x4MaxU(Node* node) { UNIMPLEMENTED(); }
2217 2217
2218 void InstructionSelector::VisitI32x4ShrU(Node* node) { UNIMPLEMENTED(); } 2218 void InstructionSelector::VisitI32x4ShrU(Node* node) { UNIMPLEMENTED(); }
2219 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && 2219 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2220 // !V8_TARGET_ARCH_MIPS64 2220 // !V8_TARGET_ARCH_MIPS64
2221 2221
2222 #if !V8_TARGET_ARCH_ARM 2222 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_X64
2223 void InstructionSelector::VisitI32x4AddHoriz(Node* node) { UNIMPLEMENTED(); } 2223 void InstructionSelector::VisitI32x4AddHoriz(Node* node) { UNIMPLEMENTED(); }
2224 #endif // !V8_TARGET_ARCH_ARM 2224 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_X64
2225 2225
2226 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2226 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2227 void InstructionSelector::VisitI32x4SConvertF32x4(Node* node) { 2227 void InstructionSelector::VisitI32x4SConvertF32x4(Node* node) {
2228 UNIMPLEMENTED(); 2228 UNIMPLEMENTED();
2229 } 2229 }
2230 2230
2231 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) { 2231 void InstructionSelector::VisitI32x4UConvertF32x4(Node* node) {
2232 UNIMPLEMENTED(); 2232 UNIMPLEMENTED();
2233 } 2233 }
2234 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64 2234 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2270 2270
2271 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); } 2271 void InstructionSelector::VisitI16x8Shl(Node* node) { UNIMPLEMENTED(); }
2272 2272
2273 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); } 2273 void InstructionSelector::VisitI16x8ShrS(Node* node) { UNIMPLEMENTED(); }
2274 2274
2275 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); } 2275 void InstructionSelector::VisitI16x8Add(Node* node) { UNIMPLEMENTED(); }
2276 2276
2277 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) { 2277 void InstructionSelector::VisitI16x8AddSaturateS(Node* node) {
2278 UNIMPLEMENTED(); 2278 UNIMPLEMENTED();
2279 } 2279 }
2280 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2281 2280
2282 #if !V8_TARGET_ARCH_ARM
2283 void InstructionSelector::VisitI16x8AddHoriz(Node* node) { UNIMPLEMENTED(); } 2281 void InstructionSelector::VisitI16x8AddHoriz(Node* node) { UNIMPLEMENTED(); }
2284 #endif // !V8_TARGET_ARCH_ARM
2285 2282
2286 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2287 void InstructionSelector::VisitI16x8Sub(Node* node) { UNIMPLEMENTED(); } 2283 void InstructionSelector::VisitI16x8Sub(Node* node) { UNIMPLEMENTED(); }
2288 2284
2289 void InstructionSelector::VisitI16x8SubSaturateS(Node* node) { 2285 void InstructionSelector::VisitI16x8SubSaturateS(Node* node) {
2290 UNIMPLEMENTED(); 2286 UNIMPLEMENTED();
2291 } 2287 }
2292 2288
2293 void InstructionSelector::VisitI16x8Mul(Node* node) { UNIMPLEMENTED(); } 2289 void InstructionSelector::VisitI16x8Mul(Node* node) { UNIMPLEMENTED(); }
2294 2290
2295 void InstructionSelector::VisitI16x8MinS(Node* node) { UNIMPLEMENTED(); } 2291 void InstructionSelector::VisitI16x8MinS(Node* node) { UNIMPLEMENTED(); }
2296 2292
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2420 2416
2421 void InstructionSelector::VisitI8x16MinU(Node* node) { UNIMPLEMENTED(); } 2417 void InstructionSelector::VisitI8x16MinU(Node* node) { UNIMPLEMENTED(); }
2422 2418
2423 void InstructionSelector::VisitI8x16MaxU(Node* node) { UNIMPLEMENTED(); } 2419 void InstructionSelector::VisitI8x16MaxU(Node* node) { UNIMPLEMENTED(); }
2424 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2420 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2425 2421
2426 #if !V8_TARGET_ARCH_ARM 2422 #if !V8_TARGET_ARCH_ARM
2427 void InstructionSelector::VisitI8x16LtU(Node* node) { UNIMPLEMENTED(); } 2423 void InstructionSelector::VisitI8x16LtU(Node* node) { UNIMPLEMENTED(); }
2428 2424
2429 void InstructionSelector::VisitI8x16LeU(Node* node) { UNIMPLEMENTED(); } 2425 void InstructionSelector::VisitI8x16LeU(Node* node) { UNIMPLEMENTED(); }
2426 #endif // !V8_TARGET_ARCH_ARM
2430 2427
2428 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2431 void InstructionSelector::VisitS128And(Node* node) { UNIMPLEMENTED(); } 2429 void InstructionSelector::VisitS128And(Node* node) { UNIMPLEMENTED(); }
2432 2430
2433 void InstructionSelector::VisitS128Or(Node* node) { UNIMPLEMENTED(); } 2431 void InstructionSelector::VisitS128Or(Node* node) { UNIMPLEMENTED(); }
2434 2432
2435 void InstructionSelector::VisitS128Xor(Node* node) { UNIMPLEMENTED(); } 2433 void InstructionSelector::VisitS128Xor(Node* node) { UNIMPLEMENTED(); }
2436 2434
2437 void InstructionSelector::VisitS128Not(Node* node) { UNIMPLEMENTED(); } 2435 void InstructionSelector::VisitS128Not(Node* node) { UNIMPLEMENTED(); }
2438 #endif // !V8_TARGET_ARCH_ARM 2436 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2439 2437
2440 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ 2438 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2441 !V8_TARGET_ARCH_MIPS64 2439 !V8_TARGET_ARCH_MIPS64
2442 void InstructionSelector::VisitS128Zero(Node* node) { UNIMPLEMENTED(); } 2440 void InstructionSelector::VisitS128Zero(Node* node) { UNIMPLEMENTED(); }
2443 2441
2444 void InstructionSelector::VisitS1x4Zero(Node* node) { UNIMPLEMENTED(); } 2442 void InstructionSelector::VisitS1x4Zero(Node* node) { UNIMPLEMENTED(); }
2445 2443
2446 void InstructionSelector::VisitS1x8Zero(Node* node) { UNIMPLEMENTED(); } 2444 void InstructionSelector::VisitS1x8Zero(Node* node) { UNIMPLEMENTED(); }
2447 2445
2448 void InstructionSelector::VisitS1x16Zero(Node* node) { UNIMPLEMENTED(); } 2446 void InstructionSelector::VisitS1x16Zero(Node* node) { UNIMPLEMENTED(); }
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
2939 return new (instruction_zone()) FrameStateDescriptor( 2937 return new (instruction_zone()) FrameStateDescriptor(
2940 instruction_zone(), state_info.type(), state_info.bailout_id(), 2938 instruction_zone(), state_info.type(), state_info.bailout_id(),
2941 state_info.state_combine(), parameters, locals, stack, 2939 state_info.state_combine(), parameters, locals, stack,
2942 state_info.shared_info(), outer_state); 2940 state_info.shared_info(), outer_state);
2943 } 2941 }
2944 2942
2945 2943
2946 } // namespace compiler 2944 } // namespace compiler
2947 } // namespace internal 2945 } // namespace internal
2948 } // namespace v8 2946 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698