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

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

Issue 2060233002: [turbofan] Prevent storing signalling NaNs into holey double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Test Created 4 years, 6 months 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
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/machine-type.h" 9 #include "src/machine-type.h"
10 10
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // Floating point logarithm (double-precision). 371 // Floating point logarithm (double-precision).
372 const Operator* Float64Log(); 372 const Operator* Float64Log();
373 const Operator* Float64Log1p(); 373 const Operator* Float64Log1p();
374 374
375 // Floating point bit representation. 375 // Floating point bit representation.
376 const Operator* Float64ExtractLowWord32(); 376 const Operator* Float64ExtractLowWord32();
377 const Operator* Float64ExtractHighWord32(); 377 const Operator* Float64ExtractHighWord32();
378 const Operator* Float64InsertLowWord32(); 378 const Operator* Float64InsertLowWord32();
379 const Operator* Float64InsertHighWord32(); 379 const Operator* Float64InsertHighWord32();
380 380
381 // Change signalling NaN to quiet NaN.
382 // Identity for any input that is not signalling NaN.
383 const Operator* Float64SilenceNaN();
384
381 // SIMD operators. 385 // SIMD operators.
382 const Operator* CreateFloat32x4(); 386 const Operator* CreateFloat32x4();
383 const Operator* Float32x4ExtractLane(); 387 const Operator* Float32x4ExtractLane();
384 const Operator* Float32x4ReplaceLane(); 388 const Operator* Float32x4ReplaceLane();
385 const Operator* Float32x4Abs(); 389 const Operator* Float32x4Abs();
386 const Operator* Float32x4Neg(); 390 const Operator* Float32x4Neg();
387 const Operator* Float32x4Sqrt(); 391 const Operator* Float32x4Sqrt();
388 const Operator* Float32x4RecipApprox(); 392 const Operator* Float32x4RecipApprox();
389 const Operator* Float32x4RecipSqrtApprox(); 393 const Operator* Float32x4RecipSqrtApprox();
390 const Operator* Float32x4Add(); 394 const Operator* Float32x4Add();
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 }; 647 };
644 648
645 649
646 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 650 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
647 651
648 } // namespace compiler 652 } // namespace compiler
649 } // namespace internal 653 } // namespace internal
650 } // namespace v8 654 } // namespace v8
651 655
652 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 656 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698