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

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

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/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 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1129
1130 1130
1131 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNIMPLEMENTED(); } 1131 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNIMPLEMENTED(); }
1132 1132
1133 1133
1134 void InstructionSelector::VisitFloat64RoundDown(Node* node) { 1134 void InstructionSelector::VisitFloat64RoundDown(Node* node) {
1135 VisitRR(this, kPPC_FloorDouble, node); 1135 VisitRR(this, kPPC_FloorDouble, node);
1136 } 1136 }
1137 1137
1138 1138
1139 void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNIMPLEMENTED(); }
1140
1141
1139 void InstructionSelector::VisitFloat64RoundUp(Node* node) { 1142 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
1140 VisitRR(this, kPPC_CeilDouble, node); 1143 VisitRR(this, kPPC_CeilDouble, node);
1141 } 1144 }
1142 1145
1143 1146
1144 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 1147 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
1145 VisitRR(this, kPPC_TruncateDouble, node); 1148 VisitRR(this, kPPC_TruncateDouble, node);
1146 } 1149 }
1147 1150
1148 1151
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 MachineOperatorBuilder::kFloat64RoundTruncate | 1668 MachineOperatorBuilder::kFloat64RoundTruncate |
1666 MachineOperatorBuilder::kFloat64RoundTiesAway | 1669 MachineOperatorBuilder::kFloat64RoundTiesAway |
1667 MachineOperatorBuilder::kWord32Popcnt | 1670 MachineOperatorBuilder::kWord32Popcnt |
1668 MachineOperatorBuilder::kWord64Popcnt; 1671 MachineOperatorBuilder::kWord64Popcnt;
1669 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1672 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1670 } 1673 }
1671 1674
1672 } // namespace compiler 1675 } // namespace compiler
1673 } // namespace internal 1676 } // namespace internal
1674 } // namespace v8 1677 } // 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