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

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

Issue 681133004: [turbofan] Complete support for integer division/modulus in simplified lowering. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.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/bits.h" 5 #include "src/base/bits.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 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 1132
1133 void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { 1133 void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) {
1134 FlagsContinuation cont(kUnorderedLessThanOrEqual, node); 1134 FlagsContinuation cont(kUnorderedLessThanOrEqual, node);
1135 VisitFloat64Compare(this, node, &cont); 1135 VisitFloat64Compare(this, node, &cont);
1136 } 1136 }
1137 1137
1138 1138
1139 // static 1139 // static
1140 MachineOperatorBuilder::Flags 1140 MachineOperatorBuilder::Flags
1141 InstructionSelector::SupportedMachineOperatorFlags() { 1141 InstructionSelector::SupportedMachineOperatorFlags() {
1142 return MachineOperatorBuilder::Flag::kNoFlags; 1142 return MachineOperatorBuilder::kInt32DivIsSafe |
1143 MachineOperatorBuilder::kInt32ModIsSafe |
1144 MachineOperatorBuilder::kUint32DivIsSafe |
1145 MachineOperatorBuilder::kUint32ModIsSafe;
1143 } 1146 }
1147
1144 } // namespace compiler 1148 } // namespace compiler
1145 } // namespace internal 1149 } // namespace internal
1146 } // namespace v8 1150 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698