MCPcopy Create free account
hub / github.com/capstone-engine/capstone / DecodeVLDST2Instruction

Function DecodeVLDST2Instruction

arch/ARM/ARMDisassembler.c:2812–2828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2810}
2811
2812static DecodeStatus DecodeVLDST2Instruction(MCInst *Inst, unsigned Insn,
2813 uint64_t Address, const void *Decoder)
2814{
2815 unsigned type, align, load;
2816 unsigned size = fieldFromInstruction_4(Insn, 6, 2);
2817 if (size == 3) return MCDisassembler_Fail;
2818
2819 type = fieldFromInstruction_4(Insn, 8, 4);
2820 align = fieldFromInstruction_4(Insn, 4, 2);
2821 if (type == 8 && align == 3) return MCDisassembler_Fail;
2822 if (type == 9 && align == 3) return MCDisassembler_Fail;
2823
2824 load = fieldFromInstruction_4(Insn, 21, 1);
2825
2826 return load ? DecodeVLDInstruction(Inst, Insn, Address, Decoder)
2827 : DecodeVSTInstruction(Inst, Insn, Address, Decoder);
2828}
2829
2830static DecodeStatus DecodeVLDST3Instruction(MCInst *Inst, unsigned Insn,
2831 uint64_t Address, const void *Decoder)

Callers

nothing calls this directly

Calls 2

DecodeVLDInstructionFunction · 0.85
DecodeVSTInstructionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…