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

Function LSLV

arch/arm64/disassembler/decode2.c:17223–17241  ·  view source on GitHub ↗

lslv.xml */

Source from the content-addressed store, hash-verified

17221
17222/* lslv.xml */
17223int LSLV(context *ctx, Instruction *instr)
17224{
17225 int rc = DECODE_STATUS_UNMATCHED;
17226 /* class iclass_general */
17227 /* sf=x|op=0|S=0|11010110|Rm=xxxxx|opcode2[5:2]=0010|op2=00|Rn=xxxxx|Rd=xxxxx */
17228 if((INSWORD & 0x7FE0FC00)==0x1AC02000) {
17229 decode_fields32(ENC_LSLV_32_DP_2SRC, ctx, instr);
17230 ctx->d = UINT(ctx->Rd);
17231 ctx->n = UINT(ctx->Rn);
17232 ctx->m = UINT(ctx->Rm);
17233 ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20;
17234 ctx->shift_type = DecodeShift(ctx->op2);
17235 /* unconditional alias */
17236 if(LSL_LSLV(ctx, instr)==0) return 0;
17237 if(ctx->sf==0) OK(ENC_LSLV_32_DP_2SRC);
17238 if(ctx->sf==1) OK(ENC_LSLV_64_DP_2SRC);
17239 }
17240 return rc;
17241}
17242
17243/* lsl_lslv.xml */
17244int LSL_LSLV(context *ctx, Instruction *instr)

Callers 1

decode_iclass_dp_2srcFunction · 0.85

Calls 3

decode_fields32Function · 0.85
DecodeShiftFunction · 0.85
LSL_LSLVFunction · 0.85

Tested by

no test coverage detected