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

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

Issue 1843983002: [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 | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.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 9
10 namespace v8 { 10 namespace v8 {
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 831
832 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 832 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
833 VisitRO(this, node, kSSEFloat64ToInt32); 833 VisitRO(this, node, kSSEFloat64ToInt32);
834 } 834 }
835 835
836 836
837 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { 837 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) {
838 VisitRO(this, node, kSSEFloat64ToUint32); 838 VisitRO(this, node, kSSEFloat64ToUint32);
839 } 839 }
840 840
841 void InstructionSelector::VisitTruncateFloat64ToUint32(Node* node) {
842 VisitRO(this, node, kSSEFloat64ToUint32);
843 }
841 844
842 void InstructionSelector::VisitTruncateFloat64ToFloat32(Node* node) { 845 void InstructionSelector::VisitTruncateFloat64ToFloat32(Node* node) {
843 VisitRO(this, node, kSSEFloat64ToFloat32); 846 VisitRO(this, node, kSSEFloat64ToFloat32);
844 } 847 }
845 848
846 849
847 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) { 850 void InstructionSelector::VisitTruncateFloat64ToInt32(Node* node) {
848 switch (TruncationModeOf(node->op())) { 851 switch (TruncationModeOf(node->op())) {
849 case TruncationMode::kJavaScript: 852 case TruncationMode::kJavaScript:
850 return VisitRR(this, node, kArchTruncateDoubleToI); 853 return VisitRR(this, node, kArchTruncateDoubleToI);
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1531 MachineOperatorBuilder::kFloat64RoundTruncate | 1534 MachineOperatorBuilder::kFloat64RoundTruncate |
1532 MachineOperatorBuilder::kFloat32RoundTiesEven | 1535 MachineOperatorBuilder::kFloat32RoundTiesEven |
1533 MachineOperatorBuilder::kFloat64RoundTiesEven; 1536 MachineOperatorBuilder::kFloat64RoundTiesEven;
1534 } 1537 }
1535 return flags; 1538 return flags;
1536 } 1539 }
1537 1540
1538 } // namespace compiler 1541 } // namespace compiler
1539 } // namespace internal 1542 } // namespace internal
1540 } // namespace v8 1543 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698