This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64] Add SVE condition codes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]