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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 #include "src/mips64/constants-mips64.h" | 9 #include "src/mips64/constants-mips64.h" |
10 | 10 |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 case INS: | 288 case INS: |
289 case EXT: | 289 case EXT: |
290 return kRegisterType; | 290 return kRegisterType; |
291 default: | 291 default: |
292 return kUnsupported; | 292 return kUnsupported; |
293 } | 293 } |
294 break; | 294 break; |
295 case COP1: // Coprocessor instructions. | 295 case COP1: // Coprocessor instructions. |
296 switch (RsFieldRawNoAssert()) { | 296 switch (RsFieldRawNoAssert()) { |
297 case BC1: // Branch on coprocessor condition. | 297 case BC1: // Branch on coprocessor condition. |
| 298 case BC1EQZ: |
| 299 case BC1NEZ: |
298 return kImmediateType; | 300 return kImmediateType; |
299 default: | 301 default: |
300 return kRegisterType; | 302 return kRegisterType; |
301 } | 303 } |
302 break; | 304 break; |
303 case COP1X: | 305 case COP1X: |
304 return kRegisterType; | 306 return kRegisterType; |
305 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16. | 307 // 16 bits Immediate type instructions. e.g.: addi dest, src, imm16. |
306 case REGIMM: | 308 case REGIMM: |
307 case BEQ: | 309 case BEQ: |
308 case BNE: | 310 case BNE: |
309 case BLEZ: | 311 case BLEZ: |
310 case BGTZ: | 312 case BGTZ: |
311 case ADDI: | 313 case ADDI: |
312 case DADDI: | 314 case DADDI: |
313 case ADDIU: | 315 case ADDIU: |
314 case DADDIU: | 316 case DADDIU: |
315 case SLTI: | 317 case SLTI: |
316 case SLTIU: | 318 case SLTIU: |
317 case ANDI: | 319 case ANDI: |
318 case ORI: | 320 case ORI: |
319 case XORI: | 321 case XORI: |
320 case LUI: | 322 case LUI: |
321 case BEQL: | 323 case BEQL: |
322 case BNEL: | 324 case BNEL: |
323 case BLEZL: | 325 case BLEZL: |
324 case BGTZL: | 326 case BGTZL: |
| 327 case BEQZC: |
| 328 case BNEZC: |
325 case LB: | 329 case LB: |
326 case LH: | 330 case LH: |
327 case LWL: | 331 case LWL: |
328 case LW: | 332 case LW: |
329 case LWU: | 333 case LWU: |
330 case LD: | 334 case LD: |
331 case LBU: | 335 case LBU: |
332 case LHU: | 336 case LHU: |
333 case LWR: | 337 case LWR: |
334 case SB: | 338 case SB: |
(...skipping 14 matching lines...) Expand all Loading... |
349 default: | 353 default: |
350 return kUnsupported; | 354 return kUnsupported; |
351 } | 355 } |
352 return kUnsupported; | 356 return kUnsupported; |
353 } | 357 } |
354 | 358 |
355 | 359 |
356 } } // namespace v8::internal | 360 } } // namespace v8::internal |
357 | 361 |
358 #endif // V8_TARGET_ARCH_MIPS64 | 362 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |