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

Side by Side Diff: src/compiler/ppc/code-generator-ppc.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, 2 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/instruction-selector-impl.h ('k') | src/compiler/x64/code-generator-x64.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/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 return ne; 180 return ne;
181 #else 181 #else
182 return lt; 182 return lt;
183 #endif 183 #endif
184 case kNotOverflow: 184 case kNotOverflow:
185 #if V8_TARGET_ARCH_PPC64 185 #if V8_TARGET_ARCH_PPC64
186 return eq; 186 return eq;
187 #else 187 #else
188 return ge; 188 return ge;
189 #endif 189 #endif
190 case kUnorderedEqual: 190 default:
191 case kUnorderedNotEqual:
192 break; 191 break;
193 } 192 }
194 UNREACHABLE(); 193 UNREACHABLE();
195 return kNoCondition; 194 return kNoCondition;
196 } 195 }
197 196
198 } // namespace 197 } // namespace
199 198
200 #define ASSEMBLE_FLOAT_UNOP_RC(asm_instr) \ 199 #define ASSEMBLE_FLOAT_UNOP_RC(asm_instr) \
201 do { \ 200 do { \
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 padding_size -= v8::internal::Assembler::kInstrSize; 1633 padding_size -= v8::internal::Assembler::kInstrSize;
1635 } 1634 }
1636 } 1635 }
1637 } 1636 }
1638 1637
1639 #undef __ 1638 #undef __
1640 1639
1641 } // namespace compiler 1640 } // namespace compiler
1642 } // namespace internal 1641 } // namespace internal
1643 } // namespace v8 1642 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector-impl.h ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698