Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: src/compiler/machine-operator.h

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reformated the test Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698