and_z_zi.xml */
| 31027 | |
| 31028 | /* and_z_zi.xml */ |
| 31029 | int and_z_zi(context *ctx, Instruction *instr) |
| 31030 | { |
| 31031 | int rc = DECODE_STATUS_UNMATCHED; |
| 31032 | /* class iclass_sve */ |
| 31033 | /* 00000101|opc=10|0000|imm13=xxxxxxxxxxxxx|Zdn=xxxxx */ |
| 31034 | if((INSWORD & 0xFFFC0000)==0x5800000) { |
| 31035 | decode_fields32(ENC_AND_Z_ZI_, ctx, instr); |
| 31036 | if(!HaveSVE() && !HaveSME()) { |
| 31037 | UNDEFINED; |
| 31038 | } |
| 31039 | ctx->dn = UINT(ctx->Zdn); |
| 31040 | DecodeBitMasksCheckUndefined(SLICE(ctx->imm13,12,12),SLICE(ctx->imm13,5,0)); |
| 31041 | DecodeBitMasks_ReturnType dbmrt = DecodeBitMasks(SLICE(ctx->imm13,12,12),SLICE(ctx->imm13,5,0),SLICE(ctx->imm13,11,6)); |
| 31042 | ctx->imm = dbmrt.wmask; |
| 31043 | OK(ENC_AND_Z_ZI_); |
| 31044 | } |
| 31045 | return rc; |
| 31046 | } |
| 31047 | |
| 31048 | /* and_z_zz.xml */ |
| 31049 | int and_z_zz(context *ctx, Instruction *instr) |
no test coverage detected