clz_int.xml */
| 2220 | |
| 2221 | /* clz_int.xml */ |
| 2222 | int CLZ_int(context *ctx, Instruction *instr) |
| 2223 | { |
| 2224 | int rc = DECODE_STATUS_UNMATCHED; |
| 2225 | /* class iclass_general */ |
| 2226 | /* sf=x|1|S=0|11010110|opcode2=00000|opcode[5:1]=00010|op=0|Rn=xxxxx|Rd=xxxxx */ |
| 2227 | if((INSWORD & 0x7FFFFC00)==0x5AC01000) { |
| 2228 | decode_fields32(ENC_CLZ_32_DP_1SRC, ctx, instr); |
| 2229 | ctx->d = UINT(ctx->Rd); |
| 2230 | ctx->n = UINT(ctx->Rn); |
| 2231 | ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20; |
| 2232 | ctx->opcode = (ctx->op==0) ? CountOp_CLZ : CountOp_CLS; |
| 2233 | if(ctx->sf==0) OK(ENC_CLZ_32_DP_1SRC); |
| 2234 | if(ctx->sf==1) OK(ENC_CLZ_64_DP_1SRC); |
| 2235 | } |
| 2236 | return rc; |
| 2237 | } |
| 2238 | |
| 2239 | /* cmeq_advsimd_reg.xml */ |
| 2240 | int CMEQ_advsimd_reg(context *ctx, Instruction *instr) |
no test coverage detected