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

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

Issue 2068743002: [builtins] Unify Atanh, Cbrt and Expm1 as exports from flibm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed type warning. Created 4 years, 6 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/external-reference-table.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 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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 } 866 }
867 __ leaq(i.OutputRegister(), Operand(base, offset.offset())); 867 __ leaq(i.OutputRegister(), Operand(base, offset.offset()));
868 break; 868 break;
869 } 869 }
870 case kIeee754Float64Atan: 870 case kIeee754Float64Atan:
871 ASSEMBLE_IEEE754_UNOP(atan); 871 ASSEMBLE_IEEE754_UNOP(atan);
872 break; 872 break;
873 case kIeee754Float64Atan2: 873 case kIeee754Float64Atan2:
874 ASSEMBLE_IEEE754_BINOP(atan2); 874 ASSEMBLE_IEEE754_BINOP(atan2);
875 break; 875 break;
876 case kIeee754Float64Atanh:
877 ASSEMBLE_IEEE754_UNOP(atanh);
878 break;
876 case kIeee754Float64Exp: 879 case kIeee754Float64Exp:
877 ASSEMBLE_IEEE754_UNOP(exp); 880 ASSEMBLE_IEEE754_UNOP(exp);
878 break; 881 break;
882 case kIeee754Float64Expm1:
883 ASSEMBLE_IEEE754_UNOP(expm1);
884 break;
879 case kIeee754Float64Log: 885 case kIeee754Float64Log:
880 ASSEMBLE_IEEE754_UNOP(log); 886 ASSEMBLE_IEEE754_UNOP(log);
881 break; 887 break;
882 case kIeee754Float64Log1p: 888 case kIeee754Float64Log1p:
883 ASSEMBLE_IEEE754_UNOP(log1p); 889 ASSEMBLE_IEEE754_UNOP(log1p);
884 break; 890 break;
885 case kIeee754Float64Log2: 891 case kIeee754Float64Log2:
886 ASSEMBLE_IEEE754_UNOP(log2); 892 ASSEMBLE_IEEE754_UNOP(log2);
887 break; 893 break;
888 case kIeee754Float64Log10: 894 case kIeee754Float64Log10:
889 ASSEMBLE_IEEE754_UNOP(log10); 895 ASSEMBLE_IEEE754_UNOP(log10);
890 break; 896 break;
897 case kIeee754Float64Cbrt:
898 ASSEMBLE_IEEE754_UNOP(cbrt);
899 break;
891 case kX64Add32: 900 case kX64Add32:
892 ASSEMBLE_BINOP(addl); 901 ASSEMBLE_BINOP(addl);
893 break; 902 break;
894 case kX64Add: 903 case kX64Add:
895 ASSEMBLE_BINOP(addq); 904 ASSEMBLE_BINOP(addq);
896 break; 905 break;
897 case kX64Sub32: 906 case kX64Sub32:
898 ASSEMBLE_BINOP(subl); 907 ASSEMBLE_BINOP(subl);
899 break; 908 break;
900 case kX64Sub: 909 case kX64Sub:
(...skipping 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after
2368 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2377 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2369 __ Nop(padding_size); 2378 __ Nop(padding_size);
2370 } 2379 }
2371 } 2380 }
2372 2381
2373 #undef __ 2382 #undef __
2374 2383
2375 } // namespace compiler 2384 } // namespace compiler
2376 } // namespace internal 2385 } // namespace internal
2377 } // namespace v8 2386 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/external-reference-table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698