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* Float64Log(Node* a) { return AddNode(machine()->Float64Log(), a); } |
463 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } | 464 Node* Float64Sqrt(Node* a) { return AddNode(machine()->Float64Sqrt(), a); } |
464 Node* Float64Equal(Node* a, Node* b) { | 465 Node* Float64Equal(Node* a, Node* b) { |
465 return AddNode(machine()->Float64Equal(), a, b); | 466 return AddNode(machine()->Float64Equal(), a, b); |
466 } | 467 } |
467 Node* Float64NotEqual(Node* a, Node* b) { | 468 Node* Float64NotEqual(Node* a, Node* b) { |
468 return Word32BinaryNot(Float64Equal(a, b)); | 469 return Word32BinaryNot(Float64Equal(a, b)); |
469 } | 470 } |
470 Node* Float64LessThan(Node* a, Node* b) { | 471 Node* Float64LessThan(Node* a, Node* b) { |
471 return AddNode(machine()->Float64LessThan(), a, b); | 472 return AddNode(machine()->Float64LessThan(), a, b); |
472 } | 473 } |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 bool deferred_; | 770 bool deferred_; |
770 friend class RawMachineAssembler; | 771 friend class RawMachineAssembler; |
771 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 772 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
772 }; | 773 }; |
773 | 774 |
774 } // namespace compiler | 775 } // namespace compiler |
775 } // namespace internal | 776 } // namespace internal |
776 } // namespace v8 | 777 } // namespace v8 |
777 | 778 |
778 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 779 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |