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

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

Issue 2070583002: S390: [turbofan] Prevent storing signalling NaNs into holey double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/s390/instruction-scheduler-s390.cc ('k') | 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 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 S390OperandGenerator g(this); 1172 S390OperandGenerator g(this);
1173 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1), 1173 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1),
1174 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2)) 1174 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2))
1175 ->MarkAsCall(); 1175 ->MarkAsCall();
1176 } 1176 }
1177 1177
1178 void InstructionSelector::VisitFloat32Max(Node* node) { UNREACHABLE(); } 1178 void InstructionSelector::VisitFloat32Max(Node* node) { UNREACHABLE(); }
1179 1179
1180 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } 1180 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); }
1181 1181
1182 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) {
1183 VisitRR(this, kS390_Float64SilenceNaN, node);
1184 }
1185
1182 void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); } 1186 void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); }
1183 1187
1184 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } 1188 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); }
1185 1189
1186 void InstructionSelector::VisitFloat32Abs(Node* node) { 1190 void InstructionSelector::VisitFloat32Abs(Node* node) {
1187 VisitRR(this, kS390_AbsFloat, node); 1191 VisitRR(this, kS390_AbsFloat, node);
1188 } 1192 }
1189 1193
1190 void InstructionSelector::VisitFloat64Abs(Node* node) { 1194 void InstructionSelector::VisitFloat64Abs(Node* node) {
1191 VisitRR(this, kS390_AbsDouble, node); 1195 VisitRR(this, kS390_AbsDouble, node);
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
1844 // static 1848 // static
1845 MachineOperatorBuilder::AlignmentRequirements 1849 MachineOperatorBuilder::AlignmentRequirements
1846 InstructionSelector::AlignmentRequirements() { 1850 InstructionSelector::AlignmentRequirements() {
1847 return MachineOperatorBuilder::AlignmentRequirements:: 1851 return MachineOperatorBuilder::AlignmentRequirements::
1848 FullUnalignedAccessSupport(); 1852 FullUnalignedAccessSupport();
1849 } 1853 }
1850 1854
1851 } // namespace compiler 1855 } // namespace compiler
1852 } // namespace internal 1856 } // namespace internal
1853 } // namespace v8 1857 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-scheduler-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698