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

Function SDIV

arch/arm64/disassembler/decode2.c:20640–20656  ·  view source on GitHub ↗

sdiv.xml */

Source from the content-addressed store, hash-verified

20638
20639/* sdiv.xml */
20640int SDIV(context *ctx, Instruction *instr)
20641{
20642 int rc = DECODE_STATUS_UNMATCHED;
20643 /* class iclass_general */
20644 /* sf=x|op=0|S=0|11010110|Rm=xxxxx|opcode2[5:1]=00001|o1=1|Rn=xxxxx|Rd=xxxxx */
20645 if((INSWORD & 0x7FE0FC00)==0x1AC00C00) {
20646 decode_fields32(ENC_SDIV_32_DP_2SRC, ctx, instr);
20647 ctx->d = UINT(ctx->Rd);
20648 ctx->n = UINT(ctx->Rn);
20649 ctx->m = UINT(ctx->Rm);
20650 ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20;
20651 ctx->unsigned_ = (ctx->o1==0);
20652 if(ctx->sf==0) OK(ENC_SDIV_32_DP_2SRC);
20653 if(ctx->sf==1) OK(ENC_SDIV_64_DP_2SRC);
20654 }
20655 return rc;
20656}
20657
20658/* sdot_advsimd_elt.xml */
20659int SDOT_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