OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/compiler/representation-change.h" | 5 #include "src/compiler/representation-change.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 case IrOpcode::kNumberFround: | 744 case IrOpcode::kNumberFround: |
745 return machine()->TruncateFloat64ToFloat32(); | 745 return machine()->TruncateFloat64ToFloat32(); |
746 case IrOpcode::kNumberLog: | 746 case IrOpcode::kNumberLog: |
747 return machine()->Float64Log(); | 747 return machine()->Float64Log(); |
748 case IrOpcode::kNumberLog1p: | 748 case IrOpcode::kNumberLog1p: |
749 return machine()->Float64Log1p(); | 749 return machine()->Float64Log1p(); |
750 case IrOpcode::kNumberLog2: | 750 case IrOpcode::kNumberLog2: |
751 return machine()->Float64Log2(); | 751 return machine()->Float64Log2(); |
752 case IrOpcode::kNumberLog10: | 752 case IrOpcode::kNumberLog10: |
753 return machine()->Float64Log10(); | 753 return machine()->Float64Log10(); |
| 754 case IrOpcode::kNumberMax: |
| 755 return machine()->Float64Max(); |
| 756 case IrOpcode::kNumberMin: |
| 757 return machine()->Float64Min(); |
754 case IrOpcode::kNumberPow: | 758 case IrOpcode::kNumberPow: |
755 return machine()->Float64Pow(); | 759 return machine()->Float64Pow(); |
756 case IrOpcode::kNumberSin: | 760 case IrOpcode::kNumberSin: |
757 return machine()->Float64Sin(); | 761 return machine()->Float64Sin(); |
758 case IrOpcode::kNumberSinh: | 762 case IrOpcode::kNumberSinh: |
759 return machine()->Float64Sinh(); | 763 return machine()->Float64Sinh(); |
760 case IrOpcode::kNumberSqrt: | 764 case IrOpcode::kNumberSqrt: |
761 return machine()->Float64Sqrt(); | 765 return machine()->Float64Sqrt(); |
762 case IrOpcode::kNumberTan: | 766 case IrOpcode::kNumberTan: |
763 return machine()->Float64Tan(); | 767 return machine()->Float64Tan(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 } | 818 } |
815 | 819 |
816 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { | 820 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { |
817 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), | 821 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), |
818 node); | 822 node); |
819 } | 823 } |
820 | 824 |
821 } // namespace compiler | 825 } // namespace compiler |
822 } // namespace internal | 826 } // namespace internal |
823 } // namespace v8 | 827 } // namespace v8 |
OLD | NEW |