Patchwork [rs6000,committed] Fix unspec typo

login
register
mail settings
Submitter William J. Schmidt
Date July 20, 2014, 7:38 p.m.
Message ID <1405885108.3160.7.camel@gnopaine>
Download mbox | patch
Permalink /patch/371939/
State New
Headers show

Comments

William J. Schmidt - July 20, 2014, 7:38 p.m.
Hi,

UNSPEC_VSLDOI was misspelled.  It bothered me.  I fixed it.

Regstrapped on powerpc64le-unknown-linux-gnu, committed as obvious.

Thanks,
Bill


2014-07-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/altivec.md (unspec enum):  Fix typo in
	UNSPEC_VSLDOI.
	(altivec_vsldoi_<mode>): Likewise.

Patch

Index: gcc/config/rs6000/altivec.md
===================================================================
--- gcc/config/rs6000/altivec.md	(revision 212872)
+++ gcc/config/rs6000/altivec.md	(working copy)
@@ -67,7 +67,7 @@ 
    UNSPEC_VCTSXS
    UNSPEC_VLOGEFP
    UNSPEC_VEXPTEFP
-   UNSPEC_VLSDOI
+   UNSPEC_VSLDOI
    UNSPEC_VUNPACK_HI_SIGN
    UNSPEC_VUNPACK_LO_SIGN
    UNSPEC_VUNPACK_HI_SIGN_DIRECT
@@ -2077,7 +2077,7 @@ 
         (unspec:VM [(match_operand:VM 1 "register_operand" "v")
 		    (match_operand:VM 2 "register_operand" "v")
 		    (match_operand:QI 3 "immediate_operand" "i")]
-		  UNSPEC_VLSDOI))]
+		  UNSPEC_VSLDOI))]
   "TARGET_ALTIVEC"
   "vsldoi %0,%1,%2,%3"
   [(set_attr "type" "vecperm")])