[ARM] Build attributes for ARMv8.1-A AdvSIMD
Matthew Wahab
matthew.wahab@foss.arm.com
Thu Feb 25 12:36:00 GMT 2016
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?
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-Add-the-Tag_Advanced_SIMD_arc-build-attribute-fo.patch
Type: text/x-patch
Size: 3716 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160225/e4775dad/attachment.bin>
More information about the Binutils
mailing list