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

Side by Side Diff: src/mips64/constants-mips64.h

Issue 2871663002: MIPS64: Add/fix bit insertion/extraction instrs. (Closed)
Patch Set: Remove pps variable use Created 3 years, 7 months 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
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/mips64/disasm-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #ifndef V8_MIPS_CONSTANTS_H_ 5 #ifndef V8_MIPS_CONSTANTS_H_
6 #define V8_MIPS_CONSTANTS_H_ 6 #define V8_MIPS_CONSTANTS_H_
7 7
8 #include "src/base/logging.h" 8 #include "src/base/logging.h"
9 #include "src/base/macros.h" 9 #include "src/base/macros.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 case DCLZ: 1701 case DCLZ:
1702 return kRegisterType; 1702 return kRegisterType;
1703 default: 1703 default:
1704 return kUnsupported; 1704 return kUnsupported;
1705 } 1705 }
1706 break; 1706 break;
1707 case SPECIAL3: 1707 case SPECIAL3:
1708 switch (FunctionFieldRaw()) { 1708 switch (FunctionFieldRaw()) {
1709 case INS: 1709 case INS:
1710 case DINS: 1710 case DINS:
1711 case DINSM:
1712 case DINSU:
1711 case EXT: 1713 case EXT:
1712 case DEXT: 1714 case DEXT:
1713 case DEXTM: 1715 case DEXTM:
1714 case DEXTU: 1716 case DEXTU:
1715 return kRegisterType; 1717 return kRegisterType;
1716 case BSHFL: { 1718 case BSHFL: {
1717 int sa = SaFieldRaw() >> kSaShift; 1719 int sa = SaFieldRaw() >> kSaShift;
1718 switch (sa) { 1720 switch (sa) {
1719 case BITSWAP: 1721 case BITSWAP:
1720 case WSBH: 1722 case WSBH:
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1908 } 1910 }
1909 break; 1911 break;
1910 default: 1912 default:
1911 return false; 1913 return false;
1912 } 1914 }
1913 } 1915 }
1914 } // namespace internal 1916 } // namespace internal
1915 } // namespace v8 1917 } // namespace v8
1916 1918
1917 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1919 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/mips64/disasm-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698