[rs6000] Correct documentation of vec_lvsl and vec_lvsr arguments
diff mbox series

Message ID 8a90359d-0841-31ef-7659-42558cbc2bea@linux.ibm.com
State New
Headers show
Series
  • [rs6000] Correct documentation of vec_lvsl and vec_lvsr arguments
Related show

Commit Message

Kelvin Nilsen June 4, 2018, 4:03 p.m. UTC
The existing documentation incorrectly specifies that the second argument of vec_lvsl and vec_lvsr instructions are volatile <TYPE> *.  This patch removes the volatile qualifier from the documentation of these arguments.

his patch has bootstrapped and tested without regressions on powerpc64le-unknown-linux (P8).  I have built the gcc.pdf file and reviewed its contents.

Is this ok for trunk?

 gcc/ChangeLog:

2018-06-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>

	* doc/extend.texi (PowerPC AltiVec Built-in Functions): Remove
	volatile qualifier from vec_lvsl and vec_lvsr argument prototypes.

Comments

Segher Boessenkool June 4, 2018, 7:31 p.m. UTC | #1
On Mon, Jun 04, 2018 at 11:03:49AM -0500, Kelvin Nilsen wrote:
> The existing documentation incorrectly specifies that the second argument of vec_lvsl and vec_lvsr instructions are volatile <TYPE> *.  This patch removes the volatile qualifier from the documentation of these arguments.
> 
> his patch has bootstrapped and tested without regressions on powerpc64le-unknown-linux (P8).  I have built the gcc.pdf file and reviewed its contents.
> 
> Is this ok for trunk?

Yes please.  Thanks!


Segher


> 2018-06-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>
> 
> 	* doc/extend.texi (PowerPC AltiVec Built-in Functions): Remove
> 	volatile qualifier from vec_lvsl and vec_lvsr argument prototypes.

Patch
diff mbox series

Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 261067)
+++ gcc/doc/extend.texi	(working copy)
@@ -16662,25 +16662,25 @@  vector unsigned char vec_ldl (int, const unsigned
 
 vector float vec_loge (vector float);
 
-vector unsigned char vec_lvsl (int, const volatile unsigned char *);
-vector unsigned char vec_lvsl (int, const volatile signed char *);
-vector unsigned char vec_lvsl (int, const volatile unsigned short *);
-vector unsigned char vec_lvsl (int, const volatile short *);
-vector unsigned char vec_lvsl (int, const volatile unsigned int *);
-vector unsigned char vec_lvsl (int, const volatile int *);
-vector unsigned char vec_lvsl (int, const volatile unsigned long *);
-vector unsigned char vec_lvsl (int, const volatile long *);
-vector unsigned char vec_lvsl (int, const volatile float *);
+vector unsigned char vec_lvsl (int, const unsigned char *);
+vector unsigned char vec_lvsl (int, const signed char *);
+vector unsigned char vec_lvsl (int, const unsigned short *);
+vector unsigned char vec_lvsl (int, const short *);
+vector unsigned char vec_lvsl (int, const unsigned int *);
+vector unsigned char vec_lvsl (int, const int *);
+vector unsigned char vec_lvsl (int, const unsigned long *);
+vector unsigned char vec_lvsl (int, const long *);
+vector unsigned char vec_lvsl (int, const float *);
 
-vector unsigned char vec_lvsr (int, const volatile unsigned char *);
-vector unsigned char vec_lvsr (int, const volatile signed char *);
-vector unsigned char vec_lvsr (int, const volatile unsigned short *);
-vector unsigned char vec_lvsr (int, const volatile short *);
-vector unsigned char vec_lvsr (int, const volatile unsigned int *);
-vector unsigned char vec_lvsr (int, const volatile int *);
-vector unsigned char vec_lvsr (int, const volatile unsigned long *);
-vector unsigned char vec_lvsr (int, const volatile long *);
-vector unsigned char vec_lvsr (int, const volatile float *);
+vector unsigned char vec_lvsr (int, const unsigned char *);
+vector unsigned char vec_lvsr (int, const signed char *);
+vector unsigned char vec_lvsr (int, const unsigned short *);
+vector unsigned char vec_lvsr (int, const short *);
+vector unsigned char vec_lvsr (int, const unsigned int *);
+vector unsigned char vec_lvsr (int, const int *);
+vector unsigned char vec_lvsr (int, const unsigned long *);
+vector unsigned char vec_lvsr (int, const long *);
+vector unsigned char vec_lvsr (int, const float *);
 
 vector float vec_madd (vector float, vector float, vector float);
 
@@ -18210,8 +18210,8 @@  vector double vec_ld (int, const vector double *);
 vector double vec_ld (int, const double *);
 vector double vec_ldl (int, const vector double *);
 vector double vec_ldl (int, const double *);
-vector unsigned char vec_lvsl (int, const volatile double *);
-vector unsigned char vec_lvsr (int, const volatile double *);
+vector unsigned char vec_lvsl (int, const double *);
+vector unsigned char vec_lvsr (int, const double *);
 vector double vec_madd (vector double, vector double, vector double);
 vector double vec_max (vector double, vector double);
 vector signed long vec_mergeh (vector signed long, vector signed long);