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

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

Issue 1474963002: [turbofan] Implemented the optional Float32RoundUp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32rounddown
Patch Set: 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 482 }
483 Node* BitcastInt64ToFloat64(Node* a) { 483 Node* BitcastInt64ToFloat64(Node* a) {
484 return AddNode(machine()->BitcastInt64ToFloat64(), a); 484 return AddNode(machine()->BitcastInt64ToFloat64(), a);
485 } 485 }
486 Node* Float32RoundDown(Node* a) { 486 Node* Float32RoundDown(Node* a) {
487 return AddNode(machine()->Float32RoundDown().op(), a); 487 return AddNode(machine()->Float32RoundDown().op(), a);
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) {
493 return AddNode(machine()->Float32RoundUp().op(), a);
494 }
492 Node* Float64RoundUp(Node* a) { 495 Node* Float64RoundUp(Node* a) {
493 return AddNode(machine()->Float64RoundUp().op(), a); 496 return AddNode(machine()->Float64RoundUp().op(), a);
494 } 497 }
495 Node* Float64RoundTruncate(Node* a) { 498 Node* Float64RoundTruncate(Node* a) {
496 return AddNode(machine()->Float64RoundTruncate().op(), a); 499 return AddNode(machine()->Float64RoundTruncate().op(), a);
497 } 500 }
498 Node* Float64RoundTiesAway(Node* a) { 501 Node* Float64RoundTiesAway(Node* a) {
499 return AddNode(machine()->Float64RoundTiesAway().op(), a); 502 return AddNode(machine()->Float64RoundTiesAway().op(), a);
500 } 503 }
501 Node* Float64RoundTiesEven(Node* a) { 504 Node* Float64RoundTiesEven(Node* a) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 BasicBlock* current_block_; 635 BasicBlock* current_block_;
633 636
634 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 637 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
635 }; 638 };
636 639
637 } // namespace compiler 640 } // namespace compiler
638 } // namespace internal 641 } // namespace internal
639 } // namespace v8 642 } // namespace v8
640 643
641 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 644 #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