| 2701 | } |
| 2702 | |
| 2703 | int 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 | |
| 2715 | int decode_iclass_floatdp1(context *ctx, Instruction *dec) |
| 2716 | { |
no test coverage detected