| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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* Float64Acos(Node* a) { return AddNode(machine()->Float64Acos(), a); } |
| 464 Node* Float64Acosh(Node* a) { return AddNode(machine()->Float64Acosh(), a); } |
| 465 Node* Float64Asin(Node* a) { return AddNode(machine()->Float64Asin(), a); } |
| 466 Node* Float64Asinh(Node* a) { return AddNode(machine()->Float64Asinh(), a); } |
| 463 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); } | 467 Node* Float64Atan(Node* a) { return AddNode(machine()->Float64Atan(), a); } |
| 468 Node* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); } |
| 464 Node* Float64Atan2(Node* a, Node* b) { | 469 Node* Float64Atan2(Node* a, Node* b) { |
| 465 return AddNode(machine()->Float64Atan2(), a, b); | 470 return AddNode(machine()->Float64Atan2(), a, b); |
| 466 } | 471 } |
| 467 Node* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); } | |
| 468 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); } | 472 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); } |
| 469 Node* Float64Cos(Node* a) { return AddNode(machine()->Float64Cos(), a); } | 473 Node* Float64Cos(Node* a) { return AddNode(machine()->Float64Cos(), a); } |
| 470 Node* Float64Cosh(Node* a) { return AddNode(machine()->Float64Cosh(), a); } | 474 Node* Float64Cosh(Node* a) { return AddNode(machine()->Float64Cosh(), a); } |
| 471 Node* Float64Exp(Node* a) { return AddNode(machine()->Float64Exp(), a); } | 475 Node* Float64Exp(Node* a) { return AddNode(machine()->Float64Exp(), a); } |
| 472 Node* Float64Expm1(Node* a) { return AddNode(machine()->Float64Expm1(), a); } | 476 Node* Float64Expm1(Node* a) { return AddNode(machine()->Float64Expm1(), a); } |
| 473 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } | 477 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } |
| 474 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } | 478 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } |
| 475 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } | 479 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } |
| 476 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } | 480 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } |
| 477 Node* Float64Pow(Node* a, Node* b) { | 481 Node* Float64Pow(Node* a, Node* b) { |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 bool deferred_; | 795 bool deferred_; |
| 792 friend class RawMachineAssembler; | 796 friend class RawMachineAssembler; |
| 793 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 797 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 794 }; | 798 }; |
| 795 | 799 |
| 796 } // namespace compiler | 800 } // namespace compiler |
| 797 } // namespace internal | 801 } // namespace internal |
| 798 } // namespace v8 | 802 } // namespace v8 |
| 799 | 803 |
| 800 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 804 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |