This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[PATCH, arm-embedded] Map armv8-m.main+dsp multilib to armv8-m.main one


Hi,

ARMv8-M Mainline with DSP extension currently uses ARMv4T multilib because no 
multilib is built for it and there is no directive telling GCC how to map it 
to the right multilib. Therefore, we have applied the below patch 
ARM/embedded-5-branch to add a directive to map it to ARMv8-M Mainline 
multilibs (several multilibs exist for different mfpu options).


*** gcc/ChangeLog.arm ***

2016-05-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * config/arm/t-baremetal (MULTILIB_MATCHES): Match ARMv8-M Mainline
        with DSP extensions to ARMv8-M Mainline.


diff --git a/gcc/config/arm/t-baremetal b/gcc/config/arm/t-baremetal
index 
ffd29815e6ec22c747e77747ed9b69e0ae21b63a..47522edba29e00c34f52d6a03dc04ab53f4925f3 
100644
--- a/gcc/config/arm/t-baremetal
+++ b/gcc/config/arm/t-baremetal
@@ -50,6 +50,7 @@ MULTILIB_MATCHES  += march?armv7=mcpu?exynos-m1
 MULTILIB_MATCHES  += march?armv7=mcpu?xgene1
 MULTILIB_MATCHES  += march?armv7=mcpu?cortex-a57.cortex-a53
 MULTILIB_MATCHES  += march?armv7=mcpu?cortex-a72.cortex-a53
+MULTILIB_MATCHES  += march?armv8-m.main=march?armv8-m.main+dsp
 MULTILIB_MATCHES  += mfpu?vfpv3-d16=mfpu?vfpv3
 MULTILIB_MATCHES  += mfpu?vfpv3-d16=mfpu?vfpv3-fp16
 MULTILIB_MATCHES  += mfpu?vfpv3-d16=mfpu?vfpv3-d16-fp16


Best regards,

Thomas


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