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

Side by Side Diff: src/compiler/ia32/instruction-selector-ia32.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/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 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1062
1063 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { 1063 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
1064 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest)); 1064 VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundToNearest));
1065 } 1065 }
1066 1066
1067 1067
1068 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 1068 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
1069 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest)); 1069 VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundToNearest));
1070 } 1070 }
1071 1071
1072 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
1073
1074 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
1072 1075
1073 void InstructionSelector::EmitPrepareArguments( 1076 void InstructionSelector::EmitPrepareArguments(
1074 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, 1077 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor,
1075 Node* node) { 1078 Node* node) {
1076 IA32OperandGenerator g(this); 1079 IA32OperandGenerator g(this);
1077 1080
1078 // Prepare for C function call. 1081 // Prepare for C function call.
1079 if (descriptor->IsCFunctionCall()) { 1082 if (descriptor->IsCFunctionCall()) {
1080 InstructionOperand temps[] = {g.TempRegister()}; 1083 InstructionOperand temps[] = {g.TempRegister()};
1081 size_t const temp_count = arraysize(temps); 1084 size_t const temp_count = arraysize(temps);
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 // static 1662 // static
1660 MachineOperatorBuilder::AlignmentRequirements 1663 MachineOperatorBuilder::AlignmentRequirements
1661 InstructionSelector::AlignmentRequirements() { 1664 InstructionSelector::AlignmentRequirements() {
1662 return MachineOperatorBuilder::AlignmentRequirements:: 1665 return MachineOperatorBuilder::AlignmentRequirements::
1663 FullUnalignedAccessSupport(); 1666 FullUnalignedAccessSupport();
1664 } 1667 }
1665 1668
1666 } // namespace compiler 1669 } // namespace compiler
1667 } // namespace internal 1670 } // namespace internal
1668 } // namespace v8 1671 } // 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