[ARM] Build attributes for ARMv8.1-A AdvSIMD

Ramana Radhakrishnan ramana.gcc@googlemail.com
Tue Mar 1 12:37:00 GMT 2016


On Thu, Feb 25, 2016 at 12:36 PM, Matthew Wahab
<matthew.wahab@foss.arm.com> wrote:
> Hello,
>
> The ARM 32-bit ABI sets the build attribute Tag_Advanced_SIMD_arch to 4
> for object files using the ARMv8.1 AdvSIMD instructions (enabled with
> +rdma). This patch adds support to binutils for this value, emitting it
> when ARMv8.1 AdvSIMD is used or when the user specifies ARMv8.1
> AdvSIMD as a target.
>
> The build attribute is described in the addenda to version 2.10 of the
> ABI, available at
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0045e/IHI0045E_ABI_addenda.pdf.
>
> This patch depends on
> https://sourceware.org/ml/binutils/2016-02/msg00392.html which records
> the use of the ARMv8.1 AdvSIMD features.
>
> Tested for arm-none-linux-gnueabihf and for arm-none-eabi with
> cross-compiled check-binutils, check-ld and check-gas.
>
> Ok for trunk?


OK.

Ramana
> Matthew
>
> binutils/
> 2016-02-25  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
>
> gas/
> 2016-02-25  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * config/tc-arm.c (aeabi_set_public_attributes): Emit attribute
>         for ARMv8.1 AdvSIMD use.
>
> gas/testsuite/
> 2016-02-25  Matthew Wahab  <matthew.wahab@arm.com>
>
>         * gas/arm/attr-march-armv8-a+rdma.d: New.
>         * gas/arm/attr-march-armv8_1-a+simd.d: New.



More information about the Binutils mailing list