public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work069)] Cleanup XXSPLTIDP code.
@ 2021-09-16 21:05 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2021-09-16 21:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1682503626759b780e1d60b5d81c2cebd07a9d73

commit 1682503626759b780e1d60b5d81c2cebd07a9d73
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Sep 16 17:05:32 2021 -0400

    Cleanup XXSPLTIDP code.
    
    2021-09-16  Michael Meissner  <meissner@linux.ibm.com>
    
    gcc/
    
            * config/rs6000/rs6000.c (output_vec_const_move): Code cleanup.

Diff:
---
 gcc/config/rs6000/rs6000.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 5c92060f8e9..26b8064dba1 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -6948,8 +6948,7 @@ output_vec_const_move (rtx *operands)
 
       if (easy_fp_constant_sfmode (vec, mode))
 	{
-	  long xxspltidp_value = xxspltidp_constant_immediate (vec, mode);
-	  operands[2] = GEN_INT (xxspltidp_value);
+	  operands[2] = GEN_INT (xxspltidp_constant_immediate (vec, mode));
 	  return "xxspltidp %x0,%2";
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-16 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 21:05 [gcc(refs/users/meissner/heads/work069)] Cleanup XXSPLTIDP code 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).