public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/dmf001)] Adjust -mlagen again.
@ 2022-10-20 6:04 Michael Meissner
0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2022-10-20 6:04 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5a1111a56795ec9f728366a44f0d4b6ab5614d50
commit 5a1111a56795ec9f728366a44f0d4b6ab5614d50
Author: Michael Meissner <meissner@linux.ibm.com>
Date: Thu Oct 20 02:04:37 2022 -0400
Adjust -mlagen again.
2022-10-20 Michael Meissner <meissner@linux.ibm.com>
gcc/
* config/rs6000/rs6000.cc (rs6000_file_start): Define just plagen, not
plagen1, plagen2, or plagen3.
* config/rs6000/rs6000.md (plagendi3_nora): Generate plagen, not
plagen1, plagen2, or plagen3.
(plagendi3): Likewise.
(plagendi3_noshift): Likewise.
Diff:
---
gcc/config/rs6000/rs6000.cc | 12 +-----------
gcc/config/rs6000/rs6000.md | 6 +++---
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index 895ab5db0ee..dc1649b601a 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -6104,17 +6104,7 @@ rs6000_file_start (void)
fprintf (file, "\t.endm\n");
fprintf (file, "\n");
- fprintf (file, "\t.macro plagen1 rt,d,rb,n\n");
- fprintf (file, "\tpaddi \\rt,\\rt,0\n");
- fprintf (file, "\t.endm\n");
- fprintf (file, "\n");
-
- fprintf (file, "\t.macro plagen2 rt,d,ra,rb,n\n");
- fprintf (file, "\tpaddi \\rt,\\rt,0\n");
- fprintf (file, "\t.endm\n");
- fprintf (file, "\n");
-
- fprintf (file, "\t.macro plagen3 rt,d,ra,rb\n");
+ fprintf (file, "\t.macro plagen rt,d,rb,n\n");
fprintf (file, "\tpaddi \\rt,\\rt,0\n");
fprintf (file, "\t.endm\n");
fprintf (file, "\n");
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 1af193562b2..242c4121157 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -15597,7 +15597,7 @@
(match_operand 2 "u5bit_cint_operand" "n"))
(match_operand 3 "s32bit_cint_operand" "n")))]
"TARGET_LAGEN && TARGET_PREFIXED"
- "plagen1 %0,%3,%1,%2" ;; "plagen %0,%3(0),%1,%2"
+ "plagen %0,%3(0),%1,%2"
[(set_attr "type" "shift")
(set_attr "prefixed" "yes")])
@@ -15608,7 +15608,7 @@
(match_operand:DI 3 "base_reg_operand" "b"))
(match_operand 4 "s32bit_cint_operand" "n")))]
"TARGET_LAGEN && TARGET_PREFIXED"
- "plagen2 %0,%4,%3,%1,%2" ;; "plagen %0,%4(%3),%1,%2"
+ "plagen %0,%4(%3),%1,%2"
[(set_attr "type" "shift")
(set_attr "prefixed" "yes")])
@@ -15618,7 +15618,7 @@
(match_operand:DI 2 "gpc_reg_operand" "r"))
(match_operand 3 "s32bit_cint_operand" "n")))]
"TARGET_LAGEN && TARGET_PREFIXED"
- "plagen3 %0,%3,%1,%2" ;; "plagen %0,%3(%1),%2,0"
+ "plagen %0,%3(%1),%2,0"
[(set_attr "type" "shift")
(set_attr "prefixed" "yes")])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-20 6:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 6:04 [gcc(refs/users/meissner/heads/dmf001)] Adjust -mlagen again Michael Meissner
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).