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

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

Issue 1468303005: [turbofan] Implemented the optional Float32RoundTruncate operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32roundup
Patch Set: Apparently std::nearbyint does not exist on all platforms. 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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