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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.cc

Issue 1628133002: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add arm/arm64 implementation Created 4 years, 10 months 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/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('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 #include "src/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 938 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
939 VisitRR(this, kPPC_Float32ToDouble, node); 939 VisitRR(this, kPPC_Float32ToDouble, node);
940 } 940 }
941 941
942 942
943 void InstructionSelector::VisitRoundInt32ToFloat32(Node* node) { 943 void InstructionSelector::VisitRoundInt32ToFloat32(Node* node) {
944 VisitRR(this, kPPC_Int32ToFloat32, node); 944 VisitRR(this, kPPC_Int32ToFloat32, node);
945 } 945 }
946 946
947 947
948 void InstructionSelector::VisitRoundUint32ToFloat32(Node* node) {
949 UNIMPLEMENTED();
950 }
951
952
948 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 953 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
949 VisitRR(this, kPPC_Int32ToDouble, node); 954 VisitRR(this, kPPC_Int32ToDouble, node);
950 } 955 }
951 956
952 957
953 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 958 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
954 VisitRR(this, kPPC_Uint32ToDouble, node); 959 VisitRR(this, kPPC_Uint32ToDouble, node);
955 } 960 }
956 961
957 962
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1773 MachineOperatorBuilder::kFloat64RoundTruncate | 1778 MachineOperatorBuilder::kFloat64RoundTruncate |
1774 MachineOperatorBuilder::kFloat64RoundTiesAway | 1779 MachineOperatorBuilder::kFloat64RoundTiesAway |
1775 MachineOperatorBuilder::kWord32Popcnt | 1780 MachineOperatorBuilder::kWord32Popcnt |
1776 MachineOperatorBuilder::kWord64Popcnt; 1781 MachineOperatorBuilder::kWord64Popcnt;
1777 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1782 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1778 } 1783 }
1779 1784
1780 } // namespace compiler 1785 } // namespace compiler
1781 } // namespace internal 1786 } // namespace internal
1782 } // namespace v8 1787 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698