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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 break; | 746 break; |
747 case kIeee754Float64Atan2: | 747 case kIeee754Float64Atan2: |
748 ASSEMBLE_IEEE754_BINOP(atan2); | 748 ASSEMBLE_IEEE754_BINOP(atan2); |
749 break; | 749 break; |
750 case kIeee754Float64Log: | 750 case kIeee754Float64Log: |
751 ASSEMBLE_IEEE754_UNOP(log); | 751 ASSEMBLE_IEEE754_UNOP(log); |
752 break; | 752 break; |
753 case kIeee754Float64Log1p: | 753 case kIeee754Float64Log1p: |
754 ASSEMBLE_IEEE754_UNOP(log1p); | 754 ASSEMBLE_IEEE754_UNOP(log1p); |
755 break; | 755 break; |
| 756 case kIeee754Float64Log2: |
| 757 ASSEMBLE_IEEE754_UNOP(log2); |
| 758 break; |
| 759 case kIeee754Float64Log10: |
| 760 ASSEMBLE_IEEE754_UNOP(log10); |
| 761 break; |
756 case kMipsAdd: | 762 case kMipsAdd: |
757 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 763 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
758 break; | 764 break; |
759 case kMipsAddOvf: | 765 case kMipsAddOvf: |
760 // Pseudo-instruction used for overflow/branch. No opcode emitted here. | 766 // Pseudo-instruction used for overflow/branch. No opcode emitted here. |
761 break; | 767 break; |
762 case kMipsSub: | 768 case kMipsSub: |
763 __ Subu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 769 __ Subu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
764 break; | 770 break; |
765 case kMipsSubOvf: | 771 case kMipsSubOvf: |
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2047 padding_size -= v8::internal::Assembler::kInstrSize; | 2053 padding_size -= v8::internal::Assembler::kInstrSize; |
2048 } | 2054 } |
2049 } | 2055 } |
2050 } | 2056 } |
2051 | 2057 |
2052 #undef __ | 2058 #undef __ |
2053 | 2059 |
2054 } // namespace compiler | 2060 } // namespace compiler |
2055 } // namespace internal | 2061 } // namespace internal |
2056 } // namespace v8 | 2062 } // namespace v8 |
OLD | NEW |