| 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/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
| 9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
| 10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
| (...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 } | 705 } |
| 706 case kIeee754Float64Atan: | 706 case kIeee754Float64Atan: |
| 707 ASSEMBLE_IEEE754_UNOP(atan); | 707 ASSEMBLE_IEEE754_UNOP(atan); |
| 708 break; | 708 break; |
| 709 case kIeee754Float64Atan2: | 709 case kIeee754Float64Atan2: |
| 710 ASSEMBLE_IEEE754_BINOP(atan2); | 710 ASSEMBLE_IEEE754_BINOP(atan2); |
| 711 break; | 711 break; |
| 712 case kIeee754Float64Exp: | 712 case kIeee754Float64Exp: |
| 713 ASSEMBLE_IEEE754_UNOP(exp); | 713 ASSEMBLE_IEEE754_UNOP(exp); |
| 714 break; | 714 break; |
| 715 case kIeee754Float64Atanh: |
| 716 ASSEMBLE_IEEE754_UNOP(atanh); |
| 717 break; |
| 715 case kIeee754Float64Log: | 718 case kIeee754Float64Log: |
| 716 ASSEMBLE_IEEE754_UNOP(log); | 719 ASSEMBLE_IEEE754_UNOP(log); |
| 717 break; | 720 break; |
| 718 case kIeee754Float64Log1p: | 721 case kIeee754Float64Log1p: |
| 719 ASSEMBLE_IEEE754_UNOP(log1p); | 722 ASSEMBLE_IEEE754_UNOP(log1p); |
| 720 break; | 723 break; |
| 721 case kIeee754Float64Log2: | 724 case kIeee754Float64Log2: |
| 722 ASSEMBLE_IEEE754_UNOP(log2); | 725 ASSEMBLE_IEEE754_UNOP(log2); |
| 723 break; | 726 break; |
| 724 case kIeee754Float64Log10: | 727 case kIeee754Float64Log10: |
| 725 ASSEMBLE_IEEE754_UNOP(log10); | 728 ASSEMBLE_IEEE754_UNOP(log10); |
| 726 break; | 729 break; |
| 730 case kIeee754Float64Cbrt: |
| 731 ASSEMBLE_IEEE754_UNOP(cbrt); |
| 732 break; |
| 733 case kIeee754Float64Expm1: |
| 734 ASSEMBLE_IEEE754_UNOP(expm1); |
| 735 break; |
| 727 case kArmAdd: | 736 case kArmAdd: |
| 728 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 737 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
| 729 i.OutputSBit()); | 738 i.OutputSBit()); |
| 730 break; | 739 break; |
| 731 case kArmAnd: | 740 case kArmAnd: |
| 732 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 741 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
| 733 i.OutputSBit()); | 742 i.OutputSBit()); |
| 734 break; | 743 break; |
| 735 case kArmBic: | 744 case kArmBic: |
| 736 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 745 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1818 padding_size -= v8::internal::Assembler::kInstrSize; | 1827 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1819 } | 1828 } |
| 1820 } | 1829 } |
| 1821 } | 1830 } |
| 1822 | 1831 |
| 1823 #undef __ | 1832 #undef __ |
| 1824 | 1833 |
| 1825 } // namespace compiler | 1834 } // namespace compiler |
| 1826 } // namespace internal | 1835 } // namespace internal |
| 1827 } // namespace v8 | 1836 } // namespace v8 |
| OLD | NEW |