Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/compiler/mips64/code-generator-mips64.cc

Issue 1459723002: MIPS: [turbofan] Add matching rule to use Nor instruction. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed typo. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 break; 647 break;
648 case kMips64DmodU: 648 case kMips64DmodU:
649 __ Dmodu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 649 __ Dmodu(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
650 break; 650 break;
651 case kMips64And: 651 case kMips64And:
652 __ And(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 652 __ And(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
653 break; 653 break;
654 case kMips64Or: 654 case kMips64Or:
655 __ Or(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 655 __ Or(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
656 break; 656 break;
657 case kMips64Nor:
658 __ Nor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
659 break;
657 case kMips64Xor: 660 case kMips64Xor:
658 __ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1)); 661 __ Xor(i.OutputRegister(), i.InputRegister(0), i.InputOperand(1));
659 break; 662 break;
660 case kMips64Clz: 663 case kMips64Clz:
661 __ Clz(i.OutputRegister(), i.InputRegister(0)); 664 __ Clz(i.OutputRegister(), i.InputRegister(0));
662 break; 665 break;
663 case kMips64Dclz: 666 case kMips64Dclz:
664 __ dclz(i.OutputRegister(), i.InputRegister(0)); 667 __ dclz(i.OutputRegister(), i.InputRegister(0));
665 break; 668 break;
666 case kMips64Shl: 669 case kMips64Shl:
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 padding_size -= v8::internal::Assembler::kInstrSize; 1697 padding_size -= v8::internal::Assembler::kInstrSize;
1695 } 1698 }
1696 } 1699 }
1697 } 1700 }
1698 1701
1699 #undef __ 1702 #undef __
1700 1703
1701 } // namespace compiler 1704 } // namespace compiler
1702 } // namespace internal 1705 } // namespace internal
1703 } // namespace v8 1706 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/instruction-selector-mips.cc ('k') | src/compiler/mips64/instruction-codes-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698