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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 break; | 779 break; |
780 case kIeee754Float64Log2: | 780 case kIeee754Float64Log2: |
781 ASSEMBLE_IEEE754_UNOP(log2); | 781 ASSEMBLE_IEEE754_UNOP(log2); |
782 break; | 782 break; |
783 case kIeee754Float64Log10: | 783 case kIeee754Float64Log10: |
784 ASSEMBLE_IEEE754_UNOP(log10); | 784 ASSEMBLE_IEEE754_UNOP(log10); |
785 break; | 785 break; |
786 case kIeee754Float64Sin: | 786 case kIeee754Float64Sin: |
787 ASSEMBLE_IEEE754_UNOP(sin); | 787 ASSEMBLE_IEEE754_UNOP(sin); |
788 break; | 788 break; |
| 789 case kIeee754Float64Tan: |
| 790 ASSEMBLE_IEEE754_UNOP(tan); |
| 791 break; |
789 case kMips64Add: | 792 case kMips64Add: |
790 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 793 __ Addu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
791 break; | 794 break; |
792 case kMips64Dadd: | 795 case kMips64Dadd: |
793 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 796 __ Daddu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
794 break; | 797 break; |
795 case kMips64DaddOvf: | 798 case kMips64DaddOvf: |
796 // Pseudo-instruction used for overflow/branch. No opcode emitted here. | 799 // Pseudo-instruction used for overflow/branch. No opcode emitted here. |
797 break; | 800 break; |
798 case kMips64Sub: | 801 case kMips64Sub: |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2318 padding_size -= v8::internal::Assembler::kInstrSize; | 2321 padding_size -= v8::internal::Assembler::kInstrSize; |
2319 } | 2322 } |
2320 } | 2323 } |
2321 } | 2324 } |
2322 | 2325 |
2323 #undef __ | 2326 #undef __ |
2324 | 2327 |
2325 } // namespace compiler | 2328 } // namespace compiler |
2326 } // namespace internal | 2329 } // namespace internal |
2327 } // namespace v8 | 2330 } // namespace v8 |
OLD | NEW |