MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / UDIV

Function UDIV

arch/arm64/disassembler/decode2.c:28466–28482  ·  view source on GitHub ↗

udiv.xml */

Source from the content-addressed store, hash-verified

28464
28465/* udiv.xml */
28466int UDIV(context *ctx, Instruction *instr)
28467{
28468 int rc = DECODE_STATUS_UNMATCHED;
28469 /* class iclass_general */
28470 /* sf=x|op=0|S=0|11010110|Rm=xxxxx|opcode2[5:1]=00001|o1=0|Rn=xxxxx|Rd=xxxxx */
28471 if((INSWORD & 0x7FE0FC00)==0x1AC00800) {
28472 decode_fields32(ENC_UDIV_32_DP_2SRC, ctx, instr);
28473 ctx->d = UINT(ctx->Rd);
28474 ctx->n = UINT(ctx->Rn);
28475 ctx->m = UINT(ctx->Rm);
28476 ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20;
28477 ctx->unsigned_ = (ctx->o1==0);
28478 if(ctx->sf==0) OK(ENC_UDIV_32_DP_2SRC);
28479 if(ctx->sf==1) OK(ENC_UDIV_64_DP_2SRC);
28480 }
28481 return rc;
28482}
28483
28484/* udot_advsimd_elt.xml */
28485int UDOT_advsimd_elt(context *ctx, Instruction *instr)

Callers 1

decode_iclass_dp_2srcFunction · 0.85

Calls 1

decode_fields32Function · 0.85

Tested by

no test coverage detected