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

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

Issue 2798853003: MIPS[64]: Support for some SIMD operations (7) (Closed)
Patch Set: Rebase, change Lt/Le with Gt/Ge 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/mips/code-generator-mips.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 2316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); } 2327 void InstructionSelector::VisitI8x16ReplaceLane(Node* node) { UNIMPLEMENTED(); }
2328 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && 2328 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2329 // !V8_TARGET_ARCH_MIPS64 2329 // !V8_TARGET_ARCH_MIPS64
2330 2330
2331 #if !V8_TARGET_ARCH_ARM 2331 #if !V8_TARGET_ARCH_ARM
2332 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) { 2332 void InstructionSelector::VisitI8x16SConvertI16x8(Node* node) {
2333 UNIMPLEMENTED(); 2333 UNIMPLEMENTED();
2334 } 2334 }
2335 #endif // !V8_TARGET_ARCH_ARM 2335 #endif // !V8_TARGET_ARCH_ARM
2336 2336
2337 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2337 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2338 !V8_TARGET_ARCH_MIPS64
2338 void InstructionSelector::VisitI8x16Add(Node* node) { UNIMPLEMENTED(); } 2339 void InstructionSelector::VisitI8x16Add(Node* node) { UNIMPLEMENTED(); }
2339 2340
2340 void InstructionSelector::VisitI8x16AddSaturateS(Node* node) { 2341 void InstructionSelector::VisitI8x16AddSaturateS(Node* node) {
2341 UNIMPLEMENTED(); 2342 UNIMPLEMENTED();
2342 } 2343 }
2343 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2344 2344
2345 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM
2346 void InstructionSelector::VisitI8x16Sub(Node* node) { UNIMPLEMENTED(); } 2345 void InstructionSelector::VisitI8x16Sub(Node* node) { UNIMPLEMENTED(); }
2347 2346
2348 void InstructionSelector::VisitI8x16SubSaturateS(Node* node) { 2347 void InstructionSelector::VisitI8x16SubSaturateS(Node* node) {
2349 UNIMPLEMENTED(); 2348 UNIMPLEMENTED();
2350 } 2349 }
2351 2350
2352 void InstructionSelector::VisitI8x16MinS(Node* node) { UNIMPLEMENTED(); } 2351 void InstructionSelector::VisitI8x16MinS(Node* node) { UNIMPLEMENTED(); }
2353 2352
2354 void InstructionSelector::VisitI8x16MaxS(Node* node) { UNIMPLEMENTED(); } 2353 void InstructionSelector::VisitI8x16MaxS(Node* node) { UNIMPLEMENTED(); }
2355 2354
2356 void InstructionSelector::VisitI8x16Eq(Node* node) { UNIMPLEMENTED(); } 2355 void InstructionSelector::VisitI8x16Eq(Node* node) { UNIMPLEMENTED(); }
2357 2356
2358 void InstructionSelector::VisitI8x16Ne(Node* node) { UNIMPLEMENTED(); } 2357 void InstructionSelector::VisitI8x16Ne(Node* node) { UNIMPLEMENTED(); }
2359 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2358 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2359 // !V8_TARGET_ARCH_MIPS64
2360 2360
2361 #if !V8_TARGET_ARCH_ARM 2361 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2362 void InstructionSelector::VisitI8x16Mul(Node* node) { UNIMPLEMENTED(); } 2362 void InstructionSelector::VisitI8x16Mul(Node* node) { UNIMPLEMENTED(); }
2363 2363
2364 void InstructionSelector::VisitI8x16GtS(Node* node) { UNIMPLEMENTED(); } 2364 void InstructionSelector::VisitI8x16GtS(Node* node) { UNIMPLEMENTED(); }
2365 2365
2366 void InstructionSelector::VisitI8x16GeS(Node* node) { UNIMPLEMENTED(); } 2366 void InstructionSelector::VisitI8x16GeS(Node* node) { UNIMPLEMENTED(); }
2367 2367
2368 void InstructionSelector::VisitI8x16ShrU(Node* node) { UNIMPLEMENTED(); } 2368 void InstructionSelector::VisitI8x16ShrU(Node* node) { UNIMPLEMENTED(); }
2369 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2369 2370
2371 #if !V8_TARGET_ARCH_ARM
2370 void InstructionSelector::VisitI8x16UConvertI16x8(Node* node) { 2372 void InstructionSelector::VisitI8x16UConvertI16x8(Node* node) {
2371 UNIMPLEMENTED(); 2373 UNIMPLEMENTED();
2372 } 2374 }
2373 #endif // !V8_TARGET_ARCH_ARM 2375 #endif // !V8_TARGET_ARCH_ARM
2374 2376
2375 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2377 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2378 !V8_TARGET_ARCH_MIPS64
2376 void InstructionSelector::VisitI8x16AddSaturateU(Node* node) { 2379 void InstructionSelector::VisitI8x16AddSaturateU(Node* node) {
2377 UNIMPLEMENTED(); 2380 UNIMPLEMENTED();
2378 } 2381 }
2379 2382
2380 void InstructionSelector::VisitI8x16SubSaturateU(Node* node) { 2383 void InstructionSelector::VisitI8x16SubSaturateU(Node* node) {
2381 UNIMPLEMENTED(); 2384 UNIMPLEMENTED();
2382 } 2385 }
2383 2386
2384 void InstructionSelector::VisitI8x16MinU(Node* node) { UNIMPLEMENTED(); } 2387 void InstructionSelector::VisitI8x16MinU(Node* node) { UNIMPLEMENTED(); }
2385 2388
2386 void InstructionSelector::VisitI8x16MaxU(Node* node) { UNIMPLEMENTED(); } 2389 void InstructionSelector::VisitI8x16MaxU(Node* node) { UNIMPLEMENTED(); }
2387 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2390 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2391 // !V8_TARGET_ARCH_MIPS64
2388 2392
2389 #if !V8_TARGET_ARCH_ARM 2393 #if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2390 void InstructionSelector::VisitI8x16GtU(Node* node) { UNIMPLEMENTED(); } 2394 void InstructionSelector::VisitI8x16GtU(Node* node) { UNIMPLEMENTED(); }
2391 2395
2392 void InstructionSelector::VisitI8x16GeU(Node* node) { UNIMPLEMENTED(); } 2396 void InstructionSelector::VisitI8x16GeU(Node* node) { UNIMPLEMENTED(); }
2393 #endif // !V8_TARGET_ARCH_ARM 2397 #endif // !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && !V8_TARGET_ARCH_MIPS64
2394 2398
2395 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2399 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2400 !V8_TARGET_ARCH_MIPS64
2396 void InstructionSelector::VisitS128And(Node* node) { UNIMPLEMENTED(); } 2401 void InstructionSelector::VisitS128And(Node* node) { UNIMPLEMENTED(); }
2397 2402
2398 void InstructionSelector::VisitS128Or(Node* node) { UNIMPLEMENTED(); } 2403 void InstructionSelector::VisitS128Or(Node* node) { UNIMPLEMENTED(); }
2399 2404
2400 void InstructionSelector::VisitS128Xor(Node* node) { UNIMPLEMENTED(); } 2405 void InstructionSelector::VisitS128Xor(Node* node) { UNIMPLEMENTED(); }
2401 2406
2402 void InstructionSelector::VisitS128Not(Node* node) { UNIMPLEMENTED(); } 2407 void InstructionSelector::VisitS128Not(Node* node) { UNIMPLEMENTED(); }
2403 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM 2408 #endif // !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS &&
2409 // !V8_TARGET_ARCH_MIPS64
2404 2410
2405 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \ 2411 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_MIPS && \
2406 !V8_TARGET_ARCH_MIPS64 2412 !V8_TARGET_ARCH_MIPS64
2407 void InstructionSelector::VisitS128Zero(Node* node) { UNIMPLEMENTED(); } 2413 void InstructionSelector::VisitS128Zero(Node* node) { UNIMPLEMENTED(); }
2408 2414
2409 void InstructionSelector::VisitS1x4Zero(Node* node) { UNIMPLEMENTED(); } 2415 void InstructionSelector::VisitS1x4Zero(Node* node) { UNIMPLEMENTED(); }
2410 2416
2411 void InstructionSelector::VisitS1x8Zero(Node* node) { UNIMPLEMENTED(); } 2417 void InstructionSelector::VisitS1x8Zero(Node* node) { UNIMPLEMENTED(); }
2412 2418
2413 void InstructionSelector::VisitS1x16Zero(Node* node) { UNIMPLEMENTED(); } 2419 void InstructionSelector::VisitS1x16Zero(Node* node) { UNIMPLEMENTED(); }
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2854 return new (instruction_zone()) FrameStateDescriptor( 2860 return new (instruction_zone()) FrameStateDescriptor(
2855 instruction_zone(), state_info.type(), state_info.bailout_id(), 2861 instruction_zone(), state_info.type(), state_info.bailout_id(),
2856 state_info.state_combine(), parameters, locals, stack, 2862 state_info.state_combine(), parameters, locals, stack,
2857 state_info.shared_info(), outer_state); 2863 state_info.shared_info(), outer_state);
2858 } 2864 }
2859 2865
2860 2866
2861 } // namespace compiler 2867 } // namespace compiler
2862 } // namespace internal 2868 } // namespace internal
2863 } // namespace v8 2869 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698