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

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

Issue 2063693002: [builtins] Introduce proper Float64Log2 and Float64Log10 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More precise log10. 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
« no previous file with comments | « src/compiler/js-builtin-reducer.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/machine-type.h" 9 #include "src/machine-type.h"
10 10
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 const OptionalOperator Float32Neg(); 368 const OptionalOperator Float32Neg();
369 const OptionalOperator Float64Neg(); 369 const OptionalOperator Float64Neg();
370 370
371 // Floating point trigonometric functions (double-precision). 371 // Floating point trigonometric functions (double-precision).
372 const Operator* Float64Atan(); 372 const Operator* Float64Atan();
373 const Operator* Float64Atan2(); 373 const Operator* Float64Atan2();
374 374
375 // Floating point logarithm (double-precision). 375 // Floating point logarithm (double-precision).
376 const Operator* Float64Log(); 376 const Operator* Float64Log();
377 const Operator* Float64Log1p(); 377 const Operator* Float64Log1p();
378 const Operator* Float64Log2();
379 const Operator* Float64Log10();
378 380
379 // Floating point bit representation. 381 // Floating point bit representation.
380 const Operator* Float64ExtractLowWord32(); 382 const Operator* Float64ExtractLowWord32();
381 const Operator* Float64ExtractHighWord32(); 383 const Operator* Float64ExtractHighWord32();
382 const Operator* Float64InsertLowWord32(); 384 const Operator* Float64InsertLowWord32();
383 const Operator* Float64InsertHighWord32(); 385 const Operator* Float64InsertHighWord32();
384 386
385 // Change signalling NaN to quiet NaN. 387 // Change signalling NaN to quiet NaN.
386 // Identity for any input that is not signalling NaN. 388 // Identity for any input that is not signalling NaN.
387 const Operator* Float64SilenceNaN(); 389 const Operator* Float64SilenceNaN();
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 }; 653 };
652 654
653 655
654 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 656 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
655 657
656 } // namespace compiler 658 } // namespace compiler
657 } // namespace internal 659 } // namespace internal
658 } // namespace v8 660 } // namespace v8
659 661
660 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 662 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698