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

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

Issue 850653002: [turbofan] Improve code generation for unordered comparisons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-codes.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/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 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 case kUnsignedGreaterThanOrEqual: 245 case kUnsignedGreaterThanOrEqual:
246 return os << "unsigned greater than or equal"; 246 return os << "unsigned greater than or equal";
247 case kUnsignedLessThanOrEqual: 247 case kUnsignedLessThanOrEqual:
248 return os << "unsigned less than or equal"; 248 return os << "unsigned less than or equal";
249 case kUnsignedGreaterThan: 249 case kUnsignedGreaterThan:
250 return os << "unsigned greater than"; 250 return os << "unsigned greater than";
251 case kUnorderedEqual: 251 case kUnorderedEqual:
252 return os << "unordered equal"; 252 return os << "unordered equal";
253 case kUnorderedNotEqual: 253 case kUnorderedNotEqual:
254 return os << "unordered not equal"; 254 return os << "unordered not equal";
255 case kUnorderedLessThan:
256 return os << "unordered less than";
257 case kUnorderedGreaterThanOrEqual:
258 return os << "unordered greater than or equal";
259 case kUnorderedLessThanOrEqual:
260 return os << "unordered less than or equal";
261 case kUnorderedGreaterThan:
262 return os << "unordered greater than";
263 case kOverflow: 255 case kOverflow:
264 return os << "overflow"; 256 return os << "overflow";
265 case kNotOverflow: 257 case kNotOverflow:
266 return os << "not overflow"; 258 return os << "not overflow";
267 } 259 }
268 UNREACHABLE(); 260 UNREACHABLE();
269 return os; 261 return os;
270 } 262 }
271 263
272 264
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 os << " B" << succ_block->id(); 693 os << " B" << succ_block->id();
702 } 694 }
703 os << "\n"; 695 os << "\n";
704 } 696 }
705 return os; 697 return os;
706 } 698 }
707 699
708 } // namespace compiler 700 } // namespace compiler
709 } // namespace internal 701 } // namespace internal
710 } // namespace v8 702 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/instruction-codes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698