public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] rs6000: fmr gets used instead of faster xxlor [PR93571]
@ 2023-02-17 16:58 Ajit Agarwal
  2023-02-17 17:09 ` Andrew Pinski
  2023-02-17 17:23 ` Segher Boessenkool
  0 siblings, 2 replies; 11+ messages in thread
From: Ajit Agarwal @ 2023-02-17 16:58 UTC (permalink / raw)
  To: gcc-patches; +Cc: bergner, , Segher Boessenkool

 	
Hello All:

This patch replaces fmr instruction (6 cycles) with xxlor instruction ( 2 cycles)
Bootstrapped and regtested on powerpc64-linux-gnu.

copyright assignment form is still in the process of being sent.
 
Thanks & Regards
Ajit

	rs6000: fmr gets used instead of faster xxlor [PR93571]

        This patch replaces 6 cycles fmr instruction with xxlor
	2 cycles.

	2023-02-17  Ajit Kumar Agarwal  <aagarwa1@linux.ibm.com>

gcc/ChangeLog:

	* config/rs6000/rs6000.md (*movdf_hardfloat64): Replace fmr with xxlor instruction.
---
 gcc/config/rs6000/rs6000.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 4a7812fa592..dfd6c73ffcb 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -8436,7 +8436,7 @@
   "@
    stfd%U0%X0 %1,%0
    lfd%U1%X1 %0,%1
-   fmr %0,%1
+   xxlor %0,%1,%1
    lxsd %0,%1
    stxsd %1,%0
    lxsdx %x0,%y1
-- 
2.31.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-02-25  7:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 16:58 [PATCH] rs6000: fmr gets used instead of faster xxlor [PR93571] Ajit Agarwal
2023-02-17 17:09 ` Andrew Pinski
2023-02-17 17:23 ` Segher Boessenkool
2023-02-21  8:48   ` Ajit Agarwal
2023-02-21 11:04     ` Segher Boessenkool
2023-02-21 12:30       ` Ajit Agarwal
2023-02-21 14:09         ` Segher Boessenkool
2023-02-22 10:28           ` Ajit Agarwal
2023-02-24  8:11             ` Ajit Agarwal
2023-02-24 15:11               ` Segher Boessenkool
2023-02-25  7:42                 ` Ajit Agarwal

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).