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

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

Issue 2103733003: [turbofan] Introduce Float64Pow and NumberPow operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE on ARM64 bug fix. Created 4 years, 5 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/verifier.cc ('k') | src/crankshaft/hydrogen.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/ast/scopes.h" 7 #include "src/ast/scopes.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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 break; 893 break;
894 case kIeee754Float64Log1p: 894 case kIeee754Float64Log1p:
895 ASSEMBLE_IEEE754_UNOP(log1p); 895 ASSEMBLE_IEEE754_UNOP(log1p);
896 break; 896 break;
897 case kIeee754Float64Log2: 897 case kIeee754Float64Log2:
898 ASSEMBLE_IEEE754_UNOP(log2); 898 ASSEMBLE_IEEE754_UNOP(log2);
899 break; 899 break;
900 case kIeee754Float64Log10: 900 case kIeee754Float64Log10:
901 ASSEMBLE_IEEE754_UNOP(log10); 901 ASSEMBLE_IEEE754_UNOP(log10);
902 break; 902 break;
903 case kIeee754Float64Pow: {
904 // TODO(bmeurer): Improve integration of the stub.
905 __ Movsd(xmm2, xmm0);
906 MathPowStub stub(isolate(), MathPowStub::DOUBLE);
907 __ CallStub(&stub);
908 __ Movsd(xmm0, xmm3);
909 break;
910 }
903 case kIeee754Float64Sin: 911 case kIeee754Float64Sin:
904 ASSEMBLE_IEEE754_UNOP(sin); 912 ASSEMBLE_IEEE754_UNOP(sin);
905 break; 913 break;
906 case kIeee754Float64Tan: 914 case kIeee754Float64Tan:
907 ASSEMBLE_IEEE754_UNOP(tan); 915 ASSEMBLE_IEEE754_UNOP(tan);
908 break; 916 break;
909 case kX64Add32: 917 case kX64Add32:
910 ASSEMBLE_BINOP(addl); 918 ASSEMBLE_BINOP(addl);
911 break; 919 break;
912 case kX64Add: 920 case kX64Add:
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2394 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2387 __ Nop(padding_size); 2395 __ Nop(padding_size);
2388 } 2396 }
2389 } 2397 }
2390 2398
2391 #undef __ 2399 #undef __
2392 2400
2393 } // namespace compiler 2401 } // namespace compiler
2394 } // namespace internal 2402 } // namespace internal
2395 } // namespace v8 2403 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698