Re: [DOC PATCH] PowerPC extended asm example

2017-04-05 Thread Alan Modra
On Wed, Apr 05, 2017 at 09:37:04AM -0600, Sandra Loosemore wrote: > On 04/04/2017 06:14 AM, Alan Modra wrote: > >Revised patch. > > > >[snip] > >+@smallexample > >+static void > >+dgemv_kernel_4x4 (long n, const double *ap, long lda, > >+ const double *x, double *y, double alpha) >

Re: [DOC PATCH] PowerPC extended asm example

2017-04-05 Thread Sandra Loosemore
On 04/04/2017 06:14 AM, Alan Modra wrote: Revised patch. [snip] +@smallexample +static void +dgemv_kernel_4x4 (long n, const double *ap, long lda, + const double *x, double *y, double alpha) +@{ + double *a0; + double *a1; + double *a2; + double *a3; + + __asm__ +( +

Re: [DOC PATCH] PowerPC extended asm example

2017-04-04 Thread Alan Modra
Revised patch. * doc/extend.texi (Extended Asm ): Rename to "Clobbers and Scratch Registers". Add OpenBLAS example. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 0f44ece..0b0a021 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7869,7 +7869,7 @@ A com

Re: [DOC PATCH] PowerPC extended asm example

2017-04-01 Thread Sandra Loosemore
On 03/31/2017 07:30 AM, Alan Modra wrote: Some people over at OpenBLAS were asking me whether I knew of a whitepaper on gcc asm. I didn't besides the gcc manual, and wrote a note explaining some tricks. This patch is that note cleaned up. Tested by an x86_64-linux build. OK to apply? The pat