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

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

Issue 2742343005: PPC/s390: [builtins] Port TypedArrayConstructByArrayBuffer to CodeStubAssembler. (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | src/compiler/s390/instruction-selector-s390.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 #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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { 1233 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) {
1234 // TODO(mbrandy): inspect input to see if nop is appropriate. 1234 // TODO(mbrandy): inspect input to see if nop is appropriate.
1235 VisitRR(this, kPPC_ExtendSignWord32, node); 1235 VisitRR(this, kPPC_ExtendSignWord32, node);
1236 } 1236 }
1237 1237
1238 1238
1239 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { 1239 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
1240 // TODO(mbrandy): inspect input to see if nop is appropriate. 1240 // TODO(mbrandy): inspect input to see if nop is appropriate.
1241 VisitRR(this, kPPC_Uint32ToUint64, node); 1241 VisitRR(this, kPPC_Uint32ToUint64, node);
1242 } 1242 }
1243
1244 void InstructionSelector::VisitChangeFloat64ToUint64(Node* node) {
1245 VisitRR(this, kPPC_DoubleToUint64, node);
1246 }
1243 #endif 1247 #endif
1244 1248
1245 1249
1246 void InstructionSelector::VisitTruncateFloat64ToFloat32(Node* node) { 1250 void InstructionSelector::VisitTruncateFloat64ToFloat32(Node* node) {
1247 VisitRR(this, kPPC_DoubleToFloat32, node); 1251 VisitRR(this, kPPC_DoubleToFloat32, node);
1248 } 1252 }
1249 1253
1250 void InstructionSelector::VisitTruncateFloat64ToWord32(Node* node) { 1254 void InstructionSelector::VisitTruncateFloat64ToWord32(Node* node) {
1251 VisitRR(this, kArchTruncateDoubleToI, node); 1255 VisitRR(this, kArchTruncateDoubleToI, node);
1252 } 1256 }
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
2133 // static 2137 // static
2134 MachineOperatorBuilder::AlignmentRequirements 2138 MachineOperatorBuilder::AlignmentRequirements
2135 InstructionSelector::AlignmentRequirements() { 2139 InstructionSelector::AlignmentRequirements() {
2136 return MachineOperatorBuilder::AlignmentRequirements:: 2140 return MachineOperatorBuilder::AlignmentRequirements::
2137 FullUnalignedAccessSupport(); 2141 FullUnalignedAccessSupport();
2138 } 2142 }
2139 2143
2140 } // namespace compiler 2144 } // namespace compiler
2141 } // namespace internal 2145 } // namespace internal
2142 } // namespace v8 2146 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/s390/instruction-selector-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698