| 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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 } | 809 } |
| 810 case kIeee754Float64Atan: | 810 case kIeee754Float64Atan: |
| 811 ASSEMBLE_IEEE754_UNOP(atan); | 811 ASSEMBLE_IEEE754_UNOP(atan); |
| 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 kIeee754Float64Exp: | 816 case kIeee754Float64Exp: |
| 817 ASSEMBLE_IEEE754_UNOP(exp); | 817 ASSEMBLE_IEEE754_UNOP(exp); |
| 818 break; | 818 break; |
| 819 case kIeee754Float64Atanh: |
| 820 ASSEMBLE_IEEE754_UNOP(atanh); |
| 821 break; |
| 819 case kIeee754Float64Log: | 822 case kIeee754Float64Log: |
| 820 ASSEMBLE_IEEE754_UNOP(log); | 823 ASSEMBLE_IEEE754_UNOP(log); |
| 821 break; | 824 break; |
| 822 case kIeee754Float64Log1p: | 825 case kIeee754Float64Log1p: |
| 823 ASSEMBLE_IEEE754_UNOP(log1p); | 826 ASSEMBLE_IEEE754_UNOP(log1p); |
| 824 break; | 827 break; |
| 825 case kIeee754Float64Log2: | 828 case kIeee754Float64Log2: |
| 826 ASSEMBLE_IEEE754_UNOP(log2); | 829 ASSEMBLE_IEEE754_UNOP(log2); |
| 827 break; | 830 break; |
| 828 case kIeee754Float64Log10: | 831 case kIeee754Float64Log10: |
| 829 ASSEMBLE_IEEE754_UNOP(log10); | 832 ASSEMBLE_IEEE754_UNOP(log10); |
| 830 break; | 833 break; |
| 834 case kIeee754Float64Cbrt: |
| 835 ASSEMBLE_IEEE754_UNOP(cbrt); |
| 836 break; |
| 837 case kIeee754Float64Expm1: |
| 838 ASSEMBLE_IEEE754_UNOP(expm1); |
| 839 break; |
| 831 case kArm64Float32RoundDown: | 840 case kArm64Float32RoundDown: |
| 832 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); | 841 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 833 break; | 842 break; |
| 834 case kArm64Float64RoundDown: | 843 case kArm64Float64RoundDown: |
| 835 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); | 844 __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
| 836 break; | 845 break; |
| 837 case kArm64Float32RoundUp: | 846 case kArm64Float32RoundUp: |
| 838 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); | 847 __ Frintp(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
| 839 break; | 848 break; |
| 840 case kArm64Float64RoundUp: | 849 case kArm64Float64RoundUp: |
| (...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 padding_size -= kInstructionSize; | 1973 padding_size -= kInstructionSize; |
| 1965 } | 1974 } |
| 1966 } | 1975 } |
| 1967 } | 1976 } |
| 1968 | 1977 |
| 1969 #undef __ | 1978 #undef __ |
| 1970 | 1979 |
| 1971 } // namespace compiler | 1980 } // namespace compiler |
| 1972 } // namespace internal | 1981 } // namespace internal |
| 1973 } // namespace v8 | 1982 } // namespace v8 |
| OLD | NEW |