This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000 1/9] Testcase coverage for vec_xl() instrinsics


On Thu, May 31, 2018 at 02:57:21PM -0500, Will Schmidt wrote:
> 2018-05-31  Will Schmidt  <will_schmidt@vnet.ibm.com>
>     
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-char.c
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-double.c
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-float.c
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-int.c
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-longlong.c
> 	* gcc.target/powerpc/fold-vec-load-vec_xl-short.c

"* gcc.target/powerpc/fold-vec-load-vec_xl-char.c: New testcase." etc.?

> +/* { dg-final { scan-assembler-times "lxvw4x|lxvd2x|lxvx|lvx" 12 } } */

This works, but some \m\M would be better.

> +/* { dg-do compile { target { powerpc*-*-linux*  } } } */

Tests in gcc.target/powerpc can be just  { dg-do compile }  btw.
(Or leave even that out, it is the default; whichever you prefer).

Okay for trunk if you make a proper changelog ;-)


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]