OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |