OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |