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

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

Issue 1844053005: S390: [wasm] Fixed float-to-int conversion tests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 988 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 } 999 }
1000 1000
1001 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 1001 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
1002 VisitRR(this, kS390_DoubleToInt32, node); 1002 VisitRR(this, kS390_DoubleToInt32, node);
1003 } 1003 }
1004 1004
1005 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { 1005 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) {
1006 VisitRR(this, kS390_DoubleToUint32, node); 1006 VisitRR(this, kS390_DoubleToUint32, node);
1007 } 1007 }
1008 1008
1009 void InstructionSelector::VisitTruncateFloat64ToUint32(Node* node) {
1010 VisitRR(this, kS390_DoubleToUint32, node);
1011 }
1012
1009 #if V8_TARGET_ARCH_S390X 1013 #if V8_TARGET_ARCH_S390X
1010 void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) { 1014 void InstructionSelector::VisitTryTruncateFloat32ToInt64(Node* node) {
1011 VisitTryTruncateDouble(this, kS390_Float32ToInt64, node); 1015 VisitTryTruncateDouble(this, kS390_Float32ToInt64, node);
1012 } 1016 }
1013 1017
1014 void InstructionSelector::VisitTryTruncateFloat64ToInt64(Node* node) { 1018 void InstructionSelector::VisitTryTruncateFloat64ToInt64(Node* node) {
1015 VisitTryTruncateDouble(this, kS390_DoubleToInt64, node); 1019 VisitTryTruncateDouble(this, kS390_DoubleToInt64, node);
1016 } 1020 }
1017 1021
1018 void InstructionSelector::VisitTryTruncateFloat32ToUint64(Node* node) { 1022 void InstructionSelector::VisitTryTruncateFloat32ToUint64(Node* node) {
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 MachineOperatorBuilder::kFloat32RoundTruncate | 1760 MachineOperatorBuilder::kFloat32RoundTruncate |
1757 MachineOperatorBuilder::kFloat64RoundTruncate | 1761 MachineOperatorBuilder::kFloat64RoundTruncate |
1758 MachineOperatorBuilder::kFloat64RoundTiesAway | 1762 MachineOperatorBuilder::kFloat64RoundTiesAway |
1759 MachineOperatorBuilder::kWord32Popcnt | 1763 MachineOperatorBuilder::kWord32Popcnt |
1760 MachineOperatorBuilder::kWord64Popcnt; 1764 MachineOperatorBuilder::kWord64Popcnt;
1761 } 1765 }
1762 1766
1763 } // namespace compiler 1767 } // namespace compiler
1764 } // namespace internal 1768 } // namespace internal
1765 } // namespace v8 1769 } // 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