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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 } | 484 } |
485 Node* Float64RoundUp(Node* a) { | 485 Node* Float64RoundUp(Node* a) { |
486 return AddNode(machine()->Float64RoundUp().op(), a); | 486 return AddNode(machine()->Float64RoundUp().op(), a); |
487 } | 487 } |
488 Node* Float64RoundTruncate(Node* a) { | 488 Node* Float64RoundTruncate(Node* a) { |
489 return AddNode(machine()->Float64RoundTruncate().op(), a); | 489 return AddNode(machine()->Float64RoundTruncate().op(), a); |
490 } | 490 } |
491 Node* Float64RoundTiesAway(Node* a) { | 491 Node* Float64RoundTiesAway(Node* a) { |
492 return AddNode(machine()->Float64RoundTiesAway().op(), a); | 492 return AddNode(machine()->Float64RoundTiesAway().op(), a); |
493 } | 493 } |
| 494 Node* Float64RoundTiesEven(Node* a) { |
| 495 return AddNode(machine()->Float64RoundTiesEven().op(), a); |
| 496 } |
494 | 497 |
495 // Float64 bit operations. | 498 // Float64 bit operations. |
496 Node* Float64ExtractLowWord32(Node* a) { | 499 Node* Float64ExtractLowWord32(Node* a) { |
497 return AddNode(machine()->Float64ExtractLowWord32(), a); | 500 return AddNode(machine()->Float64ExtractLowWord32(), a); |
498 } | 501 } |
499 Node* Float64ExtractHighWord32(Node* a) { | 502 Node* Float64ExtractHighWord32(Node* a) { |
500 return AddNode(machine()->Float64ExtractHighWord32(), a); | 503 return AddNode(machine()->Float64ExtractHighWord32(), a); |
501 } | 504 } |
502 Node* Float64InsertLowWord32(Node* a, Node* b) { | 505 Node* Float64InsertLowWord32(Node* a, Node* b) { |
503 return AddNode(machine()->Float64InsertLowWord32(), a, b); | 506 return AddNode(machine()->Float64InsertLowWord32(), a, b); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 BasicBlock* current_block_; | 619 BasicBlock* current_block_; |
617 | 620 |
618 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 621 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
619 }; | 622 }; |
620 | 623 |
621 } // namespace compiler | 624 } // namespace compiler |
622 } // namespace internal | 625 } // namespace internal |
623 } // namespace v8 | 626 } // namespace v8 |
624 | 627 |
625 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 628 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |