| 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 return kRegisterType; | 275 return kRegisterType; |
| 276 default: | 276 default: |
| 277 return kUnsupported; | 277 return kUnsupported; |
| 278 } | 278 } |
| 279 break; | 279 break; |
| 280 case COP1: // Coprocessor instructions. | 280 case COP1: // Coprocessor instructions. |
| 281 switch (RsFieldRawNoAssert()) { | 281 switch (RsFieldRawNoAssert()) { |
| 282 case BC1: // Branch on coprocessor condition. | 282 case BC1: // Branch on coprocessor condition. |
| 283 case BC1EQZ: | 283 case BC1EQZ: |
| 284 case BC1NEZ: | 284 case BC1NEZ: |
| 285 case SELEQZ_C: | |
| 286 case SELNEZ_C: | |
| 287 return kImmediateType; | 285 return kImmediateType; |
| 288 default: | 286 default: |
| 289 return kRegisterType; | 287 return kRegisterType; |
| 290 } | 288 } |
| 291 break; | 289 break; |
| 292 case COP1X: | 290 case COP1X: |
| 293 return kRegisterType; | 291 return kRegisterType; |
| 294 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16. | 292 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16. |
| 295 case REGIMM: | 293 case REGIMM: |
| 296 case BEQ: | 294 case BEQ: |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 default: | 334 default: |
| 337 return kUnsupported; | 335 return kUnsupported; |
| 338 } | 336 } |
| 339 return kUnsupported; | 337 return kUnsupported; |
| 340 } | 338 } |
| 341 | 339 |
| 342 | 340 |
| 343 } } // namespace v8::internal | 341 } } // namespace v8::internal |
| 344 | 342 |
| 345 #endif // V8_TARGET_ARCH_MIPS | 343 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |