OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 #include "src/mips/constants-mips.h" | 9 #include "src/mips/constants-mips.h" |
10 | 10 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 case CLZ: | 265 case CLZ: |
266 return kRegisterType; | 266 return kRegisterType; |
267 default: | 267 default: |
268 return kUnsupported; | 268 return kUnsupported; |
269 } | 269 } |
270 break; | 270 break; |
271 case SPECIAL3: | 271 case SPECIAL3: |
272 switch (FunctionFieldRaw()) { | 272 switch (FunctionFieldRaw()) { |
273 case INS: | 273 case INS: |
274 case EXT: | 274 case EXT: |
| 275 case BITSWAP: |
275 return kRegisterType; | 276 return kRegisterType; |
276 default: | 277 default: |
277 return kUnsupported; | 278 return kUnsupported; |
278 } | 279 } |
279 break; | 280 break; |
280 case COP1: // Coprocessor instructions. | 281 case COP1: // Coprocessor instructions. |
281 switch (RsFieldRawNoAssert()) { | 282 switch (RsFieldRawNoAssert()) { |
282 case BC1: // Branch on coprocessor condition. | 283 case BC1: // Branch on coprocessor condition. |
283 case BC1EQZ: | 284 case BC1EQZ: |
284 case BC1NEZ: | 285 case BC1NEZ: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 default: | 335 default: |
335 return kUnsupported; | 336 return kUnsupported; |
336 } | 337 } |
337 return kUnsupported; | 338 return kUnsupported; |
338 } | 339 } |
339 | 340 |
340 | 341 |
341 } } // namespace v8::internal | 342 } } // namespace v8::internal |
342 | 343 |
343 #endif // V8_TARGET_ARCH_MIPS | 344 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |