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

Side by Side Diff: src/compiler/machine-operator.h

Issue 2800523002: [WASM SIMD] Implement packing and unpacking integer conversions. (Closed)
Patch Set: Fix stray edit, clean up some ordering of opcodes. Created 3 years, 8 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 const Operator* F32x4RecipSqrtRefine(); 452 const Operator* F32x4RecipSqrtRefine();
453 const Operator* F32x4Eq(); 453 const Operator* F32x4Eq();
454 const Operator* F32x4Ne(); 454 const Operator* F32x4Ne();
455 const Operator* F32x4Lt(); 455 const Operator* F32x4Lt();
456 const Operator* F32x4Le(); 456 const Operator* F32x4Le();
457 457
458 const Operator* I32x4Splat(); 458 const Operator* I32x4Splat();
459 const Operator* I32x4ExtractLane(int32_t); 459 const Operator* I32x4ExtractLane(int32_t);
460 const Operator* I32x4ReplaceLane(int32_t); 460 const Operator* I32x4ReplaceLane(int32_t);
461 const Operator* I32x4SConvertF32x4(); 461 const Operator* I32x4SConvertF32x4();
462 const Operator* I32x4SConvertI16x8Low();
463 const Operator* I32x4SConvertI16x8High();
462 const Operator* I32x4Neg(); 464 const Operator* I32x4Neg();
463 const Operator* I32x4Shl(int32_t); 465 const Operator* I32x4Shl(int32_t);
464 const Operator* I32x4ShrS(int32_t); 466 const Operator* I32x4ShrS(int32_t);
465 const Operator* I32x4Add(); 467 const Operator* I32x4Add();
466 const Operator* I32x4Sub(); 468 const Operator* I32x4Sub();
467 const Operator* I32x4Mul(); 469 const Operator* I32x4Mul();
468 const Operator* I32x4MinS(); 470 const Operator* I32x4MinS();
469 const Operator* I32x4MaxS(); 471 const Operator* I32x4MaxS();
470 const Operator* I32x4Eq(); 472 const Operator* I32x4Eq();
471 const Operator* I32x4Ne(); 473 const Operator* I32x4Ne();
472 const Operator* I32x4LtS(); 474 const Operator* I32x4LtS();
473 const Operator* I32x4LeS(); 475 const Operator* I32x4LeS();
474 476
475 const Operator* I32x4UConvertF32x4(); 477 const Operator* I32x4UConvertF32x4();
478 const Operator* I32x4UConvertI16x8Low();
479 const Operator* I32x4UConvertI16x8High();
476 const Operator* I32x4ShrU(int32_t); 480 const Operator* I32x4ShrU(int32_t);
477 const Operator* I32x4MinU(); 481 const Operator* I32x4MinU();
478 const Operator* I32x4MaxU(); 482 const Operator* I32x4MaxU();
479 const Operator* I32x4LtU(); 483 const Operator* I32x4LtU();
480 const Operator* I32x4LeU(); 484 const Operator* I32x4LeU();
481 485
482 const Operator* I16x8Splat(); 486 const Operator* I16x8Splat();
483 const Operator* I16x8ExtractLane(int32_t); 487 const Operator* I16x8ExtractLane(int32_t);
484 const Operator* I16x8ReplaceLane(int32_t); 488 const Operator* I16x8ReplaceLane(int32_t);
489 const Operator* I16x8SConvertI8x16Low();
490 const Operator* I16x8SConvertI8x16High();
485 const Operator* I16x8Neg(); 491 const Operator* I16x8Neg();
486 const Operator* I16x8Shl(int32_t); 492 const Operator* I16x8Shl(int32_t);
487 const Operator* I16x8ShrS(int32_t); 493 const Operator* I16x8ShrS(int32_t);
494 const Operator* I16x8SConvertI32x4();
488 const Operator* I16x8Add(); 495 const Operator* I16x8Add();
489 const Operator* I16x8AddSaturateS(); 496 const Operator* I16x8AddSaturateS();
490 const Operator* I16x8Sub(); 497 const Operator* I16x8Sub();
491 const Operator* I16x8SubSaturateS(); 498 const Operator* I16x8SubSaturateS();
492 const Operator* I16x8Mul(); 499 const Operator* I16x8Mul();
493 const Operator* I16x8MinS(); 500 const Operator* I16x8MinS();
494 const Operator* I16x8MaxS(); 501 const Operator* I16x8MaxS();
495 const Operator* I16x8Eq(); 502 const Operator* I16x8Eq();
496 const Operator* I16x8Ne(); 503 const Operator* I16x8Ne();
497 const Operator* I16x8LtS(); 504 const Operator* I16x8LtS();
498 const Operator* I16x8LeS(); 505 const Operator* I16x8LeS();
499 506
507 const Operator* I16x8UConvertI8x16Low();
508 const Operator* I16x8UConvertI8x16High();
500 const Operator* I16x8ShrU(int32_t); 509 const Operator* I16x8ShrU(int32_t);
510 const Operator* I16x8UConvertI32x4();
501 const Operator* I16x8AddSaturateU(); 511 const Operator* I16x8AddSaturateU();
502 const Operator* I16x8SubSaturateU(); 512 const Operator* I16x8SubSaturateU();
503 const Operator* I16x8MinU(); 513 const Operator* I16x8MinU();
504 const Operator* I16x8MaxU(); 514 const Operator* I16x8MaxU();
505 const Operator* I16x8LtU(); 515 const Operator* I16x8LtU();
506 const Operator* I16x8LeU(); 516 const Operator* I16x8LeU();
507 517
508 const Operator* I8x16Splat(); 518 const Operator* I8x16Splat();
509 const Operator* I8x16ExtractLane(int32_t); 519 const Operator* I8x16ExtractLane(int32_t);
510 const Operator* I8x16ReplaceLane(int32_t); 520 const Operator* I8x16ReplaceLane(int32_t);
511 const Operator* I8x16Neg(); 521 const Operator* I8x16Neg();
512 const Operator* I8x16Shl(int32_t); 522 const Operator* I8x16Shl(int32_t);
513 const Operator* I8x16ShrS(int32_t); 523 const Operator* I8x16ShrS(int32_t);
524 const Operator* I8x16SConvertI16x8();
514 const Operator* I8x16Add(); 525 const Operator* I8x16Add();
515 const Operator* I8x16AddSaturateS(); 526 const Operator* I8x16AddSaturateS();
516 const Operator* I8x16Sub(); 527 const Operator* I8x16Sub();
517 const Operator* I8x16SubSaturateS(); 528 const Operator* I8x16SubSaturateS();
518 const Operator* I8x16Mul(); 529 const Operator* I8x16Mul();
519 const Operator* I8x16MinS(); 530 const Operator* I8x16MinS();
520 const Operator* I8x16MaxS(); 531 const Operator* I8x16MaxS();
521 const Operator* I8x16Eq(); 532 const Operator* I8x16Eq();
522 const Operator* I8x16Ne(); 533 const Operator* I8x16Ne();
523 const Operator* I8x16LtS(); 534 const Operator* I8x16LtS();
524 const Operator* I8x16LeS(); 535 const Operator* I8x16LeS();
525 536
526 const Operator* I8x16ShrU(int32_t); 537 const Operator* I8x16ShrU(int32_t);
538 const Operator* I8x16UConvertI16x8();
527 const Operator* I8x16AddSaturateU(); 539 const Operator* I8x16AddSaturateU();
528 const Operator* I8x16SubSaturateU(); 540 const Operator* I8x16SubSaturateU();
529 const Operator* I8x16MinU(); 541 const Operator* I8x16MinU();
530 const Operator* I8x16MaxU(); 542 const Operator* I8x16MaxU();
531 const Operator* I8x16LtU(); 543 const Operator* I8x16LtU();
532 const Operator* I8x16LeU(); 544 const Operator* I8x16LeU();
533 545
534 const Operator* S128Load(); 546 const Operator* S128Load();
535 const Operator* S128Store(); 547 const Operator* S128Store();
536 548
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 }; 680 };
669 681
670 682
671 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 683 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
672 684
673 } // namespace compiler 685 } // namespace compiler
674 } // namespace internal 686 } // namespace internal
675 } // namespace v8 687 } // namespace v8
676 688
677 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 689 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698