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

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

Issue 2011303002: [arm] [arm64] Add optional operators Float32Neg and Float64Neg. (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/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-mips64.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/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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
924 924
925 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { 925 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
926 VisitRR(this, kMipsFloat32RoundTiesEven, node); 926 VisitRR(this, kMipsFloat32RoundTiesEven, node);
927 } 927 }
928 928
929 929
930 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 930 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
931 VisitRR(this, kMipsFloat64RoundTiesEven, node); 931 VisitRR(this, kMipsFloat64RoundTiesEven, node);
932 } 932 }
933 933
934 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
935
936 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
934 937
935 void InstructionSelector::EmitPrepareArguments( 938 void InstructionSelector::EmitPrepareArguments(
936 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 939 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
937 Node* node) { 940 Node* node) {
938 MipsOperandGenerator g(this); 941 MipsOperandGenerator g(this);
939 942
940 // Prepare for C function call. 943 // Prepare for C function call.
941 if (descriptor->IsCFunctionCall()) { 944 if (descriptor->IsCFunctionCall()) {
942 Emit(kArchPrepareCallCFunction | 945 Emit(kArchPrepareCallCFunction |
943 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 946 MiscField::encode(static_cast<int>(descriptor->CParameterCount())),
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || 1561 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) ||
1559 IsMipsArchVariant(kMips32r2)); 1562 IsMipsArchVariant(kMips32r2));
1560 return MachineOperatorBuilder::AlignmentRequirements:: 1563 return MachineOperatorBuilder::AlignmentRequirements::
1561 NoUnalignedAccessSupport(); 1564 NoUnalignedAccessSupport();
1562 } 1565 }
1563 } 1566 }
1564 1567
1565 } // namespace compiler 1568 } // namespace compiler
1566 } // namespace internal 1569 } // namespace internal
1567 } // namespace v8 1570 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/instruction-selector-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698