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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 break; | 626 break; |
627 case kMipsModU: | 627 case kMipsModU: |
628 __ Modu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 628 __ Modu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
629 break; | 629 break; |
630 case kMipsAnd: | 630 case kMipsAnd: |
631 __ And(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 631 __ And(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
632 break; | 632 break; |
633 case kMipsOr: | 633 case kMipsOr: |
634 __ Or(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 634 __ Or(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
635 break; | 635 break; |
| 636 case kMipsNor: |
| 637 __ Nor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
| 638 break; |
636 case kMipsXor: | 639 case kMipsXor: |
637 __ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); | 640 __ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); |
638 break; | 641 break; |
639 case kMipsClz: | 642 case kMipsClz: |
640 __ Clz(i.OutputRegister(), i.InputRegister(0)); | 643 __ Clz(i.OutputRegister(), i.InputRegister(0)); |
641 break; | 644 break; |
642 case kMipsShl: | 645 case kMipsShl: |
643 if (instr->InputAt(1)->IsRegister()) { | 646 if (instr->InputAt(1)->IsRegister()) { |
644 __ sllv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); | 647 __ sllv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |
645 } else { | 648 } else { |
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 padding_size -= v8::internal::Assembler::kInstrSize; | 1583 padding_size -= v8::internal::Assembler::kInstrSize; |
1581 } | 1584 } |
1582 } | 1585 } |
1583 } | 1586 } |
1584 | 1587 |
1585 #undef __ | 1588 #undef __ |
1586 | 1589 |
1587 } // namespace compiler | 1590 } // namespace compiler |
1588 } // namespace internal | 1591 } // namespace internal |
1589 } // namespace v8 | 1592 } // namespace v8 |
OLD | NEW |