[AArch64] Add SVE condition codes
Richard Sandiford
richard.sandiford@arm.com
Thu Aug 25 12:18:00 GMT 2016
Nick Clifton <nickc@redhat.com> writes:
> Hi Richard,
>
>> SVE defines new names for existing NZCV conditions, to reflect the
>> result of instructions like PTEST. This patch adds support for these
>> names.
>
> This patch fails to build for me because:
>
> opcodes/aarch64-opc.c: In function 'aarch64_print_operand':
> opcodes/aarch64-opc.c:2617:19: error: implicit declaration of function
> ARRAY_SIZE' [-Werror=implicit-function-declaration]
>
> Adding #include "libiberty.h" at the start of aarch64-opc.c fixes the
> problem, but it makes me wonder - how did you build the patched sources
> without this include ? Did I miss something ?
Ah, sorry, I only tested the patch on top of the main SVE series.
The include then comes from patch 23/32.
I did wonder whether this should have been part of the main series.
In the end it seemed better to split it out since it would affect
non-SVE users of the disassembler.
Thanks,
Richard
More information about the Binutils
mailing list