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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 kIeee754Float64Log: | 759 case kIeee754Float64Log: |
760 ASSEMBLE_IEEE754_UNOP(log); | 760 ASSEMBLE_IEEE754_UNOP(log); |
761 break; | 761 break; |
762 case kIeee754Float64Log1p: | 762 case kIeee754Float64Log1p: |
763 ASSEMBLE_IEEE754_UNOP(log1p); | 763 ASSEMBLE_IEEE754_UNOP(log1p); |
764 break; | 764 break; |
| 765 case kIeee754Float64Log2: |
| 766 ASSEMBLE_IEEE754_UNOP(log2); |
| 767 break; |
| 768 case kIeee754Float64Log10: |
| 769 ASSEMBLE_IEEE754_UNOP(log10); |
| 770 break; |
765 case kMips64Add: | 771 case kMips64Add: |
766 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 772 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
767 break; | 773 break; |
768 case kMips64Dadd: | 774 case kMips64Dadd: |
769 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 775 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
770 break; | 776 break; |
771 case kMips64DaddOvf: | 777 case kMips64DaddOvf: |
772 // Pseudo-instruction used for overflow/branch. No opcode emitted here. | 778 // Pseudo-instruction used for overflow/branch. No opcode emitted here. |
773 break; | 779 break; |
774 case kMips64Sub: | 780 case kMips64Sub: |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2294 padding_size -= v8::internal::Assembler::kInstrSize; | 2300 padding_size -= v8::internal::Assembler::kInstrSize; |
2295 } | 2301 } |
2296 } | 2302 } |
2297 } | 2303 } |
2298 | 2304 |
2299 #undef __ | 2305 #undef __ |
2300 | 2306 |
2301 } // namespace compiler | 2307 } // namespace compiler |
2302 } // namespace internal | 2308 } // namespace internal |
2303 } // namespace v8 | 2309 } // namespace v8 |
OLD | NEW |