OLD | NEW |
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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); } | 463 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); } |
464 Node* Float64Atan2(Node* a, Node* b) { | 464 Node* Float64Atan2(Node* a, Node* b) { |
465 return AddNode(machine()->Float64Atan2(), a, b); | 465 return AddNode(machine()->Float64Atan2(), a, b); |
466 } | 466 } |
467 Node* Float64Exp(Node* a) { return AddNode(machine()->Float64Exp(), a); } | |
468 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } | 467 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } |
469 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } | 468 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } |
470 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } | 469 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } |
471 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } | 470 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } |
472 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } | 471 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } |
473 Node* Float64Equal(Node* a, Node* b) { | 472 Node* Float64Equal(Node* a, Node* b) { |
474 return AddNode(machine()->Float64Equal(), a, b); | 473 return AddNode(machine()->Float64Equal(), a, b); |
475 } | 474 } |
476 Node* Float64NotEqual(Node* a, Node* b) { | 475 Node* Float64NotEqual(Node* a, Node* b) { |
477 return Word32BinaryNot(Float64Equal(a, b)); | 476 return Word32BinaryNot(Float64Equal(a, b)); |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 bool deferred_; | 778 bool deferred_; |
780 friend class RawMachineAssembler; | 779 friend class RawMachineAssembler; |
781 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 780 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
782 }; | 781 }; |
783 | 782 |
784 } // namespace compiler | 783 } // namespace compiler |
785 } // namespace internal | 784 } // namespace internal |
786 } // namespace v8 | 785 } // namespace v8 |
787 | 786 |
788 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 787 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |