-O3 failures with ? vectorization in gcc 4.9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: -O3 failures with ? vectorization in gcc 4.9
- From: Tim Prince <n8tm@xxxxxxx>
- Date: Fri, 10 Jan 2014 08:14:13 -0500
- Authentication-results: sourceware.org; auth=none
- Reply-to: tprince@xxxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
I get good results with -march=core-avx2 -O2 -ftree-vectorize
-finline-functions -funswitch-loops -fpredictive-commoning
-fgcse-after-reload -ftree-slp-vectorize -ftree-partial-pre
-fipa-cp-clone, arrived at by trying the options listed as being enabled
at -O3 and removing those which fail at run time. Is this the
recommended way to go, or should I file a PR about one or two cases
which fail at -O3?
When running under gdb with -O3, a segfault is reported in separately
compiled code which isn't directly affected by these options. When
running outside gdb, the application hangs when it reaches a vectorized
loop containing ? operator.
It seems that -fvect-cost-model is not the only part of -O3 which
produces failure.
--
Tim Prince
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]