[PATCH][Arm] Fix multilibs for Armv7-R
Andre Vieira (lists)
andre.simoesdiasvieira@arm.com
Fri Oct 18 10:59:00 GMT 2019
Hi
This patch maps multilibs using -march=armv7-r+vfpv3-d16-fp16 and
-march=armv7-r+vfpv3-d16-fp16+idiv to v7+fp. This patch also adds a new
multilib for armv7-r+fp.sp and maps -march=armv7-r+fp.sp+idiv,
-march=armv7-r+vfpv3xd-fp16 and -march=armv7-r+vfpv3xd-fp16+idiv to it.
This solves issues encountered when trying to link for
-mcpu=cortex-r8 -mfloat-abi=hard.
Built arm-none-eabi and compared testsuite run of
-march=armv7e-m+fp/-mfloat-abi=hard to
-march=armv7-r+fp.sp/-mfloat-abi=hard which looked alright.
Is this OK for trunk?
gcc/ChangeLog:
2019-10-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/t-multilib: Add new multilib variants and new
mappings.
gcc/testsuite/ChangeLog:
2019-10-18 Andre Vieira <andre.simoesdiasvieira@arm.com>
* gcc.target/arm/multilib.exp: Add extra tests.
Cheers,
Andre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v7-r_multilib.patch
Type: text/x-patch
Size: 6346 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191018/c2614e2f/attachment.bin>
More information about the Gcc-patches
mailing list