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/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
10 | 10 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 bool HasFloat64RoundTiesAway() { return flags_ & kFloat64RoundTiesAway; } | 212 bool HasFloat64RoundTiesAway() { return flags_ & kFloat64RoundTiesAway; } |
213 | 213 |
214 // Floating point bit representation. | 214 // Floating point bit representation. |
215 const Operator* Float64ExtractLowWord32(); | 215 const Operator* Float64ExtractLowWord32(); |
216 const Operator* Float64ExtractHighWord32(); | 216 const Operator* Float64ExtractHighWord32(); |
217 const Operator* Float64InsertLowWord32(); | 217 const Operator* Float64InsertLowWord32(); |
218 const Operator* Float64InsertHighWord32(); | 218 const Operator* Float64InsertHighWord32(); |
219 | 219 |
220 // load [base + index] | 220 // load [base + index] |
221 const Operator* Load(LoadRepresentation rep); | 221 const Operator* Load(LoadRepresentation rep); |
| 222 const Operator* LoadAtomic(LoadRepresentation rep); |
222 | 223 |
223 // store [base + index], value | 224 // store [base + index], value |
224 const Operator* Store(StoreRepresentation rep); | 225 const Operator* Store(StoreRepresentation rep); |
225 | 226 |
226 // Access to the machine stack. | 227 // Access to the machine stack. |
227 const Operator* LoadStackPointer(); | 228 const Operator* LoadStackPointer(); |
228 | 229 |
229 // checked-load heap, index, length | 230 // checked-load heap, index, length |
230 const Operator* CheckedLoad(CheckedLoadRepresentation); | 231 const Operator* CheckedLoad(CheckedLoadRepresentation); |
231 // checked-store heap, index, length, value | 232 // checked-store heap, index, length, value |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 }; | 276 }; |
276 | 277 |
277 | 278 |
278 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 279 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
279 | 280 |
280 } // namespace compiler | 281 } // namespace compiler |
281 } // namespace internal | 282 } // namespace internal |
282 } // namespace v8 | 283 } // namespace v8 |
283 | 284 |
284 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 285 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |