This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/70773] Profiling makes sudoku solver slower
- From: "tulipawn at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Apr 2016 19:15:16 +0000
- Subject: [Bug middle-end/70773] Profiling makes sudoku solver slower
- Auto-submitted: auto-generated
- References: <bug-70773-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70773
--- Comment #5 from PeteVine <tulipawn at gmail dot com> ---
The issue seems to be purely about soft division. (I was either using no -mcpu
or -mcpu=cortex-a5)
Compiling for e.g Cortex-A7, doesn't need to lower any library calls and even
though hardware division is not used in the vanilla case, it is after
profiling.
The profiled binary even shows a benefit under qemu-arm so I can safely guess
the issue is non-existent when targeting similar ARM parts.