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 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 break; | 770 break; |
771 case kIeee754Float64Log10: | 771 case kIeee754Float64Log10: |
772 ASSEMBLE_IEEE754_UNOP(log10); | 772 ASSEMBLE_IEEE754_UNOP(log10); |
773 break; | 773 break; |
774 case kIeee754Float64Log2: | 774 case kIeee754Float64Log2: |
775 ASSEMBLE_IEEE754_UNOP(log2); | 775 ASSEMBLE_IEEE754_UNOP(log2); |
776 break; | 776 break; |
777 case kIeee754Float64Sin: | 777 case kIeee754Float64Sin: |
778 ASSEMBLE_IEEE754_UNOP(sin); | 778 ASSEMBLE_IEEE754_UNOP(sin); |
779 break; | 779 break; |
| 780 case kIeee754Float64Tan: |
| 781 ASSEMBLE_IEEE754_UNOP(tan); |
| 782 break; |
780 case kMipsAdd: | 783 case kMipsAdd: |
781 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 784 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
782 break; | 785 break; |
783 case kMipsAddOvf: | 786 case kMipsAddOvf: |
784 // Pseudo-instruction used for overflow/branch. No opcode emitted here. | 787 // Pseudo-instruction used for overflow/branch. No opcode emitted here. |
785 break; | 788 break; |
786 case kMipsSub: | 789 case kMipsSub: |
787 __ Subu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 790 __ Subu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
788 break; | 791 break; |
789 case kMipsSubOvf: | 792 case kMipsSubOvf: |
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2071 padding_size -= v8::internal::Assembler::kInstrSize; | 2074 padding_size -= v8::internal::Assembler::kInstrSize; |
2072 } | 2075 } |
2073 } | 2076 } |
2074 } | 2077 } |
2075 | 2078 |
2076 #undef __ | 2079 #undef __ |
2077 | 2080 |
2078 } // namespace compiler | 2081 } // namespace compiler |
2079 } // namespace internal | 2082 } // namespace internal |
2080 } // namespace v8 | 2083 } // namespace v8 |
OLD | NEW |