| 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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 } | 476 } |
| 477 Node* BitcastFloat64ToInt64(Node* a) { | 477 Node* BitcastFloat64ToInt64(Node* a) { |
| 478 return AddNode(machine()->BitcastFloat64ToInt64(), a); | 478 return AddNode(machine()->BitcastFloat64ToInt64(), a); |
| 479 } | 479 } |
| 480 Node* BitcastInt32ToFloat32(Node* a) { | 480 Node* BitcastInt32ToFloat32(Node* a) { |
| 481 return AddNode(machine()->BitcastInt32ToFloat32(), a); | 481 return AddNode(machine()->BitcastInt32ToFloat32(), a); |
| 482 } | 482 } |
| 483 Node* BitcastInt64ToFloat64(Node* a) { | 483 Node* BitcastInt64ToFloat64(Node* a) { |
| 484 return AddNode(machine()->BitcastInt64ToFloat64(), a); | 484 return AddNode(machine()->BitcastInt64ToFloat64(), a); |
| 485 } | 485 } |
| 486 Node* Float32RoundDown(Node* a) { |
| 487 return AddNode(machine()->Float32RoundDown().op(), a); |
| 488 } |
| 486 Node* Float64RoundDown(Node* a) { | 489 Node* Float64RoundDown(Node* a) { |
| 487 return AddNode(machine()->Float64RoundDown().op(), a); | 490 return AddNode(machine()->Float64RoundDown().op(), a); |
| 488 } | 491 } |
| 489 Node* Float64RoundUp(Node* a) { | 492 Node* Float64RoundUp(Node* a) { |
| 490 return AddNode(machine()->Float64RoundUp().op(), a); | 493 return AddNode(machine()->Float64RoundUp().op(), a); |
| 491 } | 494 } |
| 492 Node* Float64RoundTruncate(Node* a) { | 495 Node* Float64RoundTruncate(Node* a) { |
| 493 return AddNode(machine()->Float64RoundTruncate().op(), a); | 496 return AddNode(machine()->Float64RoundTruncate().op(), a); |
| 494 } | 497 } |
| 495 Node* Float64RoundTiesAway(Node* a) { | 498 Node* Float64RoundTiesAway(Node* a) { |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 BasicBlock* current_block_; | 632 BasicBlock* current_block_; |
| 630 | 633 |
| 631 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 634 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 632 }; | 635 }; |
| 633 | 636 |
| 634 } // namespace compiler | 637 } // namespace compiler |
| 635 } // namespace internal | 638 } // namespace internal |
| 636 } // namespace v8 | 639 } // namespace v8 |
| 637 | 640 |
| 638 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 641 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |