public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/dmf001)] Adjust -mlagen again. Date: Thu, 20 Oct 2022 06:04:53 +0000 (GMT) [thread overview] Message-ID: <20221020060453.90EF8385E02C@sourceware.org> (raw) 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")])
reply other threads:[~2022-10-20 6:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221020060453.90EF8385E02C@sourceware.org \ --to=meissner@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).