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

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

Issue 2063693002: [builtins] Introduce proper Float64Log2 and Float64Log10 operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More precise log10. 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/arm/code-generator-arm.cc ('k') | src/compiler/code-assembler.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/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64.h" 8 #include "src/arm64/macro-assembler-arm64.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/compiler/code-generator-impl.h" 10 #include "src/compiler/code-generator-impl.h"
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 break; 812 break;
813 case kIeee754Float64Atan2: 813 case kIeee754Float64Atan2:
814 ASSEMBLE_IEEE754_BINOP(atan2); 814 ASSEMBLE_IEEE754_BINOP(atan2);
815 break; 815 break;
816 case kIeee754Float64Log: 816 case kIeee754Float64Log:
817 ASSEMBLE_IEEE754_UNOP(log); 817 ASSEMBLE_IEEE754_UNOP(log);
818 break; 818 break;
819 case kIeee754Float64Log1p: 819 case kIeee754Float64Log1p:
820 ASSEMBLE_IEEE754_UNOP(log1p); 820 ASSEMBLE_IEEE754_UNOP(log1p);
821 break; 821 break;
822 case kIeee754Float64Log2:
823 ASSEMBLE_IEEE754_UNOP(log2);
824 break;
825 case kIeee754Float64Log10:
826 ASSEMBLE_IEEE754_UNOP(log10);
827 break;
822 case kArm64Float32RoundDown: 828 case kArm64Float32RoundDown:
823 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); 829 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0));
824 break; 830 break;
825 case kArm64Float64RoundDown: 831 case kArm64Float64RoundDown:
826 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); 832 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0));
827 break; 833 break;
828 case kArm64Float32RoundUp: 834 case kArm64Float32RoundUp:
829 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); 835 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0));
830 break; 836 break;
831 case kArm64Float64RoundUp: 837 case kArm64Float64RoundUp:
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1955 padding_size -= kInstructionSize; 1961 padding_size -= kInstructionSize;
1956 } 1962 }
1957 } 1963 }
1958 } 1964 }
1959 1965
1960 #undef __ 1966 #undef __
1961 1967
1962 } // namespace compiler 1968 } // namespace compiler
1963 } // namespace internal 1969 } // namespace internal
1964 } // namespace v8 1970 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698