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

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

Issue 2111873002: s390: fixed doubleregister name (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/s390/frames-s390.h" 9 #include "src/s390/frames-s390.h"
10 10
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 VisitRR(this, kS390_AbsDouble, node); 1195 VisitRR(this, kS390_AbsDouble, node);
1196 } 1196 }
1197 1197
1198 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 1198 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
1199 VisitRR(this, kS390_SqrtFloat, node); 1199 VisitRR(this, kS390_SqrtFloat, node);
1200 } 1200 }
1201 1201
1202 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, 1202 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node,
1203 InstructionCode opcode) { 1203 InstructionCode opcode) {
1204 S390OperandGenerator g(this); 1204 S390OperandGenerator g(this);
1205 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) 1205 Emit(opcode, g.DefineAsFixed(node, d1), g.UseFixed(node->InputAt(0), d1))
1206 ->MarkAsCall(); 1206 ->MarkAsCall();
1207 } 1207 }
1208 1208
1209 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, 1209 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node,
1210 InstructionCode opcode) { 1210 InstructionCode opcode) {
1211 S390OperandGenerator g(this); 1211 S390OperandGenerator g(this);
1212 Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0), 1212 Emit(opcode, g.DefineAsFixed(node, d1), g.UseFixed(node->InputAt(0), d1),
1213 g.UseFixed(node->InputAt(1), d2)) 1213 g.UseFixed(node->InputAt(1), d2))
1214 ->MarkAsCall(); 1214 ->MarkAsCall();
1215 } 1215 }
1216 1216
1217 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1217 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1218 VisitRR(this, kS390_SqrtDouble, node); 1218 VisitRR(this, kS390_SqrtDouble, node);
1219 } 1219 }
1220 1220
1221 void InstructionSelector::VisitFloat32RoundDown(Node* node) { 1221 void InstructionSelector::VisitFloat32RoundDown(Node* node) {
1222 VisitRR(this, kS390_FloorFloat, node); 1222 VisitRR(this, kS390_FloorFloat, node);
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 // static 1848 // static
1849 MachineOperatorBuilder::AlignmentRequirements 1849 MachineOperatorBuilder::AlignmentRequirements
1850 InstructionSelector::AlignmentRequirements() { 1850 InstructionSelector::AlignmentRequirements() {
1851 return MachineOperatorBuilder::AlignmentRequirements:: 1851 return MachineOperatorBuilder::AlignmentRequirements::
1852 FullUnalignedAccessSupport(); 1852 FullUnalignedAccessSupport();
1853 } 1853 }
1854 1854
1855 } // namespace compiler 1855 } // namespace compiler
1856 } // namespace internal 1856 } // namespace internal
1857 } // namespace v8 1857 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698