ccmp_reg.xml */
| 2066 | |
| 2067 | /* ccmp_reg.xml */ |
| 2068 | int CCMP_reg(context *ctx, Instruction *instr) |
| 2069 | { |
| 2070 | int rc = DECODE_STATUS_UNMATCHED; |
| 2071 | /* class iclass_general */ |
| 2072 | /* sf=x|op=1|S=1|11010010|Rm=xxxxx|cond=xxxx|0|o2=0|Rn=xxxxx|o3=0|nzcv=xxxx */ |
| 2073 | if((INSWORD & 0x7FE00C10)==0x7A400000) { |
| 2074 | decode_fields32(ENC_CCMP_32_CONDCMP_REG, ctx, instr); |
| 2075 | ctx->n = UINT(ctx->Rn); |
| 2076 | ctx->m = UINT(ctx->Rm); |
| 2077 | ctx->datasize = (ctx->sf==1) ? 0x40 : 0x20; |
| 2078 | ctx->sub_op = (ctx->op==1); |
| 2079 | ctx->condition = ctx->cond; |
| 2080 | ctx->flags = ctx->nzcv; |
| 2081 | if(ctx->sf==0) OK(ENC_CCMP_32_CONDCMP_REG); |
| 2082 | if(ctx->sf==1) OK(ENC_CCMP_64_CONDCMP_REG); |
| 2083 | } |
| 2084 | /* relevant operational pcode */ |
| 2085 | instr->setflags = FLAGEFFECT_SETS_NORMAL; |
| 2086 | return rc; |
| 2087 | } |
| 2088 | |
| 2089 | /* cfinv.xml */ |
| 2090 | int CFINV(context *ctx, Instruction *instr) |
no test coverage detected