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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.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/opcodes.h ('k') | src/compiler/s390/instruction-selector-s390.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 #include "src/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 1347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 1358
1359 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { 1359 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
1360 UNREACHABLE(); 1360 UNREACHABLE();
1361 } 1361 }
1362 1362
1363 1363
1364 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 1364 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
1365 UNREACHABLE(); 1365 UNREACHABLE();
1366 } 1366 }
1367 1367
1368 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); }
1369
1370 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); }
1368 1371
1369 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { 1372 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) {
1370 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { 1373 if (Node* ovf = NodeProperties::FindProjection(node, 1)) {
1371 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf); 1374 FlagsContinuation cont = FlagsContinuation::ForSet(kOverflow, ovf);
1372 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, 1375 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32,
1373 kInt16Imm, &cont); 1376 kInt16Imm, &cont);
1374 } 1377 }
1375 FlagsContinuation cont; 1378 FlagsContinuation cont;
1376 VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, kInt16Imm, 1379 VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, kInt16Imm,
1377 &cont); 1380 &cont);
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1994 // static 1997 // static
1995 MachineOperatorBuilder::AlignmentRequirements 1998 MachineOperatorBuilder::AlignmentRequirements
1996 InstructionSelector::AlignmentRequirements() { 1999 InstructionSelector::AlignmentRequirements() {
1997 return MachineOperatorBuilder::AlignmentRequirements:: 2000 return MachineOperatorBuilder::AlignmentRequirements::
1998 FullUnalignedAccessSupport(); 2001 FullUnalignedAccessSupport();
1999 } 2002 }
2000 2003
2001 } // namespace compiler 2004 } // namespace compiler
2002 } // namespace internal 2005 } // namespace internal
2003 } // namespace v8 2006 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/s390/instruction-selector-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698