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

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

Issue 1218073008: PPC: Fix "[turbofan] Add Uint64LessThanOrEqual to 64-bit TurboFan backends." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | 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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 VisitWord64Compare(this, node, &cont); 1379 VisitWord64Compare(this, node, &cont);
1380 } 1380 }
1381 1381
1382 1382
1383 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) { 1383 void InstructionSelector::VisitInt64LessThanOrEqual(Node* node) {
1384 FlagsContinuation cont(kSignedLessThanOrEqual, node); 1384 FlagsContinuation cont(kSignedLessThanOrEqual, node);
1385 VisitWord64Compare(this, node, &cont); 1385 VisitWord64Compare(this, node, &cont);
1386 } 1386 }
1387 1387
1388 1388
1389 void InstructionSelector::VisitUint64LessThan(Node* node) {
1390 FlagsContinuation cont(kUnsignedLessThan, node);
1391 VisitWord64Compare(this, node, &cont);
1392 }
1393
1394
1389 void InstructionSelector::VisitUint64LessThanOrEqual(Node* node) { 1395 void InstructionSelector::VisitUint64LessThanOrEqual(Node* node) {
1390 FlagsContinuation cont(kUnsignedLessThanOrEqual, node); 1396 FlagsContinuation cont(kUnsignedLessThanOrEqual, node);
1391 VisitWord64Compare(this, node, &cont); 1397 VisitWord64Compare(this, node, &cont);
1392 } 1398 }
1393 #endif 1399 #endif
1394 1400
1395 1401
1396 void InstructionSelector::VisitFloat32Equal(Node* node) { 1402 void InstructionSelector::VisitFloat32Equal(Node* node) {
1397 FlagsContinuation cont(kEqual, node); 1403 FlagsContinuation cont(kEqual, node);
1398 VisitFloat32Compare(this, node, &cont); 1404 VisitFloat32Compare(this, node, &cont);
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 InstructionSelector::SupportedMachineOperatorFlags() { 1653 InstructionSelector::SupportedMachineOperatorFlags() {
1648 return MachineOperatorBuilder::kFloat64RoundDown | 1654 return MachineOperatorBuilder::kFloat64RoundDown |
1649 MachineOperatorBuilder::kFloat64RoundTruncate | 1655 MachineOperatorBuilder::kFloat64RoundTruncate |
1650 MachineOperatorBuilder::kFloat64RoundTiesAway; 1656 MachineOperatorBuilder::kFloat64RoundTiesAway;
1651 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1657 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1652 } 1658 }
1653 1659
1654 } // namespace compiler 1660 } // namespace compiler
1655 } // namespace internal 1661 } // namespace internal
1656 } // namespace v8 1662 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698