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/dmf004)] Revert patch.
Date: Tue, 15 Nov 2022 18:43:23 +0000 (GMT)	[thread overview]
Message-ID: <20221115184323.B8C58392AC24@sourceware.org> (raw)

https://gcc.gnu.org/g:646e2e9bb56adf101680da2b13f9dd6e2d46d75b

commit 646e2e9bb56adf101680da2b13f9dd6e2d46d75b
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Nov 15 13:42:53 2022 -0500

    Revert patch.
    
    Add parameter for memcpy inline code moves
    
    2022-11-15   Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            Revert patch.
            * config/rs6000/rs6000.opt (rs6000-memcpy-inline-bytes): New parameter,
            set to 0.
            * config/rs6000/rs6000-string.cc (expand_block_move): Only do
            optimization if rs6000-memcpy-inline-bytes is 16.

Diff:
---
 gcc/config/rs6000/rs6000-string.cc | 1 -
 gcc/config/rs6000/rs6000.opt       | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/gcc/config/rs6000/rs6000-string.cc b/gcc/config/rs6000/rs6000-string.cc
index 1fa2d1fe553..2468e375781 100644
--- a/gcc/config/rs6000/rs6000-string.cc
+++ b/gcc/config/rs6000/rs6000-string.cc
@@ -2766,7 +2766,6 @@ expand_block_move (rtx operands[], bool might_overlap)
   if (! constp)
     {
       if (TARGET_BLOCK_OPS_UNALIGNED_VSX && TARGET_P9_VECTOR && TARGET_64BIT
-	  && rs6000_memcpy_inline_bytes == 16
 	  && !optimize_size)
 	{
 	  rtx join_label = gen_label_rtx ();
diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
index 90dc91a277f..6872d359952 100644
--- a/gcc/config/rs6000/rs6000.opt
+++ b/gcc/config/rs6000/rs6000.opt
@@ -687,8 +687,3 @@ default value is 4.
 Target Undocumented Joined UInteger Var(rs6000_vect_unroll_reduc_threshold) Init(1) Param
 When reduction factor computed for a loop exceeds the threshold specified by
 this parameter, prefer to unroll this loop.  The default value is 1.
-
--param=rs6000-memcpy-inline-bytes=
-Target Undocumented Joined UInteger Var(rs6000_memcpy_inline_bytes) Init(0) Param
-Maximum number of bytes to move with inline code before calling the memcpy
-library function.  The default value is 0.

             reply	other threads:[~2022-11-15 18:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-15 18:43 Michael Meissner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-17 22:08 Michael Meissner
2022-11-17 21:54 Michael Meissner
2022-11-17 21:54 Michael Meissner
2022-11-17 21:53 Michael Meissner
2022-11-15  1:52 Michael Meissner
2022-11-12  0:42 Michael Meissner

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=20221115184323.B8C58392AC24@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: link
Be 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).