Likewise for embedded-7-branch.
Best regards,
Thomas
On 10/07/17 15:16, Thomas Preudhomme wrote:
Hi,
The new instructions in FPV5-SP-D16 compared to FPv4-SP-D16 are not
generated when building libgcc, newlib of libstdc++ such that libgcc.a,
libc.a and libstdc++.a have the same objdump output for these two
variants. It is therefore a waste of build time to be building a
multilib for ARMv7E-M FPV5-SP-D16 when selecting rmprofile multilib
variant. This patch applied to embedded-6-branch removes that multilib
and map FPv5-SP-D16 to FPv4-SP-D16.
ChangeLog entry is as follows:
*** gcc/ChangeLog.arm ***
2017-07-04 Thomas Preud'homme <thomas.preudho...@arm.com>
* config/arm/t-rmprofile: Remove multilibs for fpv5-sp-d16 and map it to
fpv4-sp-d16.
Tested by configuring GCC with --with-multilib-list=rmprofile, building it and
running the following:
% ./install/bin/arm-none-eabi-gcc -march=armv7e-m -mfpu=fpv5-sp-d16
-mfloat-abi=hard -print-multi-directory
thumb/v7e-m/fpv4-sp/hard
% ./install/bin/arm-none-eabi-gcc -march=armv7e-m -mfpu=fpv5-sp-d16
-mfloat-abi=softfp -print-multi-directory
thumb/v7e-m/fpv4-sp/softfp
Best regards,
Thomas