[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2024-05-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #12 from Levy Hsu --- switch (d->vmode) { case E_V8QImode: if (!TARGET_MMX_WITH_SSE) return false; mode = V4HImode; gen_shr = gen_ashrv4hi3(should be gen_lshrv4hi3); gen_shl = gen_ashlv4hi3;

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2024-05-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #11 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:a71f90c5a7ae2942083921033cb23dcd63e70525 commit r15-499-ga71f90c5a7ae2942083921033cb23dcd63e70525 Author: Levy Hsu Date: Thu May

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-08 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #10 from Hongtao.liu --- (In reply to cqwrteur from comment #9) > (In reply to cqwrteur from comment #8) > > for sse2 to do the __builtin_convertvector job yeah > > https://godbolt.org/z/dsf3WK58E > > using temp_vec_type

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #9 from cqwrteur --- (In reply to cqwrteur from comment #8) > for sse2 to do the __builtin_convertvector job yeah https://godbolt.org/z/dsf3WK58E using temp_vec_type [[__gnu__::__vector_size__ (16)]] = char; void

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #8 from cqwrteur --- for sse2 to do the __builtin_convertvector job yeah

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #7 from cqwrteur --- (In reply to Hongtao.liu from comment #6) > Shufd only handles > > void foo1(temp_vec_type& v) noexcept > { > v=__builtin_shufflevector(v,v,12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3); > } > > Not the case in

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #6 from Hongtao.liu --- Shufd only handles void foo1(temp_vec_type& v) noexcept { v=__builtin_shufflevector(v,v,12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3); } Not the case in #c0.

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #5

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #4 from cqwrteur --- (In reply to cqwrteur from comment #2) > (In reply to cqwrteur from comment #0) > > #if defined(__SSE2__) > > > > using temp_vec_type [[__gnu__::__vector_size__ (16)]] = char; > > void foo(temp_vec_type& v)

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #3 from cqwrteur --- (In reply to cqwrteur from comment #2) > (In reply to cqwrteur from comment #0) > > #if defined(__SSE2__) > > > > using temp_vec_type [[__gnu__::__vector_size__ (16)]] = char; > > void foo(temp_vec_type& v)

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2022-11-07 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #2 from cqwrteur --- (In reply to cqwrteur from comment #0) > #if defined(__SSE2__) > > using temp_vec_type [[__gnu__::__vector_size__ (16)]] = char; > void foo(temp_vec_type& v) noexcept > { >