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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |