diff mbox series

[RS6000] movdi_internal64 insn lengths

Message ID 20181125121753.GN21617@bubble.grove.modra.org
State New
Headers show
Series [RS6000] movdi_internal64 insn lengths | expand

Commit Message

Alan Modra Nov. 25, 2018, 12:17 p.m. UTC
Fixes alternatives wi<-Oj (xxlxor), wi<-wM (xxlorc) and wv<-wS.
Bootstrapped etc. powerpc64le-linux.

	* config/rs6000/rs6000.md (movdi_internal64): Correct lengths.

Comments

Segher Boessenkool Nov. 28, 2018, 9:56 p.m. UTC | #1
On Sun, Nov 25, 2018 at 10:47:53PM +1030, Alan Modra wrote:
> Fixes alternatives wi<-Oj (xxlxor), wi<-wM (xxlorc) and wv<-wS.
> Bootstrapped etc. powerpc64le-linux.

Okay for trunk, thanks!  (For the record, wv<-wS is xxsltib+extend).


Segher


> 	* config/rs6000/rs6000.md (movdi_internal64): Correct lengths.
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index c4d697f856b..11097717268 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -8811,8 +8811,8 @@  (define_insn "*movdi_internal64"
    (set_attr "length"
                "4,         4,         4,         4,         4,          20,
                 4,         4,         4,         4,         4,          4,
-                4,         4,         4,         4,         4,          8,
-                8,         4,         4,         4,         4,          4,
+                4,         4,         4,         4,         4,          4,
+                4,         8,         4,         4,         4,          4,
                 4,         4,         4,         4")])
 
 ; Some DImode loads are best done as a load of -1 followed by a mask