| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  207   const Operator* ChangeUint32ToFloat64(); |  207   const Operator* ChangeUint32ToFloat64(); | 
|  208   const Operator* ChangeUint32ToUint64(); |  208   const Operator* ChangeUint32ToUint64(); | 
|  209  |  209  | 
|  210   // These operators truncate or round numbers, both changing the representation |  210   // These operators truncate or round numbers, both changing the representation | 
|  211   // of the number and mapping multiple input values onto the same output value. |  211   // of the number and mapping multiple input values onto the same output value. | 
|  212   const Operator* TruncateFloat64ToFloat32(); |  212   const Operator* TruncateFloat64ToFloat32(); | 
|  213   const Operator* TruncateFloat64ToInt32(TruncationMode); |  213   const Operator* TruncateFloat64ToInt32(TruncationMode); | 
|  214   const Operator* TruncateInt64ToInt32(); |  214   const Operator* TruncateInt64ToInt32(); | 
|  215   const Operator* RoundInt64ToFloat32(); |  215   const Operator* RoundInt64ToFloat32(); | 
|  216   const Operator* RoundInt64ToFloat64(); |  216   const Operator* RoundInt64ToFloat64(); | 
 |  217   const Operator* RoundUint64ToFloat32(); | 
|  217   const Operator* RoundUint64ToFloat64(); |  218   const Operator* RoundUint64ToFloat64(); | 
|  218  |  219  | 
|  219   // These operators reinterpret the bits of a floating point number as an |  220   // These operators reinterpret the bits of a floating point number as an | 
|  220   // integer and vice versa. |  221   // integer and vice versa. | 
|  221   const Operator* BitcastFloat32ToInt32(); |  222   const Operator* BitcastFloat32ToInt32(); | 
|  222   const Operator* BitcastFloat64ToInt64(); |  223   const Operator* BitcastFloat64ToInt64(); | 
|  223   const Operator* BitcastInt32ToFloat32(); |  224   const Operator* BitcastInt32ToFloat32(); | 
|  224   const Operator* BitcastInt64ToFloat64(); |  225   const Operator* BitcastInt64ToFloat64(); | 
|  225  |  226  | 
|  226   // Floating point operators always operate with IEEE 754 round-to-nearest |  227   // Floating point operators always operate with IEEE 754 round-to-nearest | 
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  335 }; |  336 }; | 
|  336  |  337  | 
|  337  |  338  | 
|  338 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |  339 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 
|  339  |  340  | 
|  340 }  // namespace compiler |  341 }  // namespace compiler | 
|  341 }  // namespace internal |  342 }  // namespace internal | 
|  342 }  // namespace v8 |  343 }  // namespace v8 | 
|  343  |  344  | 
|  344 #endif  // V8_COMPILER_MACHINE_OPERATOR_H_ |  345 #endif  // V8_COMPILER_MACHINE_OPERATOR_H_ | 
| OLD | NEW |