public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r15-707] rs6000: Remove useless operands[3]
@ 2024-05-21 2:03 Kewen Lin
0 siblings, 0 replies; only message in thread
From: Kewen Lin @ 2024-05-21 2:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1a87deddf470c728e85cc9ca802b51ed2b1efbd6
commit r15-707-g1a87deddf470c728e85cc9ca802b51ed2b1efbd6
Author: Kewen Lin <linkw@linux.ibm.com>
Date: Mon May 20 21:01:07 2024 -0500
rs6000: Remove useless operands[3]
As shown, three uses of operands[3] are totally useless, so
this patch is to remove them to avoid any confusion.
gcc/ChangeLog:
* config/rs6000/rs6000.md (@ieee_128bit_vsx_neg<IEEE128>2): Remove
the use of operands[3].
(@ieee_128bit_vsx_neg<IEEE128>2): Likewise.
(*ieee_128bit_vsx_nabs<mode>2): Likewise.
Diff:
---
gcc/config/rs6000/rs6000.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 7d0019ab410a..f035e68ff0f8 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -9260,7 +9260,6 @@
if (GET_CODE (operands[2]) == SCRATCH)
operands[2] = gen_reg_rtx (V16QImode);
- operands[3] = gen_reg_rtx (V16QImode);
emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
}
[(set_attr "length" "8")
@@ -9289,7 +9288,6 @@
if (GET_CODE (operands[2]) == SCRATCH)
operands[2] = gen_reg_rtx (V16QImode);
- operands[3] = gen_reg_rtx (V16QImode);
emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
}
[(set_attr "length" "8")
@@ -9321,7 +9319,6 @@
if (GET_CODE (operands[2]) == SCRATCH)
operands[2] = gen_reg_rtx (V16QImode);
- operands[3] = gen_reg_rtx (V16QImode);
emit_insn (gen_ieee_128bit_negative_zero (operands[2]));
}
[(set_attr "length" "8")
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-21 2:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-21 2:03 [gcc r15-707] rs6000: Remove useless operands[3] Kewen Lin
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).