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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 1356283003: [arm64] Optimize fcmp when lhs operand is #0.0 (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
« no previous file with comments | « no previous file | src/compiler/arm64/code-generator-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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 case kUnsignedGreaterThanOrEqual: 217 case kUnsignedGreaterThanOrEqual:
218 return hs; 218 return hs;
219 case kUnsignedLessThanOrEqual: 219 case kUnsignedLessThanOrEqual:
220 return ls; 220 return ls;
221 case kUnsignedGreaterThan: 221 case kUnsignedGreaterThan:
222 return hi; 222 return hi;
223 case kOverflow: 223 case kOverflow:
224 return vs; 224 return vs;
225 case kNotOverflow: 225 case kNotOverflow:
226 return vc; 226 return vc;
227 case kUnorderedEqual: 227 default:
228 case kUnorderedNotEqual:
229 break; 228 break;
230 } 229 }
231 UNREACHABLE(); 230 UNREACHABLE();
232 return kNoCondition; 231 return kNoCondition;
233 } 232 }
234 233
235 } // namespace 234 } // namespace
236 235
237 236
238 #define ASSEMBLE_CHECKED_LOAD_FLOAT(width) \ 237 #define ASSEMBLE_CHECKED_LOAD_FLOAT(width) \
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 padding_size -= v8::internal::Assembler::kInstrSize; 1261 padding_size -= v8::internal::Assembler::kInstrSize;
1263 } 1262 }
1264 } 1263 }
1265 } 1264 }
1266 1265
1267 #undef __ 1266 #undef __
1268 1267
1269 } // namespace compiler 1268 } // namespace compiler
1270 } // namespace internal 1269 } // namespace internal
1271 } // namespace v8 1270 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698