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

Function decode_iclass_floatsel

arch/arm64/disassembler/decode1.c:2703–2713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2701}
2702
2703int decode_iclass_floatsel(context *ctx, Instruction *dec)
2704{
2705 uint32_t M=INSWORD>>31, S=(INSWORD>>29)&1, ptype=(INSWORD>>22)&3;
2706 if(!M && !S && !ptype) return FCSEL_float(ctx, dec); // -> FCSEL_S_floatsel
2707 if(!M && !S && ptype==1) return FCSEL_float(ctx, dec); // -> FCSEL_D_floatsel
2708 if(!M && !S && ptype==3 && HasFP16()) return FCSEL_float(ctx, dec); // -> FCSEL_H_floatsel
2709 if(ptype==2) UNALLOCATED(ENC_UNALLOCATED_12_FLOATSEL);
2710 if(S) UNALLOCATED(ENC_UNALLOCATED_10_FLOATSEL);
2711 if(M) UNALLOCATED(ENC_UNALLOCATED_11_FLOATSEL);
2712 UNMATCHED;
2713}
2714
2715int decode_iclass_floatdp1(context *ctx, Instruction *dec)
2716{

Callers 1

decode_specFunction · 0.85

Calls 1

FCSEL_floatFunction · 0.85

Tested by

no test coverage detected