public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/68655] SSE2 cannot vec_perm of low and high part
[not found] <bug-68655-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-03 1:59 ` pinskia at gcc dot gnu.org
2021-08-03 7:03 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-03 1:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The three testcases Richard put in comment #0 and comment #1 produce in
(released) GCC 6+:
foo(unsigned short __vector(8), unsigned short __vector(8)):
punpcklqdq %xmm1, %xmm0
ret
bar(int __vector(4), int __vector(4)):
shufps $68, %xmm1, %xmm0
ret
baz(unsigned short __vector(8), unsigned short __vector(8)):
shufpd $2, %xmm1, %xmm0
ret
So I think this is all fixed.
AARCH64 in GCC 11+ produce which was fixed by r11-2191 and r11-2192:
foo(unsigned short __vector(8), unsigned short __vector(8)):
zip1 v0.2d, v0.2d, v1.2d
ret
bar(int __vector(4), int __vector(4)):
zip1 v0.2d, v0.2d, v1.2d
ret
baz(unsigned short __vector(8), unsigned short __vector(8)):
ins v0.d[1], v1.d[1]
ret
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/68655] SSE2 cannot vec_perm of low and high part
[not found] <bug-68655-4@http.gcc.gnu.org/bugzilla/>
2021-08-03 1:59 ` [Bug target/68655] SSE2 cannot vec_perm of low and high part pinskia at gcc dot gnu.org
@ 2021-08-03 7:03 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-03 7:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68655
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-03 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-68655-4@http.gcc.gnu.org/bugzilla/>
2021-08-03 1:59 ` [Bug target/68655] SSE2 cannot vec_perm of low and high part pinskia at gcc dot gnu.org
2021-08-03 7:03 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).