[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-17 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 Hongtao.liu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-17 Thread liuhongt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 --- Comment #3 from liuhongt at gcc dot gnu.org --- Author: liuhongt Date: Mon Nov 18 02:22:55 2019 New Revision: 278385 URL: https://gcc.gnu.org/viewcvs?rev=278385&root=gcc&view=rev Log: Split X86_TUNE_AVX128_OPTIMAL into X86_TUNE_AVX256_SPLIT_R

[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-11 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 --- Comment #2 from rguenther at suse dot de --- On November 11, 2019 10:20:10 AM GMT+01:00, crazylht at gmail dot com wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 > >--- Comment #1 from Hongtao.liu --- >Also with TARGET_AVX128_OP

[Bug target/92448] Confusing using of TARGET_PREFER_AVX128

2019-11-11 Thread crazylht at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92448 --- Comment #1 from Hongtao.liu --- Also with TARGET_AVX128_OPTIMAL plus -mprefer-vector-width=256, 256-bit vectorization may be not generated since TARGET_AVX128_OPTIMAL will change vec_cost. /* Retu