SPEC 2017 profiling question (502.gcc_r and 505.mcf_r fail)

Bill Schmidt wschmidt@linux.ibm.com
Fri Oct 4 20:58:00 GMT 2019


On 10/4/19 10:13 AM, Steve Ellcey wrote:
> I am curious if anyone has tried running 'peak' SPEC 2017 numbers using
> profiling.  Now that the cactus lto bug has been fixed I can run all
> the SPEC intrate and fprate benchmarks with '-Ofast -flto -march=native'
> on my aarch64 box and get accurate results but when I try to use these
> options along with -fprofile-generate/-fprofile-use I get two
> verification errors: 502.gcc_r and 505.mcf_r. The gcc benchmark is
> generating different assembly language for some of its tests and mcf is
> generating different numbers that look too large to just be due to
> unsafe math optimizations.
>
> Has anyone else seen these failures?


Have you tried -fno-strict-aliasing?  There is a known issue with 
spec_qsort() that affects both of these benchmarks.  See 
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83201.

Hope this helps,

Bill

>
> Steve Ellcey
> sellcey@marvell.com



More information about the Gcc mailing list