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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 } | 488 } |
489 Node* Float64RoundDown(Node* a) { | 489 Node* Float64RoundDown(Node* a) { |
490 return AddNode(machine()->Float64RoundDown().op(), a); | 490 return AddNode(machine()->Float64RoundDown().op(), a); |
491 } | 491 } |
492 Node* Float32RoundUp(Node* a) { | 492 Node* Float32RoundUp(Node* a) { |
493 return AddNode(machine()->Float32RoundUp().op(), a); | 493 return AddNode(machine()->Float32RoundUp().op(), a); |
494 } | 494 } |
495 Node* Float64RoundUp(Node* a) { | 495 Node* Float64RoundUp(Node* a) { |
496 return AddNode(machine()->Float64RoundUp().op(), a); | 496 return AddNode(machine()->Float64RoundUp().op(), a); |
497 } | 497 } |
| 498 Node* Float32RoundTruncate(Node* a) { |
| 499 return AddNode(machine()->Float32RoundTruncate().op(), a); |
| 500 } |
498 Node* Float64RoundTruncate(Node* a) { | 501 Node* Float64RoundTruncate(Node* a) { |
499 return AddNode(machine()->Float64RoundTruncate().op(), a); | 502 return AddNode(machine()->Float64RoundTruncate().op(), a); |
500 } | 503 } |
501 Node* Float64RoundTiesAway(Node* a) { | 504 Node* Float64RoundTiesAway(Node* a) { |
502 return AddNode(machine()->Float64RoundTiesAway().op(), a); | 505 return AddNode(machine()->Float64RoundTiesAway().op(), a); |
503 } | 506 } |
504 Node* Float64RoundTiesEven(Node* a) { | 507 Node* Float64RoundTiesEven(Node* a) { |
505 return AddNode(machine()->Float64RoundTiesEven().op(), a); | 508 return AddNode(machine()->Float64RoundTiesEven().op(), a); |
506 } | 509 } |
507 | 510 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 BasicBlock* current_block_; | 638 BasicBlock* current_block_; |
636 | 639 |
637 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 640 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
638 }; | 641 }; |
639 | 642 |
640 } // namespace compiler | 643 } // namespace compiler |
641 } // namespace internal | 644 } // namespace internal |
642 } // namespace v8 | 645 } // namespace v8 |
643 | 646 |
644 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 647 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |