public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113325] New: unnecessary byte swap for memory clear
@ 2024-01-11 6:34 guihaoc at gcc dot gnu.org
2024-01-26 1:25 ` [Bug target/113325] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: guihaoc at gcc dot gnu.org @ 2024-01-11 6:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113325
Bug ID: 113325
Summary: unnecessary byte swap for memory clear
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: guihaoc at gcc dot gnu.org
Target Milestone: ---
//test case
void* foo (void* s1)
{
return __builtin_memset (s1, 0, 32);
}
//assembly
vspltisw 0,0
li 10,16
xxpermdi 0,32,32,2
stxvd2x 0,0,3
stxvd2x 0,3,10
blr
The xxpermdi is unnecessary. The problem occurs on P8 LE.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/113325] unnecessary byte swap for memory clear
2024-01-11 6:34 [Bug target/113325] New: unnecessary byte swap for memory clear guihaoc at gcc dot gnu.org
@ 2024-01-26 1:25 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-26 1:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113325
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-01-26
Severity|normal |enhancement
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-26 1:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-11 6:34 [Bug target/113325] New: unnecessary byte swap for memory clear guihaoc at gcc dot gnu.org
2024-01-26 1:25 ` [Bug target/113325] " pinskia 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).