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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void InstructionSelector::VisitWord32PairShl(Node* node) { UNIMPLEMENTED(); } |
550 | 550 |
| 551 void InstructionSelector::VisitWord32PairShr(Node* node) { UNIMPLEMENTED(); } |
| 552 |
| 553 void InstructionSelector::VisitWord32PairSar(Node* node) { UNIMPLEMENTED(); } |
| 554 |
551 void InstructionSelector::VisitWord32Ror(Node* node) { | 555 void InstructionSelector::VisitWord32Ror(Node* node) { |
552 VisitShift(this, node, kX87Ror); | 556 VisitShift(this, node, kX87Ror); |
553 } | 557 } |
554 | 558 |
555 | 559 |
556 void InstructionSelector::VisitWord32Clz(Node* node) { | 560 void InstructionSelector::VisitWord32Clz(Node* node) { |
557 X87OperandGenerator g(this); | 561 X87OperandGenerator g(this); |
558 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); | 562 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); |
559 } | 563 } |
560 | 564 |
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1467 MachineOperatorBuilder::kFloat32RoundTruncate | | 1471 MachineOperatorBuilder::kFloat32RoundTruncate | |
1468 MachineOperatorBuilder::kFloat64RoundTruncate | | 1472 MachineOperatorBuilder::kFloat64RoundTruncate | |
1469 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1473 MachineOperatorBuilder::kFloat32RoundTiesEven | |
1470 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1474 MachineOperatorBuilder::kFloat64RoundTiesEven; |
1471 return flags; | 1475 return flags; |
1472 } | 1476 } |
1473 | 1477 |
1474 } // namespace compiler | 1478 } // namespace compiler |
1475 } // namespace internal | 1479 } // namespace internal |
1476 } // namespace v8 | 1480 } // namespace v8 |
OLD | NEW |