| OLD | NEW | 
|---|
| 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 532 | 532 | 
| 533 void InstructionSelector::VisitWord32Shr(Node* node) { | 533 void InstructionSelector::VisitWord32Shr(Node* node) { | 
| 534   VisitShift(this, node, kX87Shr); | 534   VisitShift(this, node, kX87Shr); | 
| 535 } | 535 } | 
| 536 | 536 | 
| 537 | 537 | 
| 538 void InstructionSelector::VisitWord32Sar(Node* node) { | 538 void InstructionSelector::VisitWord32Sar(Node* node) { | 
| 539   VisitShift(this, node, kX87Sar); | 539   VisitShift(this, node, kX87Sar); | 
| 540 } | 540 } | 
| 541 | 541 | 
|  | 542 void InstructionSelector::VisitWasmWord64Shl(Node* node) { UNIMPLEMENTED(); } | 
| 542 | 543 | 
| 543 void InstructionSelector::VisitWord32Ror(Node* node) { | 544 void InstructionSelector::VisitWord32Ror(Node* node) { | 
| 544   VisitShift(this, node, kX87Ror); | 545   VisitShift(this, node, kX87Ror); | 
| 545 } | 546 } | 
| 546 | 547 | 
| 547 | 548 | 
| 548 void InstructionSelector::VisitWord32Clz(Node* node) { | 549 void InstructionSelector::VisitWord32Clz(Node* node) { | 
| 549   X87OperandGenerator g(this); | 550   X87OperandGenerator g(this); | 
| 550   Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 551   Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 
| 551 } | 552 } | 
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1425            MachineOperatorBuilder::kFloat32RoundTruncate | | 1426            MachineOperatorBuilder::kFloat32RoundTruncate | | 
| 1426            MachineOperatorBuilder::kFloat64RoundTruncate | | 1427            MachineOperatorBuilder::kFloat64RoundTruncate | | 
| 1427            MachineOperatorBuilder::kFloat32RoundTiesEven | | 1428            MachineOperatorBuilder::kFloat32RoundTiesEven | | 
| 1428            MachineOperatorBuilder::kFloat64RoundTiesEven; | 1429            MachineOperatorBuilder::kFloat64RoundTiesEven; | 
| 1429   return flags; | 1430   return flags; | 
| 1430 } | 1431 } | 
| 1431 | 1432 | 
| 1432 }  // namespace compiler | 1433 }  // namespace compiler | 
| 1433 }  // namespace internal | 1434 }  // namespace internal | 
| 1434 }  // namespace v8 | 1435 }  // namespace v8 | 
| OLD | NEW | 
|---|