Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1477753002: [turbofan] Implemented the optional Float32RoundTiesEven operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32trunc
Patch Set: Merging with the changed codebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-selector-ppc.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698