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

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

Issue 1476063002: [turbofan] Implemented the TruncateFloat32ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Increased the type of opcodes from uint8_t to uint16_t. 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 } 431 }
432 Node* ChangeUint32ToFloat64(Node* a) { 432 Node* ChangeUint32ToFloat64(Node* a) {
433 return AddNode(machine()->ChangeUint32ToFloat64(), a); 433 return AddNode(machine()->ChangeUint32ToFloat64(), a);
434 } 434 }
435 Node* ChangeFloat64ToInt32(Node* a) { 435 Node* ChangeFloat64ToInt32(Node* a) {
436 return AddNode(machine()->ChangeFloat64ToInt32(), a); 436 return AddNode(machine()->ChangeFloat64ToInt32(), a);
437 } 437 }
438 Node* ChangeFloat64ToUint32(Node* a) { 438 Node* ChangeFloat64ToUint32(Node* a) {
439 return AddNode(machine()->ChangeFloat64ToUint32(), a); 439 return AddNode(machine()->ChangeFloat64ToUint32(), a);
440 } 440 }
441 Node* TruncateFloat32ToInt64(Node* a) {
442 return AddNode(machine()->TruncateFloat32ToInt64(), a);
443 }
441 Node* TruncateFloat64ToInt64(Node* a) { 444 Node* TruncateFloat64ToInt64(Node* a) {
442 return AddNode(machine()->TruncateFloat64ToInt64(), a); 445 return AddNode(machine()->TruncateFloat64ToInt64(), a);
443 } 446 }
444 Node* TruncateFloat64ToUint64(Node* a) { 447 Node* TruncateFloat64ToUint64(Node* a) {
445 return AddNode(machine()->TruncateFloat64ToUint64(), a); 448 return AddNode(machine()->TruncateFloat64ToUint64(), a);
446 } 449 }
447 Node* ChangeInt32ToInt64(Node* a) { 450 Node* ChangeInt32ToInt64(Node* a) {
448 return AddNode(machine()->ChangeInt32ToInt64(), a); 451 return AddNode(machine()->ChangeInt32ToInt64(), a);
449 } 452 }
450 Node* ChangeUint32ToUint64(Node* a) { 453 Node* ChangeUint32ToUint64(Node* a) {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 BasicBlock* current_block_; 644 BasicBlock* current_block_;
642 645
643 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 646 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
644 }; 647 };
645 648
646 } // namespace compiler 649 } // namespace compiler
647 } // namespace internal 650 } // namespace internal
648 } // namespace v8 651 } // namespace v8
649 652
650 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 653 #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