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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 break; | 833 break; |
834 case kIeee754Float64Log1p: | 834 case kIeee754Float64Log1p: |
835 ASSEMBLE_IEEE754_UNOP(log1p); | 835 ASSEMBLE_IEEE754_UNOP(log1p); |
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 kIeee754Float64Pow: { |
| 844 MathPowStub stub(isolate(), MathPowStub::DOUBLE); |
| 845 __ CallStub(&stub); |
| 846 break; |
| 847 } |
843 case kIeee754Float64Sin: | 848 case kIeee754Float64Sin: |
844 ASSEMBLE_IEEE754_UNOP(sin); | 849 ASSEMBLE_IEEE754_UNOP(sin); |
845 break; | 850 break; |
846 case kIeee754Float64Tan: | 851 case kIeee754Float64Tan: |
847 ASSEMBLE_IEEE754_UNOP(tan); | 852 ASSEMBLE_IEEE754_UNOP(tan); |
848 break; | 853 break; |
849 case kArm64Float32RoundDown: | 854 case kArm64Float32RoundDown: |
850 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); | 855 __ Frintm(i.OutputFloat32Register(), i.InputFloat32Register(0)); |
851 break; | 856 break; |
852 case kArm64Float64RoundDown: | 857 case kArm64Float64RoundDown: |
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1982 padding_size -= kInstructionSize; | 1987 padding_size -= kInstructionSize; |
1983 } | 1988 } |
1984 } | 1989 } |
1985 } | 1990 } |
1986 | 1991 |
1987 #undef __ | 1992 #undef __ |
1988 | 1993 |
1989 } // namespace compiler | 1994 } // namespace compiler |
1990 } // namespace internal | 1995 } // namespace internal |
1991 } // namespace v8 | 1996 } // namespace v8 |
OLD | NEW |