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

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

Issue 1756863002: [wasm] Int64Lowering of I64Shl on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forgot to turn off the test for arm. Created 4 years, 9 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/wasm-compiler.cc ('k') | src/ia32/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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 539
540 void InstructionSelector::VisitWord32Shr(Node* node) { 540 void InstructionSelector::VisitWord32Shr(Node* node) {
541 VisitShift(this, node, kX87Shr); 541 VisitShift(this, node, kX87Shr);
542 } 542 }
543 543
544 544
545 void InstructionSelector::VisitWord32Sar(Node* node) { 545 void InstructionSelector::VisitWord32Sar(Node* node) {
546 VisitShift(this, node, kX87Sar); 546 VisitShift(this, node, kX87Sar);
547 } 547 }
548 548
549 void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); }
549 550
550 void InstructionSelector::VisitWord32Ror(Node* node) { 551 void InstructionSelector::VisitWord32Ror(Node* node) {
551 VisitShift(this, node, kX87Ror); 552 VisitShift(this, node, kX87Ror);
552 } 553 }
553 554
554 555
555 void InstructionSelector::VisitWord32Clz(Node* node) { 556 void InstructionSelector::VisitWord32Clz(Node* node) {
556 X87OperandGenerator g(this); 557 X87OperandGenerator g(this);
557 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); 558 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0)));
558 } 559 }
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 MachineOperatorBuilder::kFloat32RoundTruncate | 1467 MachineOperatorBuilder::kFloat32RoundTruncate |
1467 MachineOperatorBuilder::kFloat64RoundTruncate | 1468 MachineOperatorBuilder::kFloat64RoundTruncate |
1468 MachineOperatorBuilder::kFloat32RoundTiesEven | 1469 MachineOperatorBuilder::kFloat32RoundTiesEven |
1469 MachineOperatorBuilder::kFloat64RoundTiesEven; 1470 MachineOperatorBuilder::kFloat64RoundTiesEven;
1470 return flags; 1471 return flags;
1471 } 1472 }
1472 1473
1473 } // namespace compiler 1474 } // namespace compiler
1474 } // namespace internal 1475 } // namespace internal
1475 } // namespace v8 1476 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698