[Bug target/53659] ARM: Using -mcpu=cortex-a9 option results in bad performance for Cortex-A9 processor in C-Ray phoronix benchmark
tulipawn at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Sep 24 16:25:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53659
--- Comment #6 from PeteVine <tulipawn at gmail dot com> ---
Testing different 32-bit codegen options in aarch32 mode on a Cortex A53, shows
A15 is probably also affected. Full comparison below:
$ for i in 8 5 7 9 15 ; do gcc -marm -Ofast -o c-ray-a$i c-ray-mt.c -lm
-lpthread -mcpu=cortex-a$i; done
$ for i in 8 5 7 9 15 ; do echo Cortex-A$i ; ./c-ray-a$i -t 32 -s 160x120 -r 8
-i sphfract -o output.ppm ; done
Cortex-A8
c-ray-mt v1.1
Rendering took: 1 seconds (1660 milliseconds)
Cortex-A5
c-ray-mt v1.1
Rendering took: 1 seconds (1638 milliseconds)
Cortex-A7
c-ray-mt v1.1
Rendering took: 1 seconds (1645 milliseconds)
Cortex-A9
c-ray-mt v1.1
Rendering took: 2 seconds (2027 milliseconds)
Cortex-A15
c-ray-mt v1.1
Rendering took: 1 seconds (1922 milliseconds)
More information about the Gcc-bugs
mailing list