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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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/mips/instruction-selector-mips.cc ('k') | src/compiler/opcodes.h » ('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 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 1330
1331 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { 1331 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
1332 VisitRR(this, kMips64Float32RoundTiesEven, node); 1332 VisitRR(this, kMips64Float32RoundTiesEven, node);
1333 } 1333 }
1334 1334
1335 1335
1336 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 1336 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
1337 VisitRR(this, kMips64Float64RoundTiesEven, node); 1337 VisitRR(this, kMips64Float64RoundTiesEven, node);
1338 } 1338 }
1339 1339
1340 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
1341
1342 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
1340 1343
1341 void InstructionSelector::EmitPrepareArguments( 1344 void InstructionSelector::EmitPrepareArguments(
1342 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1345 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1343 Node* node) { 1346 Node* node) {
1344 Mips64OperandGenerator g(this); 1347 Mips64OperandGenerator g(this);
1345 1348
1346 // Prepare for C function call. 1349 // Prepare for C function call.
1347 if (descriptor->IsCFunctionCall()) { 1350 if (descriptor->IsCFunctionCall()) {
1348 Emit(kArchPrepareCallCFunction | 1351 Emit(kArchPrepareCallCFunction |
1349 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 1352 MiscField::encode(static_cast<int>(descriptor->CParameterCount())),
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
2066 } else { 2069 } else {
2067 DCHECK(kArchVariant == kMips64r2); 2070 DCHECK(kArchVariant == kMips64r2);
2068 return MachineOperatorBuilder::AlignmentRequirements:: 2071 return MachineOperatorBuilder::AlignmentRequirements::
2069 NoUnalignedAccessSupport(); 2072 NoUnalignedAccessSupport();
2070 } 2073 }
2071 } 2074 }
2072 2075
2073 } // namespace compiler 2076 } // namespace compiler
2074 } // namespace internal 2077 } // namespace internal
2075 } // namespace v8 2078 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698