]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
altivec-consts.c (vspltisb): Use int val.
authorAlan Modra <amodra@bigpond.net.au>
Wed, 23 Nov 2005 02:29:39 +0000 (02:29 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 23 Nov 2005 02:29:39 +0000 (12:59 +1030)
* gcc.target/powerpc/altivec-consts.c (vspltisb): Use int val.
(vspltish, vspltisw): Likewise.

From-SVN: r107398

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-consts.c

index 85ff4845637d369b5b30b8653dd89bacfd480286..bfc1d95c446b3b956ce2b3093943953b264f87fe 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * gcc.target/powerpc/altivec-consts.c (vspltisb): Use int val.
+       (vspltish, vspltisw): Likewise.
+
 2005-11-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR libgfortran/24794
index ad32e6f618cdfc0fef39f5df5129dea55adadf3e..318c723bcf5a5aa1de84868a4d47f598179a5e34 100644 (file)
@@ -17,21 +17,21 @@ char w[16] __attribute__((aligned(16)));
 \f
 /* Emulate the vspltis? instructions on a 16-byte array of chars.  */
 
-void vspltisb (char *v, char val)
+void vspltisb (char *v, int val)
 {
   int i;
   for (i = 0; i < 16; i++)
     v[i] = val;
 }
 
-void vspltish (char *v, char val)
+void vspltish (char *v, int val)
 {
   int i;
   for (i = 0; i < 16; i += 2)
     v[i] = val >> 7, v[i + 1] = val;
 }
 
-void vspltisw (char *v, char val)
+void vspltisw (char *v, int val)
 {
   int i;
   for (i = 0; i < 16; i += 4)