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

Side by Side Diff: src/compiler/instruction.cc

Issue 1360603003: [arm64] Implement Float(32|64)(Min|Max) using fcsel. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
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/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 266
267 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) { 267 std::ostream& operator<<(std::ostream& os, const FlagsMode& fm) {
268 switch (fm) { 268 switch (fm) {
269 case kFlags_none: 269 case kFlags_none:
270 return os; 270 return os;
271 case kFlags_branch: 271 case kFlags_branch:
272 return os << "branch"; 272 return os << "branch";
273 case kFlags_set: 273 case kFlags_set:
274 return os << "set"; 274 return os << "set";
275 case kFlags_select:
276 return os << "select";
275 } 277 }
276 UNREACHABLE(); 278 UNREACHABLE();
277 return os; 279 return os;
278 } 280 }
279 281
280 282
281 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) { 283 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc) {
282 switch (fc) { 284 switch (fc) {
283 case kEqual: 285 case kEqual:
284 return os << "equal"; 286 return os << "equal";
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 os << " B" << succ.ToInt(); 811 os << " B" << succ.ToInt();
810 } 812 }
811 os << "\n"; 813 os << "\n";
812 } 814 }
813 return os; 815 return os;
814 } 816 }
815 817
816 } // namespace compiler 818 } // namespace compiler
817 } // namespace internal 819 } // namespace internal
818 } // namespace v8 820 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698