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

Side by Side Diff: src/compiler/x64/instruction-selector-x64.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/wasm-compiler.cc ('k') | src/compiler/x87/instruction-selector-x87.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 <algorithm> 5 #include <algorithm>
6 6
7 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 #include "src/compiler/instruction-selector-impl.h" 8 #include "src/compiler/instruction-selector-impl.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties.h" 10 #include "src/compiler/node-properties.h"
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 1398
1399 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { 1399 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
1400 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); 1400 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest));
1401 } 1401 }
1402 1402
1403 1403
1404 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 1404 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
1405 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); 1405 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest));
1406 } 1406 }
1407 1407
1408 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
1409
1410 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
1408 1411
1409 void InstructionSelector::EmitPrepareArguments( 1412 void InstructionSelector::EmitPrepareArguments(
1410 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1413 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1411 Node* node) { 1414 Node* node) {
1412 X64OperandGenerator g(this); 1415 X64OperandGenerator g(this);
1413 1416
1414 // Prepare for C function call. 1417 // Prepare for C function call.
1415 if (descriptor->IsCFunctionCall()) { 1418 if (descriptor->IsCFunctionCall()) {
1416 Emit(kArchPrepareCallCFunction | 1419 Emit(kArchPrepareCallCFunction |
1417 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 1420 MiscField::encode(static_cast<int>(descriptor->CParameterCount())),
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 // static 2116 // static
2114 MachineOperatorBuilder::AlignmentRequirements 2117 MachineOperatorBuilder::AlignmentRequirements
2115 InstructionSelector::AlignmentRequirements() { 2118 InstructionSelector::AlignmentRequirements() {
2116 return MachineOperatorBuilder::AlignmentRequirements:: 2119 return MachineOperatorBuilder::AlignmentRequirements::
2117 FullUnalignedAccessSupport(); 2120 FullUnalignedAccessSupport();
2118 } 2121 }
2119 2122
2120 } // namespace compiler 2123 } // namespace compiler
2121 } // namespace internal 2124 } // namespace internal
2122 } // namespace v8 2125 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/compiler/x87/instruction-selector-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698