This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][ARM][BINUTILS] Modification to arm encoding and decoding of SQRSHRL and UQRSHLL MVE instructions.
Hi,
> +#define po_imm1_or_imm2_or_fail(imm1, imm2, popt) \
[...]
> + if (exp.X_add_number != imm1 && exp.X_add_number != imm2) \
> + { \
> + inst.error = _("immediate value 48 or 64 expected"); \
This might be problematic if anyone ever reuses this code for other
constants, but I can't see an obvious solution that will still be
translateable.
Simon