| 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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 } | 475 } |
| 476 Node* BitcastInt32ToFloat32(Node* a) { | 476 Node* BitcastInt32ToFloat32(Node* a) { |
| 477 return AddNode(machine()->BitcastInt32ToFloat32(), a); | 477 return AddNode(machine()->BitcastInt32ToFloat32(), a); |
| 478 } | 478 } |
| 479 Node* BitcastInt64ToFloat64(Node* a) { | 479 Node* BitcastInt64ToFloat64(Node* a) { |
| 480 return AddNode(machine()->BitcastInt64ToFloat64(), a); | 480 return AddNode(machine()->BitcastInt64ToFloat64(), a); |
| 481 } | 481 } |
| 482 Node* Float64RoundDown(Node* a) { | 482 Node* Float64RoundDown(Node* a) { |
| 483 return AddNode(machine()->Float64RoundDown().op(), a); | 483 return AddNode(machine()->Float64RoundDown().op(), a); |
| 484 } | 484 } |
| 485 Node* Float64RoundUp(Node* a) { |
| 486 return AddNode(machine()->Float64RoundUp().op(), a); |
| 487 } |
| 485 Node* Float64RoundTruncate(Node* a) { | 488 Node* Float64RoundTruncate(Node* a) { |
| 486 return AddNode(machine()->Float64RoundTruncate().op(), a); | 489 return AddNode(machine()->Float64RoundTruncate().op(), a); |
| 487 } | 490 } |
| 488 Node* Float64RoundTiesAway(Node* a) { | 491 Node* Float64RoundTiesAway(Node* a) { |
| 489 return AddNode(machine()->Float64RoundTiesAway().op(), a); | 492 return AddNode(machine()->Float64RoundTiesAway().op(), a); |
| 490 } | 493 } |
| 491 | 494 |
| 492 // Float64 bit operations. | 495 // Float64 bit operations. |
| 493 Node* Float64ExtractLowWord32(Node* a) { | 496 Node* Float64ExtractLowWord32(Node* a) { |
| 494 return AddNode(machine()->Float64ExtractLowWord32(), a); | 497 return AddNode(machine()->Float64ExtractLowWord32(), a); |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 BasicBlock* current_block_; | 616 BasicBlock* current_block_; |
| 614 | 617 |
| 615 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 618 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 616 }; | 619 }; |
| 617 | 620 |
| 618 } // namespace compiler | 621 } // namespace compiler |
| 619 } // namespace internal | 622 } // namespace internal |
| 620 } // namespace v8 | 623 } // namespace v8 |
| 621 | 624 |
| 622 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 625 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |