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

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

Issue 1066393002: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 8 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/raw-machine-assembler.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/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 void InstructionSelector::VisitFloat32Min(Node* node) { 976 void InstructionSelector::VisitFloat32Min(Node* node) {
977 VisitRRR(this, kPPC_MinDouble, node); 977 VisitRRR(this, kPPC_MinDouble, node);
978 } 978 }
979 979
980 980
981 void InstructionSelector::VisitFloat64Min(Node* node) { 981 void InstructionSelector::VisitFloat64Min(Node* node) {
982 VisitRRR(this, kPPC_MinDouble, node); 982 VisitRRR(this, kPPC_MinDouble, node);
983 } 983 }
984 984
985 985
986 void InstructionSelector::VisitFloat32Abs(Node* node) { UNREACHABLE(); }
987
988
989 void InstructionSelector::VisitFloat64Abs(Node* node) { UNREACHABLE(); }
990
991
986 void InstructionSelector::VisitFloat32Sqrt(Node* node) { 992 void InstructionSelector::VisitFloat32Sqrt(Node* node) {
987 VisitRR(this, kPPC_SqrtDouble, node); 993 VisitRR(this, kPPC_SqrtDouble, node);
988 } 994 }
989 995
990 996
991 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 997 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
992 VisitRR(this, kPPC_SqrtDouble, node); 998 VisitRR(this, kPPC_SqrtDouble, node);
993 } 999 }
994 1000
995 1001
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 MachineOperatorBuilder::kFloat64Min | 1530 MachineOperatorBuilder::kFloat64Min |
1525 MachineOperatorBuilder::kFloat64RoundDown | 1531 MachineOperatorBuilder::kFloat64RoundDown |
1526 MachineOperatorBuilder::kFloat64RoundTruncate | 1532 MachineOperatorBuilder::kFloat64RoundTruncate |
1527 MachineOperatorBuilder::kFloat64RoundTiesAway; 1533 MachineOperatorBuilder::kFloat64RoundTiesAway;
1528 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1534 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1529 } 1535 }
1530 1536
1531 } // namespace compiler 1537 } // namespace compiler
1532 } // namespace internal 1538 } // namespace internal
1533 } // namespace v8 1539 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698