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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 #include "src/compiler/code-generator-impl.h" | 6 #include "src/compiler/code-generator-impl.h" |
7 #include "src/compiler/gap-resolver.h" | 7 #include "src/compiler/gap-resolver.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/osr.h" | 9 #include "src/compiler/osr.h" |
10 #include "src/mips/macro-assembler-mips.h" | 10 #include "src/mips/macro-assembler-mips.h" |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 break; | 611 break; |
612 case kMips64Mul: | 612 case kMips64Mul: |
613 __ Mul(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 613 __ Mul(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
614 break; | 614 break; |
615 case kMips64MulHigh: | 615 case kMips64MulHigh: |
616 __ Mulh(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 616 __ Mulh(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
617 break; | 617 break; |
618 case kMips64MulHighU: | 618 case kMips64MulHighU: |
619 __ Mulhu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 619 __ Mulhu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
620 break; | 620 break; |
| 621 case kMips64DMulHigh: |
| 622 __ Dmulh(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 623 break; |
621 case kMips64Div: | 624 case kMips64Div: |
622 __ Div(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 625 __ Div(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
623 break; | 626 break; |
624 case kMips64DivU: | 627 case kMips64DivU: |
625 __ Divu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 628 __ Divu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
626 break; | 629 break; |
627 case kMips64Mod: | 630 case kMips64Mod: |
628 __ Mod(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 631 __ Mod(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
629 break; | 632 break; |
630 case kMips64ModU: | 633 case kMips64ModU: |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 padding_size -= v8::internal::Assembler::kInstrSize; | 1691 padding_size -= v8::internal::Assembler::kInstrSize; |
1689 } | 1692 } |
1690 } | 1693 } |
1691 } | 1694 } |
1692 | 1695 |
1693 #undef __ | 1696 #undef __ |
1694 | 1697 |
1695 } // namespace compiler | 1698 } // namespace compiler |
1696 } // namespace internal | 1699 } // namespace internal |
1697 } // namespace v8 | 1700 } // namespace v8 |
OLD | NEW |