OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
7 | 7 |
8 #include "src/compiler/machine-type.h" | 8 #include "src/compiler/machine-type.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 const Operator* TruncateFloat64ToFloat32(); | 122 const Operator* TruncateFloat64ToFloat32(); |
123 const Operator* TruncateFloat64ToInt32(); // JavaScript semantics. | 123 const Operator* TruncateFloat64ToInt32(); // JavaScript semantics. |
124 const Operator* TruncateInt64ToInt32(); | 124 const Operator* TruncateInt64ToInt32(); |
125 | 125 |
126 // Floating point operators always operate with IEEE 754 round-to-nearest. | 126 // Floating point operators always operate with IEEE 754 round-to-nearest. |
127 const Operator* Float64Add(); | 127 const Operator* Float64Add(); |
128 const Operator* Float64Sub(); | 128 const Operator* Float64Sub(); |
129 const Operator* Float64Mul(); | 129 const Operator* Float64Mul(); |
130 const Operator* Float64Div(); | 130 const Operator* Float64Div(); |
131 const Operator* Float64Mod(); | 131 const Operator* Float64Mod(); |
| 132 const Operator* Float64Sqrt(); |
132 | 133 |
133 // Floating point comparisons complying to IEEE 754. | 134 // Floating point comparisons complying to IEEE 754. |
134 const Operator* Float64Equal(); | 135 const Operator* Float64Equal(); |
135 const Operator* Float64LessThan(); | 136 const Operator* Float64LessThan(); |
136 const Operator* Float64LessThanOrEqual(); | 137 const Operator* Float64LessThanOrEqual(); |
137 | 138 |
138 // load [base + index] | 139 // load [base + index] |
139 const Operator* Load(LoadRepresentation rep); | 140 const Operator* Load(LoadRepresentation rep); |
140 | 141 |
141 // store [base + index], value | 142 // store [base + index], value |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 private: | 178 private: |
178 const MachineOperatorBuilderImpl& impl_; | 179 const MachineOperatorBuilderImpl& impl_; |
179 const MachineType word_; | 180 const MachineType word_; |
180 }; | 181 }; |
181 | 182 |
182 } // namespace compiler | 183 } // namespace compiler |
183 } // namespace internal | 184 } // namespace internal |
184 } // namespace v8 | 185 } // namespace v8 |
185 | 186 |
186 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 187 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |