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 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 } | 497 } |
498 Node* Float32RoundTruncate(Node* a) { | 498 Node* Float32RoundTruncate(Node* a) { |
499 return AddNode(machine()->Float32RoundTruncate().op(), a); | 499 return AddNode(machine()->Float32RoundTruncate().op(), a); |
500 } | 500 } |
501 Node* Float64RoundTruncate(Node* a) { | 501 Node* Float64RoundTruncate(Node* a) { |
502 return AddNode(machine()->Float64RoundTruncate().op(), a); | 502 return AddNode(machine()->Float64RoundTruncate().op(), a); |
503 } | 503 } |
504 Node* Float64RoundTiesAway(Node* a) { | 504 Node* Float64RoundTiesAway(Node* a) { |
505 return AddNode(machine()->Float64RoundTiesAway().op(), a); | 505 return AddNode(machine()->Float64RoundTiesAway().op(), a); |
506 } | 506 } |
| 507 Node* Float32RoundTiesEven(Node* a) { |
| 508 return AddNode(machine()->Float32RoundTiesEven().op(), a); |
| 509 } |
507 Node* Float64RoundTiesEven(Node* a) { | 510 Node* Float64RoundTiesEven(Node* a) { |
508 return AddNode(machine()->Float64RoundTiesEven().op(), a); | 511 return AddNode(machine()->Float64RoundTiesEven().op(), a); |
509 } | 512 } |
510 | 513 |
511 // Float64 bit operations. | 514 // Float64 bit operations. |
512 Node* Float64ExtractLowWord32(Node* a) { | 515 Node* Float64ExtractLowWord32(Node* a) { |
513 return AddNode(machine()->Float64ExtractLowWord32(), a); | 516 return AddNode(machine()->Float64ExtractLowWord32(), a); |
514 } | 517 } |
515 Node* Float64ExtractHighWord32(Node* a) { | 518 Node* Float64ExtractHighWord32(Node* a) { |
516 return AddNode(machine()->Float64ExtractHighWord32(), a); | 519 return AddNode(machine()->Float64ExtractHighWord32(), a); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 BasicBlock* current_block_; | 641 BasicBlock* current_block_; |
639 | 642 |
640 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 643 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
641 }; | 644 }; |
642 | 645 |
643 } // namespace compiler | 646 } // namespace compiler |
644 } // namespace internal | 647 } // namespace internal |
645 } // namespace v8 | 648 } // namespace v8 |
646 | 649 |
647 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 650 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |