| 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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 break; | 700 break; |
| 701 case kIeee754Float64Log1p: | 701 case kIeee754Float64Log1p: |
| 702 ASSEMBLE_IEEE754_UNOP(log1p); | 702 ASSEMBLE_IEEE754_UNOP(log1p); |
| 703 break; | 703 break; |
| 704 case kIeee754Float64Log2: | 704 case kIeee754Float64Log2: |
| 705 ASSEMBLE_IEEE754_UNOP(log2); | 705 ASSEMBLE_IEEE754_UNOP(log2); |
| 706 break; | 706 break; |
| 707 case kIeee754Float64Log10: | 707 case kIeee754Float64Log10: |
| 708 ASSEMBLE_IEEE754_UNOP(log10); | 708 ASSEMBLE_IEEE754_UNOP(log10); |
| 709 break; | 709 break; |
| 710 case kIeee754Float64Pow: { |
| 711 MathPowStub stub(isolate(), MathPowStub::DOUBLE); |
| 712 __ CallStub(&stub); |
| 713 __ vmov(d0, d2); |
| 714 break; |
| 715 } |
| 710 case kIeee754Float64Sin: | 716 case kIeee754Float64Sin: |
| 711 ASSEMBLE_IEEE754_UNOP(sin); | 717 ASSEMBLE_IEEE754_UNOP(sin); |
| 712 break; | 718 break; |
| 713 case kIeee754Float64Tan: | 719 case kIeee754Float64Tan: |
| 714 ASSEMBLE_IEEE754_UNOP(tan); | 720 ASSEMBLE_IEEE754_UNOP(tan); |
| 715 break; | 721 break; |
| 716 case kArmAdd: | 722 case kArmAdd: |
| 717 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), | 723 __ add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2(1), |
| 718 i.OutputSBit()); | 724 i.OutputSBit()); |
| 719 break; | 725 break; |
| (...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1806 padding_size -= v8::internal::Assembler::kInstrSize; | 1812 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1807 } | 1813 } |
| 1808 } | 1814 } |
| 1809 } | 1815 } |
| 1810 | 1816 |
| 1811 #undef __ | 1817 #undef __ |
| 1812 | 1818 |
| 1813 } // namespace compiler | 1819 } // namespace compiler |
| 1814 } // namespace internal | 1820 } // namespace internal |
| 1815 } // namespace v8 | 1821 } // namespace v8 |
| OLD | NEW |