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 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1616 return; | 1616 return; |
1617 } | 1617 } |
1618 Emit(kPPC_DoubleInsertHighWord32, g.DefineSameAsFirst(node), | 1618 Emit(kPPC_DoubleInsertHighWord32, g.DefineSameAsFirst(node), |
1619 g.UseRegister(left), g.UseRegister(right)); | 1619 g.UseRegister(left), g.UseRegister(right)); |
1620 } | 1620 } |
1621 | 1621 |
1622 | 1622 |
1623 // static | 1623 // static |
1624 MachineOperatorBuilder::Flags | 1624 MachineOperatorBuilder::Flags |
1625 InstructionSelector::SupportedMachineOperatorFlags() { | 1625 InstructionSelector::SupportedMachineOperatorFlags() { |
1626 return MachineOperatorBuilder::kFloat32Abs | | 1626 return MachineOperatorBuilder::kFloat32Max | |
1627 MachineOperatorBuilder::kFloat32Max | | |
1628 MachineOperatorBuilder::kFloat32Min | | 1627 MachineOperatorBuilder::kFloat32Min | |
1629 MachineOperatorBuilder::kFloat64Abs | | |
1630 MachineOperatorBuilder::kFloat64Max | | 1628 MachineOperatorBuilder::kFloat64Max | |
1631 MachineOperatorBuilder::kFloat64Min | | 1629 MachineOperatorBuilder::kFloat64Min | |
1632 MachineOperatorBuilder::kFloat64RoundDown | | 1630 MachineOperatorBuilder::kFloat64RoundDown | |
1633 MachineOperatorBuilder::kFloat64RoundTruncate | | 1631 MachineOperatorBuilder::kFloat64RoundTruncate | |
1634 MachineOperatorBuilder::kFloat64RoundTiesAway; | 1632 MachineOperatorBuilder::kFloat64RoundTiesAway; |
1635 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1633 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
1636 } | 1634 } |
1637 | 1635 |
1638 } // namespace compiler | 1636 } // namespace compiler |
1639 } // namespace internal | 1637 } // namespace internal |
1640 } // namespace v8 | 1638 } // namespace v8 |
OLD | NEW |