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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 __ bind(ool->exit()); | 743 __ bind(ool->exit()); |
744 break; | 744 break; |
745 } | 745 } |
746 case kArchStackSlot: { | 746 case kArchStackSlot: { |
747 FrameOffset offset = | 747 FrameOffset offset = |
748 frame_access_state()->GetFrameOffset(i.InputInt32(0)); | 748 frame_access_state()->GetFrameOffset(i.InputInt32(0)); |
749 __ Daddu(i.OutputRegister(), offset.from_stack_pointer() ? sp : fp, | 749 __ Daddu(i.OutputRegister(), offset.from_stack_pointer() ? sp : fp, |
750 Operand(offset.offset())); | 750 Operand(offset.offset())); |
751 break; | 751 break; |
752 } | 752 } |
| 753 case kIeee754Float64Acos: |
| 754 ASSEMBLE_IEEE754_UNOP(acos); |
| 755 break; |
| 756 case kIeee754Float64Acosh: |
| 757 ASSEMBLE_IEEE754_UNOP(acosh); |
| 758 break; |
| 759 case kIeee754Float64Asin: |
| 760 ASSEMBLE_IEEE754_UNOP(asin); |
| 761 break; |
| 762 case kIeee754Float64Asinh: |
| 763 ASSEMBLE_IEEE754_UNOP(asinh); |
| 764 break; |
753 case kIeee754Float64Atan: | 765 case kIeee754Float64Atan: |
754 ASSEMBLE_IEEE754_UNOP(atan); | 766 ASSEMBLE_IEEE754_UNOP(atan); |
755 break; | 767 break; |
| 768 case kIeee754Float64Atanh: |
| 769 ASSEMBLE_IEEE754_UNOP(atanh); |
| 770 break; |
756 case kIeee754Float64Atan2: | 771 case kIeee754Float64Atan2: |
757 ASSEMBLE_IEEE754_BINOP(atan2); | 772 ASSEMBLE_IEEE754_BINOP(atan2); |
758 break; | 773 break; |
759 case kIeee754Float64Atanh: | |
760 ASSEMBLE_IEEE754_UNOP(atanh); | |
761 break; | |
762 case kIeee754Float64Cos: | 774 case kIeee754Float64Cos: |
763 ASSEMBLE_IEEE754_UNOP(cos); | 775 ASSEMBLE_IEEE754_UNOP(cos); |
764 break; | 776 break; |
765 case kIeee754Float64Cosh: | 777 case kIeee754Float64Cosh: |
766 ASSEMBLE_IEEE754_UNOP(cosh); | 778 ASSEMBLE_IEEE754_UNOP(cosh); |
767 break; | 779 break; |
768 case kIeee754Float64Cbrt: | 780 case kIeee754Float64Cbrt: |
769 ASSEMBLE_IEEE754_UNOP(cbrt); | 781 ASSEMBLE_IEEE754_UNOP(cbrt); |
770 break; | 782 break; |
771 case kIeee754Float64Exp: | 783 case kIeee754Float64Exp: |
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2345 padding_size -= v8::internal::Assembler::kInstrSize; | 2357 padding_size -= v8::internal::Assembler::kInstrSize; |
2346 } | 2358 } |
2347 } | 2359 } |
2348 } | 2360 } |
2349 | 2361 |
2350 #undef __ | 2362 #undef __ |
2351 | 2363 |
2352 } // namespace compiler | 2364 } // namespace compiler |
2353 } // namespace internal | 2365 } // namespace internal |
2354 } // namespace v8 | 2366 } // namespace v8 |
OLD | NEW |