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

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

Issue 2060233002: [turbofan] Prevent storing signalling NaNs into holey double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Test 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
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/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after
1949 1949
1950 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) { 1950 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) {
1951 VisitRR(this, kMips64Float64ExtractLowWord32, node); 1951 VisitRR(this, kMips64Float64ExtractLowWord32, node);
1952 } 1952 }
1953 1953
1954 1954
1955 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) { 1955 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) {
1956 VisitRR(this, kMips64Float64ExtractHighWord32, node); 1956 VisitRR(this, kMips64Float64ExtractHighWord32, node);
1957 } 1957 }
1958 1958
1959 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) {
1960 VisitRR(this, kMips64Float64SilenceNaN, node);
1961 }
1959 1962
1960 void InstructionSelector::VisitFloat64InsertLowWord32(Node* node) { 1963 void InstructionSelector::VisitFloat64InsertLowWord32(Node* node) {
1961 Mips64OperandGenerator g(this); 1964 Mips64OperandGenerator g(this);
1962 Node* left = node->InputAt(0); 1965 Node* left = node->InputAt(0);
1963 Node* right = node->InputAt(1); 1966 Node* right = node->InputAt(1);
1964 Emit(kMips64Float64InsertLowWord32, g.DefineSameAsFirst(node), 1967 Emit(kMips64Float64InsertLowWord32, g.DefineSameAsFirst(node),
1965 g.UseRegister(left), g.UseRegister(right)); 1968 g.UseRegister(left), g.UseRegister(right));
1966 } 1969 }
1967 1970
1968 1971
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2075 } else { 2078 } else {
2076 DCHECK(kArchVariant == kMips64r2); 2079 DCHECK(kArchVariant == kMips64r2);
2077 return MachineOperatorBuilder::AlignmentRequirements:: 2080 return MachineOperatorBuilder::AlignmentRequirements::
2078 NoUnalignedAccessSupport(); 2081 NoUnalignedAccessSupport();
2079 } 2082 }
2080 } 2083 }
2081 2084
2082 } // namespace compiler 2085 } // namespace compiler
2083 } // namespace internal 2086 } // namespace internal
2084 } // namespace v8 2087 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698