| 2492 | |
| 2493 | |
| 2494 | static DecodeStatus DecodeAddrMode6Operand(MCInst *Inst, unsigned Val, |
| 2495 | uint64_t Address, const void *Decoder) |
| 2496 | { |
| 2497 | DecodeStatus S = MCDisassembler_Success; |
| 2498 | |
| 2499 | unsigned Rm = fieldFromInstruction_4(Val, 0, 4); |
| 2500 | unsigned align = fieldFromInstruction_4(Val, 4, 2); |
| 2501 | |
| 2502 | if (!Check(&S, DecodeGPRRegisterClass(Inst, Rm, Address, Decoder))) |
| 2503 | return MCDisassembler_Fail; |
| 2504 | |
| 2505 | if (!align) |
| 2506 | MCOperand_CreateImm0(Inst, 0); |
| 2507 | else |
| 2508 | MCOperand_CreateImm0(Inst, 4 << align); |
| 2509 | |
| 2510 | return S; |
| 2511 | } |
| 2512 | |
| 2513 | static DecodeStatus DecodeVLDInstruction(MCInst *Inst, unsigned Insn, |
| 2514 | uint64_t Address, const void *Decoder) |
no test coverage detected
searching dependent graphs…