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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 2065503002: [builtins] Introduce proper Float64Atan and Float64Atan2 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [WIP] Fix GCC/Win32. 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/opcodes.h ('k') | src/compiler/representation-change.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 return AddNode(machine()->Float64Mod(), a, b); 453 return AddNode(machine()->Float64Mod(), a, b);
454 } 454 }
455 Node* Float64Max(Node* a, Node* b) { 455 Node* Float64Max(Node* a, Node* b) {
456 return AddNode(machine()->Float64Max().op(), a, b); 456 return AddNode(machine()->Float64Max().op(), a, b);
457 } 457 }
458 Node* Float64Min(Node* a, Node* b) { 458 Node* Float64Min(Node* a, Node* b) {
459 return AddNode(machine()->Float64Min().op(), a, b); 459 return AddNode(machine()->Float64Min().op(), a, b);
460 } 460 }
461 Node* Float64Abs(Node* a) { return AddNode(machine()->Float64Abs(), a); } 461 Node* Float64Abs(Node* a) { return AddNode(machine()->Float64Abs(), a); }
462 Node* Float64Neg(Node* a) { return Float64Sub(Float64Constant(-0.0), a); } 462 Node* Float64Neg(Node* a) { return Float64Sub(Float64Constant(-0.0), a); }
463 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); }
464 Node* Float64Atan2(Node* a, Node* b) {
465 return AddNode(machine()->Float64Atan2(), a, b);
466 }
463 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } 467 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); }
464 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } 468 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); }
465 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } 469 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); }
466 Node* Float64Equal(Node* a, Node* b) { 470 Node* Float64Equal(Node* a, Node* b) {
467 return AddNode(machine()->Float64Equal(), a, b); 471 return AddNode(machine()->Float64Equal(), a, b);
468 } 472 }
469 Node* Float64NotEqual(Node* a, Node* b) { 473 Node* Float64NotEqual(Node* a, Node* b) {
470 return Word32BinaryNot(Float64Equal(a, b)); 474 return Word32BinaryNot(Float64Equal(a, b));
471 } 475 }
472 Node* Float64LessThan(Node* a, Node* b) { 476 Node* Float64LessThan(Node* a, Node* b) {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 bool deferred_; 776 bool deferred_;
773 friend class RawMachineAssembler; 777 friend class RawMachineAssembler;
774 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 778 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
775 }; 779 };
776 780
777 } // namespace compiler 781 } // namespace compiler
778 } // namespace internal 782 } // namespace internal
779 } // namespace v8 783 } // namespace v8
780 784
781 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 785 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698