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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 Node* Float32LessThan(Node* a, Node* b) { | 451 Node* Float32LessThan(Node* a, Node* b) { |
452 return AddNode(machine()->Float32LessThan(), a, b); | 452 return AddNode(machine()->Float32LessThan(), a, b); |
453 } | 453 } |
454 Node* Float32LessThanOrEqual(Node* a, Node* b) { | 454 Node* Float32LessThanOrEqual(Node* a, Node* b) { |
455 return AddNode(machine()->Float32LessThanOrEqual(), a, b); | 455 return AddNode(machine()->Float32LessThanOrEqual(), a, b); |
456 } | 456 } |
457 Node* Float32GreaterThan(Node* a, Node* b) { return Float32LessThan(b, a); } | 457 Node* Float32GreaterThan(Node* a, Node* b) { return Float32LessThan(b, a); } |
458 Node* Float32GreaterThanOrEqual(Node* a, Node* b) { | 458 Node* Float32GreaterThanOrEqual(Node* a, Node* b) { |
459 return Float32LessThanOrEqual(b, a); | 459 return Float32LessThanOrEqual(b, a); |
460 } | 460 } |
461 | 461 Node* Float32Max(Node* a, Node* b) { |
| 462 return AddNode(machine()->Float32Max(), a, b); |
| 463 } |
| 464 Node* Float32Min(Node* a, Node* b) { |
| 465 return AddNode(machine()->Float32Min(), a, b); |
| 466 } |
462 Node* Float64Add(Node* a, Node* b) { | 467 Node* Float64Add(Node* a, Node* b) { |
463 return AddNode(machine()->Float64Add(), a, b); | 468 return AddNode(machine()->Float64Add(), a, b); |
464 } | 469 } |
465 Node* Float64Sub(Node* a, Node* b) { | 470 Node* Float64Sub(Node* a, Node* b) { |
466 return AddNode(machine()->Float64Sub(), a, b); | 471 return AddNode(machine()->Float64Sub(), a, b); |
467 } | 472 } |
468 Node* Float64Mul(Node* a, Node* b) { | 473 Node* Float64Mul(Node* a, Node* b) { |
469 return AddNode(machine()->Float64Mul(), a, b); | 474 return AddNode(machine()->Float64Mul(), a, b); |
470 } | 475 } |
471 Node* Float64Div(Node* a, Node* b) { | 476 Node* Float64Div(Node* a, Node* b) { |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 bool deferred_; | 831 bool deferred_; |
827 friend class RawMachineAssembler; | 832 friend class RawMachineAssembler; |
828 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 833 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
829 }; | 834 }; |
830 | 835 |
831 } // namespace compiler | 836 } // namespace compiler |
832 } // namespace internal | 837 } // namespace internal |
833 } // namespace v8 | 838 } // namespace v8 |
834 | 839 |
835 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 840 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |