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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 kIeee754Float64Log: | 712 case kIeee754Float64Log: |
713 ASSEMBLE_IEEE754_UNOP(log); | 713 ASSEMBLE_IEEE754_UNOP(log); |
714 break; | 714 break; |
715 case kIeee754Float64Log1p: | 715 case kIeee754Float64Log1p: |
716 ASSEMBLE_IEEE754_UNOP(log1p); | 716 ASSEMBLE_IEEE754_UNOP(log1p); |
717 break; | 717 break; |
| 718 case kIeee754Float64Log2: |
| 719 ASSEMBLE_IEEE754_UNOP(log2); |
| 720 break; |
| 721 case kIeee754Float64Log10: |
| 722 ASSEMBLE_IEEE754_UNOP(log10); |
| 723 break; |
718 case kArmAdd: | 724 case kArmAdd: |
719 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 725 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
720 i.OutputSBit()); | 726 i.OutputSBit()); |
721 break; | 727 break; |
722 case kArmAnd: | 728 case kArmAnd: |
723 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 729 __ and_(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
724 i.OutputSBit()); | 730 i.OutputSBit()); |
725 break; | 731 break; |
726 case kArmBic: | 732 case kArmBic: |
727 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 733 __ bic(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 padding_size -= v8::internal::Assembler::kInstrSize; | 1815 padding_size -= v8::internal::Assembler::kInstrSize; |
1810 } | 1816 } |
1811 } | 1817 } |
1812 } | 1818 } |
1813 | 1819 |
1814 #undef __ | 1820 #undef __ |
1815 | 1821 |
1816 } // namespace compiler | 1822 } // namespace compiler |
1817 } // namespace internal | 1823 } // namespace internal |
1818 } // namespace v8 | 1824 } // namespace v8 |
OLD | NEW |