Skip to content

Commit

Permalink
target-arm: A64: List unsupported shift-imm opcodes
Browse files Browse the repository at this point in the history
Add the remaining unsupported opcodes to the decode switches
for the shift-imm and scalar shift-imm categories so we can
see what is still to be implemented.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1394822294-14837-13-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Mar 17, 2014
1 parent 931c8cc commit a566da1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions target-arm/translate-a64.c
Expand Up @@ -6135,9 +6135,15 @@ static void disas_simd_scalar_shift_imm(DisasContext *s, uint32_t insn)
handle_vec_simd_sqshrn(s, true, false, is_u, is_u,
immh, immb, opcode, rn, rd);
break;
default:
case 0x8: /* SRI */
case 0xc: /* SQSHLU */
case 0xe: /* SQSHL, UQSHL */
case 0x1f: /* FCVTZS, FCVTZU */
unsupported_encoding(s, insn);
break;
default:
unallocated_encoding(s);
break;
}
}

Expand Down Expand Up @@ -7281,11 +7287,14 @@ static void disas_simd_shift_imm(DisasContext *s, uint32_t insn)
handle_simd_shift_intfp_conv(s, false, is_q, is_u, immh, immb,
opcode, rn, rd);
break;
case 0x8: /* SRI */
case 0xc: /* SQSHLU */
case 0xe: /* SQSHL, UQSHL */
case 0x1f: /* FCVTZS/ FCVTZU */
unsupported_encoding(s, insn);
return;
default:
unsupported_encoding(s, insn);
unallocated_encoding(s);
return;
}
}
Expand Down

0 comments on commit a566da1

Please sign in to comment.