Comment 8 for bug 1194123

Revision history for this message
In , Ktkachov (ktkachov) wrote :

We're getting a miscompare on the 178.galgel benchmark in SPEC2000 on armv7l-unknown-linux-gnueabihf, on a Cortex-A15.
The .mis file just says 'galgel.out' short.

Bisection shows it started with r199439.

2013-05-30 Bernd Schmidt <email address hidden>
Zhenqiang Chen <email address hidden>

    config/arm/arm-protos.h: Add and update function protos.
    config/arm/arm.c (use_simple_return_p): New added.
    (thumb2_expand_return): Check simple_return flag.
    config/arm/arm.md: Add simple_return and conditional simple_return.
    config/arm/iterators.md: Add iterator for return and simple_return.

The compiler was configured: "--with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-mode=thumb --with-float=hard --enable-languages=c,c++,fortran"

The flags for the benchmark are -ffixed-form -mthumb -mcpu=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard -O3.
It works with -O1, fails at -O2 and -O3