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

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

Issue 2083453002: [builtins] Introduce proper Float64Tan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 break; 836 break;
837 case kIeee754Float64Log2: 837 case kIeee754Float64Log2:
838 ASSEMBLE_IEEE754_UNOP(log2); 838 ASSEMBLE_IEEE754_UNOP(log2);
839 break; 839 break;
840 case kIeee754Float64Log10: 840 case kIeee754Float64Log10:
841 ASSEMBLE_IEEE754_UNOP(log10); 841 ASSEMBLE_IEEE754_UNOP(log10);
842 break; 842 break;
843 case kIeee754Float64Sin: 843 case kIeee754Float64Sin:
844 ASSEMBLE_IEEE754_UNOP(sin); 844 ASSEMBLE_IEEE754_UNOP(sin);
845 break; 845 break;
846 case kIeee754Float64Tan:
847 ASSEMBLE_IEEE754_UNOP(tan);
848 break;
846 case kArm64Float32RoundDown: 849 case kArm64Float32RoundDown:
847 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); 850 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0));
848 break; 851 break;
849 case kArm64Float64RoundDown: 852 case kArm64Float64RoundDown:
850 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); 853 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0));
851 break; 854 break;
852 case kArm64Float32RoundUp: 855 case kArm64Float32RoundUp:
853 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); 856 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0));
854 break; 857 break;
855 case kArm64Float64RoundUp: 858 case kArm64Float64RoundUp:
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1979 padding_size -= kInstructionSize; 1982 padding_size -= kInstructionSize;
1980 } 1983 }
1981 } 1984 }
1982 } 1985 }
1983 1986
1984 #undef __ 1987 #undef __
1985 1988
1986 } // namespace compiler 1989 } // namespace compiler
1987 } // namespace internal 1990 } // namespace internal
1988 } // namespace v8 1991 } // 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