| 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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 } | 752 } |
| 753 case kIeee754Float64Atan: | 753 case kIeee754Float64Atan: |
| 754 ASSEMBLE_IEEE754_UNOP(atan); | 754 ASSEMBLE_IEEE754_UNOP(atan); |
| 755 break; | 755 break; |
| 756 case kIeee754Float64Atan2: | 756 case kIeee754Float64Atan2: |
| 757 ASSEMBLE_IEEE754_BINOP(atan2); | 757 ASSEMBLE_IEEE754_BINOP(atan2); |
| 758 break; | 758 break; |
| 759 case kIeee754Float64Atanh: | 759 case kIeee754Float64Atanh: |
| 760 ASSEMBLE_IEEE754_UNOP(atanh); | 760 ASSEMBLE_IEEE754_UNOP(atanh); |
| 761 break; | 761 break; |
| 762 case kIeee754Float64Cos: |
| 763 ASSEMBLE_IEEE754_UNOP(cos); |
| 764 break; |
| 765 case kIeee754Float64Cbrt: |
| 766 ASSEMBLE_IEEE754_UNOP(cbrt); |
| 767 break; |
| 762 case kIeee754Float64Exp: | 768 case kIeee754Float64Exp: |
| 763 ASSEMBLE_IEEE754_UNOP(exp); | 769 ASSEMBLE_IEEE754_UNOP(exp); |
| 764 break; | 770 break; |
| 765 case kIeee754Float64Expm1: | 771 case kIeee754Float64Expm1: |
| 766 ASSEMBLE_IEEE754_UNOP(expm1); | 772 ASSEMBLE_IEEE754_UNOP(expm1); |
| 767 break; | 773 break; |
| 768 case kIeee754Float64Log: | 774 case kIeee754Float64Log: |
| 769 ASSEMBLE_IEEE754_UNOP(log); | 775 ASSEMBLE_IEEE754_UNOP(log); |
| 770 break; | 776 break; |
| 771 case kIeee754Float64Log1p: | 777 case kIeee754Float64Log1p: |
| 772 ASSEMBLE_IEEE754_UNOP(log1p); | 778 ASSEMBLE_IEEE754_UNOP(log1p); |
| 773 break; | 779 break; |
| 774 case kIeee754Float64Log2: | 780 case kIeee754Float64Log2: |
| 775 ASSEMBLE_IEEE754_UNOP(log2); | 781 ASSEMBLE_IEEE754_UNOP(log2); |
| 776 break; | 782 break; |
| 777 case kIeee754Float64Log10: | 783 case kIeee754Float64Log10: |
| 778 ASSEMBLE_IEEE754_UNOP(log10); | 784 ASSEMBLE_IEEE754_UNOP(log10); |
| 779 break; | 785 break; |
| 780 case kIeee754Float64Cbrt: | 786 case kIeee754Float64Sin: |
| 781 ASSEMBLE_IEEE754_UNOP(cbrt); | 787 ASSEMBLE_IEEE754_UNOP(sin); |
| 782 break; | 788 break; |
| 783 case kMips64Add: | 789 case kMips64Add: |
| 784 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 790 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 785 break; | 791 break; |
| 786 case kMips64Dadd: | 792 case kMips64Dadd: |
| 787 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 793 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 788 break; | 794 break; |
| 789 case kMips64DaddOvf: | 795 case kMips64DaddOvf: |
| 790 // Pseudo-instruction used for overflow/branch. No opcode emitted here. | 796 // Pseudo-instruction used for overflow/branch. No opcode emitted here. |
| 791 break; | 797 break; |
| (...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2312 padding_size -= v8::internal::Assembler::kInstrSize; | 2318 padding_size -= v8::internal::Assembler::kInstrSize; |
| 2313 } | 2319 } |
| 2314 } | 2320 } |
| 2315 } | 2321 } |
| 2316 | 2322 |
| 2317 #undef __ | 2323 #undef __ |
| 2318 | 2324 |
| 2319 } // namespace compiler | 2325 } // namespace compiler |
| 2320 } // namespace internal | 2326 } // namespace internal |
| 2321 } // namespace v8 | 2327 } // namespace v8 |
| OLD | NEW |