[Bug tree-optimization/86029] gcc -O3 make very slow product

2018-06-02 Thread hg2ecz at ham dot hu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86029 --- Comment #3 from Zsolt --- smallrx$ clang-6.0 -O3 -march=native rx.c -S smallrx$ cat rx.s | grep mulsc callq __mulsc3 callq __mulsc3 callq __mulsc3 smallrx$ gcc -O3 -march=native rx.c -S smallrx$ cat rx.s | grep

[Bug c/86029] New: gcc -O3 make very slow product

2018-06-01 Thread hg2ecz at ham dot hu
Assignee: unassigned at gcc dot gnu.org Reporter: hg2ecz at ham dot hu Target Milestone: --- I tested a signal processing sample code, and the gcc -O3 give me very slow binary. It's a compiler error or it is good? My CPU is i5-3337u, and I use Ubuntu-18.04 64bit OS. gcc 7.3 and clang 6.0