aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2024-12-06 09:49:58 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2024-12-06 10:42:12 +0000
commit2b707b41b178dc2f42aee1d28b2ee62583241cca (patch)
tree5e712401530f9a828d6ad938c8c379f216436556 /gcc/config.gcc
parentee6711ead30876daf2a8a66f8647cad95470fe79 (diff)
downloadgcc-2b707b41b178dc2f42aee1d28b2ee62583241cca.zip
gcc-2b707b41b178dc2f42aee1d28b2ee62583241cca.tar.gz
gcc-2b707b41b178dc2f42aee1d28b2ee62583241cca.tar.bz2
arm,testsuite: Add -mtune=cortex-m55 to dlstp-compile-asm-1.c test.
This test would fail if GCC is configured with non-default options, such as -mtune=cortex-a9. This 'unexpected' scheduling makes the DLSTP optimization generate subs lr, #16 bhi .L4 lctp pop {r4, r5, pc} .L4: sub ip, ip, #16 b <loop-begin> instead of the expected sub ip, ip, #16 letp lr, <loop-begin> Although GCC still optimizes all 144 loops, only 96 use letp, 48 others use lctp. The patch simply forces -mtune=cortex-m55 to avoid this unexpected issue. gcc/testsuite/ChangeLog: * gcc.target/arm/mve/dlstp-compile-asm-1.c: Add -mtune=cortex-m55
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions