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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); } | 467 Node* Float64Atanh(Node* a) { return AddNode(machine()->Float64Atanh(), a); } |
468 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); } | 468 Node* Float64Cbrt(Node* a) { return AddNode(machine()->Float64Cbrt(), a); } |
469 Node* Float64Cos(Node* a) { return AddNode(machine()->Float64Cos(), a); } | 469 Node* Float64Cos(Node* a) { return AddNode(machine()->Float64Cos(), a); } |
| 470 Node* Float64Cosh(Node* a) { return AddNode(machine()->Float64Cosh(), a); } |
470 Node* Float64Exp(Node* a) { return AddNode(machine()->Float64Exp(), a); } | 471 Node* Float64Exp(Node* a) { return AddNode(machine()->Float64Exp(), a); } |
471 Node* Float64Expm1(Node* a) { return AddNode(machine()->Float64Expm1(), a); } | 472 Node* Float64Expm1(Node* a) { return AddNode(machine()->Float64Expm1(), a); } |
472 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } | 473 Node* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } |
473 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } | 474 Node* Float64Log1p(Node* a) { return AddNode(machine()->Float64Log1p(), a); } |
474 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } | 475 Node* Float64Log10(Node* a) { return AddNode(machine()->Float64Log10(), a); } |
475 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } | 476 Node* Float64Log2(Node* a) { return AddNode(machine()->Float64Log2(), a); } |
476 Node* Float64Pow(Node* a, Node* b) { | 477 Node* Float64Pow(Node* a, Node* b) { |
477 return AddNode(machine()->Float64Pow(), a, b); | 478 return AddNode(machine()->Float64Pow(), a, b); |
478 } | 479 } |
479 Node* Float64Sin(Node* a) { return AddNode(machine()->Float64Sin(), a); } | 480 Node* Float64Sin(Node* a) { return AddNode(machine()->Float64Sin(), a); } |
| 481 Node* Float64Sinh(Node* a) { return AddNode(machine()->Float64Sinh(), a); } |
480 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } | 482 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } |
481 Node* Float64Tan(Node* a) { return AddNode(machine()->Float64Tan(), a); } | 483 Node* Float64Tan(Node* a) { return AddNode(machine()->Float64Tan(), a); } |
| 484 Node* Float64Tanh(Node* a) { return AddNode(machine()->Float64Tanh(), a); } |
482 Node* Float64Equal(Node* a, Node* b) { | 485 Node* Float64Equal(Node* a, Node* b) { |
483 return AddNode(machine()->Float64Equal(), a, b); | 486 return AddNode(machine()->Float64Equal(), a, b); |
484 } | 487 } |
485 Node* Float64NotEqual(Node* a, Node* b) { | 488 Node* Float64NotEqual(Node* a, Node* b) { |
486 return Word32BinaryNot(Float64Equal(a, b)); | 489 return Word32BinaryNot(Float64Equal(a, b)); |
487 } | 490 } |
488 Node* Float64LessThan(Node* a, Node* b) { | 491 Node* Float64LessThan(Node* a, Node* b) { |
489 return AddNode(machine()->Float64LessThan(), a, b); | 492 return AddNode(machine()->Float64LessThan(), a, b); |
490 } | 493 } |
491 Node* Float64LessThanOrEqual(Node* a, Node* b) { | 494 Node* Float64LessThanOrEqual(Node* a, Node* b) { |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 bool deferred_; | 791 bool deferred_; |
789 friend class RawMachineAssembler; | 792 friend class RawMachineAssembler; |
790 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 793 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
791 }; | 794 }; |
792 | 795 |
793 } // namespace compiler | 796 } // namespace compiler |
794 } // namespace internal | 797 } // namespace internal |
795 } // namespace v8 | 798 } // namespace v8 |
796 | 799 |
797 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 800 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |