Re: [PATCH] [testsuite] [sparc] use -mtune in alignment tuning test

2025-02-06 Thread Eric Botcazou
> niagara7-align.c tests for niagara7 alignment tuning, so use -mtune > rather than -mcpu. > > Regstrapped on x86_64-linux-gnu, also tested with gcc-14 targeting > leon3-elf. Ok to install? > > > for gcc/testsuite/ChangeLog > > * gcc.target/sparc/niagara7-align.c: Use -mtune. OK. --

[PATCH] [testsuite] [sparc] use -mtune in alignment tuning test

2025-02-06 Thread Alexandre Oliva
If -mcpu=leon3 is present in the command line for a test run, overriding it with -mcpu=niagara7 is not enough to override the tuning for leon3 selected by the previous -mcpu option. niagara7-align.c tests for niagara7 alignment tuning, so use -mtune rather than -mcpu. Regstrapped on x86_64-linu