public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110040] New: rs6000 port emits dead mfvsrd instruction for simple test case
@ 2023-05-30 15:19 jeevitha at gcc dot gnu.org
2023-05-30 15:24 ` [Bug target/110040] " jeevitha at gcc dot gnu.org
2023-10-17 10:36 ` rguenth at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jeevitha at gcc dot gnu.org @ 2023-05-30 15:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040
Bug ID: 110040
Summary: rs6000 port emits dead mfvsrd instruction for simple
test case
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jeevitha at gcc dot gnu.org
Target Milestone: ---
GCC Trunk generates a dead mfvsrd for the following test case.
[jeevitha@ltcden2-lp1 ~]$ cat bug.c
#include <altivec.h>
void
foo (signed long *dst, vector signed __int128 src)
{
*dst = (signed long) src[0];
}
[jeevitha@ltcden2-lp1 ~]$ gcc bug.c -O2 -mcpu=power9 -S -o bug.s
[jeevitha@ltcden2-lp1 ~]$ cat bug.s
.file "bug.c"
.machine power9
.abiversion 2
.section ".text"
.align 2
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
mfvsrd 11,34 #dead instruction
mfvsrld 10,34
std 10,0(3)
blr
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case
2023-05-30 15:19 [Bug target/110040] New: rs6000 port emits dead mfvsrd instruction for simple test case jeevitha at gcc dot gnu.org
@ 2023-05-30 15:24 ` jeevitha at gcc dot gnu.org
2023-10-17 10:36 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jeevitha at gcc dot gnu.org @ 2023-05-30 15:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040
Jeevitha <jeevitha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
CC| |bergner at gcc dot gnu.org,
| |meissner at gcc dot gnu.org,
| |segher at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jeevitha at gcc dot gnu.org
Keywords| |missed-optimization
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2023-05-30
Ever confirmed|0 |1
Target| |powerpc64le-linux
--- Comment #1 from Jeevitha <jeevitha at gcc dot gnu.org> ---
I am working on this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case
2023-05-30 15:19 [Bug target/110040] New: rs6000 port emits dead mfvsrd instruction for simple test case jeevitha at gcc dot gnu.org
2023-05-30 15:24 ` [Bug target/110040] " jeevitha at gcc dot gnu.org
@ 2023-10-17 10:36 ` rguenth at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-17 10:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |---
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-17 10:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 15:19 [Bug target/110040] New: rs6000 port emits dead mfvsrd instruction for simple test case jeevitha at gcc dot gnu.org
2023-05-30 15:24 ` [Bug target/110040] " jeevitha at gcc dot gnu.org
2023-10-17 10:36 ` 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).