OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/ast/scopes.h" | 7 #include "src/ast/scopes.h" |
8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 } | 869 } |
870 case kIeee754Float64Atan: | 870 case kIeee754Float64Atan: |
871 ASSEMBLE_IEEE754_UNOP(atan); | 871 ASSEMBLE_IEEE754_UNOP(atan); |
872 break; | 872 break; |
873 case kIeee754Float64Atan2: | 873 case kIeee754Float64Atan2: |
874 ASSEMBLE_IEEE754_BINOP(atan2); | 874 ASSEMBLE_IEEE754_BINOP(atan2); |
875 break; | 875 break; |
876 case kIeee754Float64Atanh: | 876 case kIeee754Float64Atanh: |
877 ASSEMBLE_IEEE754_UNOP(atanh); | 877 ASSEMBLE_IEEE754_UNOP(atanh); |
878 break; | 878 break; |
| 879 case kIeee754Float64Cbrt: |
| 880 ASSEMBLE_IEEE754_UNOP(cbrt); |
| 881 break; |
| 882 case kIeee754Float64Cos: |
| 883 ASSEMBLE_IEEE754_UNOP(cos); |
| 884 break; |
879 case kIeee754Float64Exp: | 885 case kIeee754Float64Exp: |
880 ASSEMBLE_IEEE754_UNOP(exp); | 886 ASSEMBLE_IEEE754_UNOP(exp); |
881 break; | 887 break; |
882 case kIeee754Float64Expm1: | 888 case kIeee754Float64Expm1: |
883 ASSEMBLE_IEEE754_UNOP(expm1); | 889 ASSEMBLE_IEEE754_UNOP(expm1); |
884 break; | 890 break; |
885 case kIeee754Float64Log: | 891 case kIeee754Float64Log: |
886 ASSEMBLE_IEEE754_UNOP(log); | 892 ASSEMBLE_IEEE754_UNOP(log); |
887 break; | 893 break; |
888 case kIeee754Float64Log1p: | 894 case kIeee754Float64Log1p: |
889 ASSEMBLE_IEEE754_UNOP(log1p); | 895 ASSEMBLE_IEEE754_UNOP(log1p); |
890 break; | 896 break; |
891 case kIeee754Float64Log2: | 897 case kIeee754Float64Log2: |
892 ASSEMBLE_IEEE754_UNOP(log2); | 898 ASSEMBLE_IEEE754_UNOP(log2); |
893 break; | 899 break; |
894 case kIeee754Float64Log10: | 900 case kIeee754Float64Log10: |
895 ASSEMBLE_IEEE754_UNOP(log10); | 901 ASSEMBLE_IEEE754_UNOP(log10); |
896 break; | 902 break; |
897 case kIeee754Float64Cbrt: | 903 case kIeee754Float64Sin: |
898 ASSEMBLE_IEEE754_UNOP(cbrt); | 904 ASSEMBLE_IEEE754_UNOP(sin); |
899 break; | 905 break; |
900 case kX64Add32: | 906 case kX64Add32: |
901 ASSEMBLE_BINOP(addl); | 907 ASSEMBLE_BINOP(addl); |
902 break; | 908 break; |
903 case kX64Add: | 909 case kX64Add: |
904 ASSEMBLE_BINOP(addq); | 910 ASSEMBLE_BINOP(addq); |
905 break; | 911 break; |
906 case kX64Sub32: | 912 case kX64Sub32: |
907 ASSEMBLE_BINOP(subl); | 913 ASSEMBLE_BINOP(subl); |
908 break; | 914 break; |
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; | 2383 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; |
2378 __ Nop(padding_size); | 2384 __ Nop(padding_size); |
2379 } | 2385 } |
2380 } | 2386 } |
2381 | 2387 |
2382 #undef __ | 2388 #undef __ |
2383 | 2389 |
2384 } // namespace compiler | 2390 } // namespace compiler |
2385 } // namespace internal | 2391 } // namespace internal |
2386 } // namespace v8 | 2392 } // namespace v8 |
OLD | NEW |