[PATCH, rs6000 v3] enable gimple folding for vec_xl, vec_xst

2018-07-09 Thread Will Schmidt
clarity. OK for trunk? Thanks -Will [gcc] 2018-07-09 Will Schmidt * config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add vec_xst variants to the list. (rs6000_gimple_fold_builtin): Add support for folding unaligned vector loads and

[PATCH, rs6000] gimple folding support for vec_pack and vec_unpack

2018-07-09 Thread Will Schmidt
Hi, Add support for gimple folding for vec_pack(), vec_unpackh() and vec_unpackl(). Testcases for vec_pack are already in tree. Tests for vec_unpack have been posted separately. OK for trunk? Thanks, -Will [gcc] 2018-07-09 Will Schmidt * config/rs6000/rs6000.c

[PATCH, rs6000] Add support for gimple folding vec_perm()

2018-07-09 Thread Will Schmidt
Hi, Add support for early gimple folding of vec_perm. Testcases are already in-tree as gcc.target/powerpc/fold-vec-perm-*.c OK for trunk? Thanks, -Will [gcc] 2018-07-09 Will Schmidt * gcc/config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for

[PATCH, rs6000] Testcase adds for vec_unpack

2018-07-09 Thread Will Schmidt
Hi, Testcases to exercise the vec_unpack intrinsics. Tested clean across assorted systems. OK for trunk? Thanks, -Will [testsuite] 2018-07-09 Will Schmidt * gcc.target/powerpc/fold-vec-unpack-char.c: New. * gcc.target/powerpc/fold-vec-unpack-float.c

Re: [PATCH, rs6000 v3] enable gimple folding for vec_xl, vec_xst

2018-07-10 Thread Will Schmidt
; > > wrote: > > >> > > >> > > >>> On Jul 10, 2018, at 2:10 AM, Richard Biener > > >>> wrote: > > >>> > > >>> On Mon, Jul 9, 2018 at 9:08 PM Will Schmidt > > >>> wrote: > &g

[PATCH, rs6000 v4] enable gimple folding for vec_xl, vec_xst

2018-07-10 Thread Will Schmidt
. OK for trunk assuming successful test results? Thanks -Will [gcc] 2018-07-10 Will Schmidt * config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add vec_xst variants to the list. (rs6000_gimple_fold_builtin): Add support for folding unaligned

[PATCH] add -mvsx to pr92923-1.c test requiring vsx

2020-02-06 Thread will schmidt
Hi, The existing testcase pr92923-1.c uses vector long long, and thus requires vsx. OK for master? Thanks, -Will [testsuite] * testsuite/gcc.target/powerpc/pr92923-1.c: Add -mvsx. diff --git a/gcc/testsuite/gcc.target/powerpc/pr92923-1.c b/gcc/testsuite/gcc.target/powerpc/p

[PATCH] Tweak testcases for pr70010

2020-02-10 Thread will schmidt
Hi, This fixes up a few tests that explicitly disable vsx, but still require altivec be enabled by adding the -maltivec option. (Noted on AIX, also seen on Linux/Power6). OK for master? Thanks, -Will [testsuite] * gcc.target/powerpc/pr70010-2.c: Add -maltivec. * gc

[PATCH] Add ppc_ieee128_ok target-supports proc

2020-02-10 Thread will schmidt
Hi, This adds a target_supports entry to check that the _ieee128 keyword is understood by the target. Also adds that require-effective-target check to the existing pr92796 testcase. Sniff tested on Linux (power6,power9) and AIX. OK for master? Thanks -Will [testsuite] *

Re: [PATCH] Add ppc_ieee128_ok target-supports proc

2020-02-11 Thread will schmidt
Hi, Thanks for the feedback. Updated below. [v2] - removed some explicit disables that were not necessary. - updated options qualifier for the proc. [V1] Add a target_supports entry to check that the __ieee128 keyword is understood by the target. Also add a dg-requires check to the existing p

Update gcc.target/powerpc/pr92132-fp test for power7 and older

2020-02-13 Thread will schmidt
Hi, Attempting to clean up some more testcase failures. This test in particular exercises the -ftree-vectorize option, and by inspection I see this fails out with assorted "conversion not supported by target" messages on power7 and earlier systems. Thus, this would limits the scan-dump check of

Fix existing fold-vec-extract-longlong.p8.c testcase

2020-02-13 Thread will schmidt
Hi, The code generated by this test changed shortly after this test was committed, and we didn't get back to updating the scan-assembler statements to match. Until now. Tested across assorted power* linux targets. OK for master? Thanks -Will [testsuite] * gcc.target/powerpc/fold-vec-ex

Re: Update gcc.target/powerpc/pr92132-fp test for power7 and older

2020-02-17 Thread will schmidt
On Thu, 2020-02-13 at 17:23 -0600, Segher Boessenkool wrote: > On Thu, Feb 13, 2020 at 04:41:09PM -0600, will schmidt wrote: > > Attempting to clean up some more testcase failures. > > This test in particular exercises the -ftree-vectorize > > option, and by inspection I se

PR90763: PowerPC vec_xl_len should take const argument.

2020-02-25 Thread will schmidt
is not itself a pointer type. Regtested ok. OK for master? Thanks, -Will 2020-02-24: Will Schmidt gcc/ PR target/90763 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add clause to handle P9V_BUILTIN_VEC_LXVL with const

PowerPC Add has_arch_pwr* checks

2020-02-25 Thread will schmidt
NTESTFLAGS=powerpc.exp=pr92132-fp-1*.c --target_board=unix/'{-mcpu=power5,-mcpu=power6,-mcpu=power7, -mcpu=power8,-mcpu=power9}''{-m32,-m64}'" OK for master? Thanks -Will testsuite/ 2020-02-25 Will Schmidt * lib/target_supports.exp (check_e

Re: Update gcc.target/powerpc/pr92132-fp test for power7 and older

2020-02-25 Thread will schmidt
On Sat, 2020-02-22 at 18:15 -0600, Segher Boessenkool wrote: > On Mon, Feb 17, 2020 at 02:48:20PM -0600, will schmidt wrote: > > On Thu, 2020-02-13 at 17:23 -0600, Segher Boessenkool wrote: > > > On Thu, Feb 13, 2020 at 04:41:09PM -0600, will schmidt wrote: > > > > -

Remove unnecessary XFAILs from existing testcase 20050603-3.c

2020-03-03 Thread will schmidt
Remove unnecessary XFAILs from existing testcase 20050603-3.c. Hi, The XFAILs in this testcase (20050603-3.c) are no longer necessary since the fix to PR68803 was committed with svn revision r242681. OK for master? Thanks -Will 2020-03-03 Will Schmidt testsuite

Add dg-require to existing powerpc/pr93122.c test

2020-03-03 Thread will schmidt
. (mostly obvious). OK for master? Thanks -Will 2020-03-03 Will Schmidt testsuite/ * gcc.target/powerpc/pr93122.c: Add dg-require. diff --git a/gcc/testsuite/gcc.target/powerpc/pr93122.c b/gcc/testsuite/gcc.target/powerpc/pr93122.c index 701711a..a440a05 100644 --- a/gcc/testsuite

ping Re: PR90763: PowerPC vec_xl_len should take const argument.

2020-03-09 Thread will schmidt
On Tue, 2020-02-25 at 12:15 -0600, will schmidt wrote: > PR90763: PowerPC vec_xl_len should take const argument. ping! :-) thanks -Will > > Hi, > > Adds some logic in altivec_resolve_overloaded_builtin() to handle > the > scenario where const * arguments are passed i

[PATCH, rs6000] Update powerpc vector load builtins with PURE attribute

2019-09-26 Thread will schmidt
. This change has been tested across assorted powerpc systems (p7, p8le, p8be, p9) with no regressions noted. OK for trunk? Thanks, -Will [gcc] 2019-09-26 Will Schmidt * config/rs6000/rs6000-builtin.def: ( LVSL LVSR LVEBX LVEHX LVEWX LVXL LVXL_V2DF LVXL_V2DI

[PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-07 Thread Will Schmidt
integer. Relevant testcases are already in-tree. OK for trunk? Thanks, -Will [gcc] 2018-08-07 Will Schmidt * config/rs6000/rs600.c (rs6000_gimple_fold_builtin): Add entries to allow folding of mergeh() and mergel() for the float and double types

[PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-07 Thread Will Schmidt
tor signed intD.1468>(xD.2778); D.2856 = BIT_FIELD_REF <_1, 32, 0>; _2 = {D.2856, D.2856, D.2856, D.2856}; D.2855 = VIEW_CONVERT_EXPR<__vector __bool intD.1486>(_2); return D.2855; } Testcases are being posted as a separate patch. OK for trunk? Thanks, -Will

[PATCH, rs6000] testcases for GIMPLE folding of vec_splat builtin.

2018-08-07 Thread Will Schmidt
I was doing experimentation with the assorted values and making lots of local updates. I've left them as-is just because, but can update that if so desired. OK for trunk? Thanks, -Will [testsuite] 2018-08-07 Will Schmidt * gcc.target/powerpc/fold-vec-

Re: [PATCH, RFC, rs6000] enable GIMPLE folding of vec_splat

2018-08-09 Thread Will Schmidt
On Thu, 2018-08-09 at 08:53 -0500, Bill Schmidt wrote: > > On Aug 7, 2018, at 2:25 PM, Will Schmidt wrote: > > > > Hi > > Enable GIMPLE folding of the vec_splat() intrinsic. > > > > For review.. feedback is expected. :-) > > > > I came up wi

[PATCH, rs6000] Fix PR86731 vec_sl()

2018-08-14 Thread Will Schmidt
mbler stanzas after reviewing those results, but I wanted to get this out for review sooner versus later. :-) Assuming good results, is this OK for trunk and backport to 8? Thanks, -Will [gcc] 2018-08-14 Will Schmidt PR target/86731 * config/rs6000/rs6

[PATCH, RFC, rs6000, v2] folding of vec_splat

2018-08-16 Thread Will Schmidt
. OK for trunk? Thanks, -Will [gcc] 2018-08-16 Will Schmidt * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for early gimple folding of vec_splat(). * tree-vect-generic.c: Remove static from tree_vec_extract() definition. * gimple

Re: [PATCH, RFC, rs6000, v2] folding of vec_splat

2018-08-16 Thread Will Schmidt
On Thu, 2018-08-16 at 15:51 -0500, Segher Boessenkool wrote: > Hi Will, > > On Thu, Aug 16, 2018 at 10:50:45AM -0500, Will Schmidt wrote: > > 2018-08-16 Will Schmidt > > > > * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for > >

Re: [PATCH, rs6000] Early gimple folding of vec_mergeh and vec_mergel for float

2018-08-17 Thread Will Schmidt
On Fri, 2018-08-17 at 16:00 +0200, Richard Biener wrote: > On Wed, Aug 8, 2018 at 12:59 AM Segher Boessenkool > wrote: > > > > Hi! > > > > On Tue, Aug 07, 2018 at 02:24:58PM -0500, Will Schmidt wrote: > > >This adds support for gimple folding of vec_me

[PATCH, rs6000] Improve TREE_TYPE comparisons in fold_mergehl_helper()

2018-08-20 Thread Will Schmidt
clean. OK for trunk? Thanks, -Will [gcc] 2018-08-20 Will Schmidt * config/rs6000/rs6000.c (fold_mergehl_helper): Add types_compatible_p wrappers around TREE_TYPE comparisons. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 97b922f

[PATCH, RFC, rs6000, v3] enable early gimple-folding of vec_splat

2018-08-20 Thread Will Schmidt
the queue. OK for trunk with passing test results? Thanks, -Will [gcc] 2018-08-20 Will Schmidt * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for early gimple folding of vec_splat(). * tree-vect-generic.c: Remove static from

Re: [PATCH, rs6000] Fold vector shifts in GIMPLE

2017-06-06 Thread Will Schmidt
On Thu, 2017-06-01 at 10:15 -0500, Bill Schmidt wrote: > > On Jun 1, 2017, at 2:48 AM, Richard Biener > > wrote: > > > > On Wed, May 31, 2017 at 10:01 PM, Will Schmidt > > wrote: > >> Hi, > >> > >> Add support for early expansion of v

[PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-12 Thread Will Schmidt
left shifts with TYPE_OVERFLOW_WRAPS. Add -fwrapv test variations for the left shifts. Sniff-tests passed. full regtest still running. OK for trunk? Thanks, -Will [gcc] 2017-06-12 Will Schmidt * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling

[PATCH, rs6000] (v3) Fold vector shifts in GIMPLE

2017-06-13 Thread Will Schmidt
running. OK for trunk? [gcc] 2017-06-13 Will Schmidt * config/rs6000/rs6000.c: Add include of ssa-propagate.h for update_call_from_tree(). (rs6000_gimple_fold_builtin): Add handling for early expansion of vector shifts (sl,sr,sra,rl

Re: [PATCH, rs6000] (v2) Fold vector shifts in GIMPLE

2017-06-14 Thread Will Schmidt
On Tue, 2017-06-13 at 10:03 +0200, Richard Biener wrote: > On Mon, Jun 12, 2017 at 11:56 PM, Will Schmidt > wrote: > > Hi, > > > > > > diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c > > index 63ca2d1..55592fb 100644 > > --- a/gcc/c

[PATCH, rs6000] (v2) GIMPLE folding for vector compares

2017-11-14 Thread Will Schmidt
OK for trunk? Thanks, -Will 2017-11-14 Will Schmidt [gcc] * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for folding of vector compares. (fold_build_vec_cmp): New helper function. (fold_compare_helper): New helper function. (builtin_

[PATCH, rs6000] Testcase updates for power9 codegen

2017-11-17 Thread Will Schmidt
Hi Assorted testcase updates to reflect codegen differences on Power9 versus Power8 and earlier systems. Tested on P9, this is expected to clean up the majority of the currently failing tests on that system. OK for trunk? Thanks -Will 2017-11-17 Will Schmidt [testsuite

Re: [PATCH, rs6000] Testcase updates for power9 codegen

2017-11-20 Thread Will Schmidt
On Mon, 2017-11-20 at 11:23 -0600, Segher Boessenkool wrote: > Hi! > > On Fri, Nov 17, 2017 at 11:30:27AM -0600, Will Schmidt wrote: > > [testsuite] > > * fold-vec-neg-int.c: Specify -mcpu=power8 > > Dot at end of sentence (quite a few times), please. > >

[PATCH, rs6000] (v2) fold-vec-splat* testcase updates for power9

2017-11-20 Thread Will Schmidt
Hi, Update the scan-assembler stanza to include those instructions generated for a power9 target. 2017-11-20 Will Schmidt [testsuite] * fold-vec-splat-8.c : Add vspltisb to expected output. * fold-vec-splats-int.c : Add mtvsrws to expected output

[PATCH, rs6000] (v2) fold-vec-ld* testcase updates for power9

2017-11-20 Thread Will Schmidt
Hi, Update the scan-assembler stanza to include those instructions generated for a power9 target. 2017-11-20 Will Schmidt [testsuite] * fold-vec-ld-char.c: Add lxv insn to expected output. * fold-vec-ld-double.c: Add lxv insn to expected output

[PATCH, rs6000] (v2) testcase updates for fold-vec-abs-* for power9 codegen

2017-11-20 Thread Will Schmidt
Hi, Add additional scan-assembler entries for those tests with simple variations in codegen. (for power9, versus power8, etc). 2017-11-20 Will Schmidt [testsuite] * fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output. * fold-vec-abs

[PATCH, rs6000] gimple folding of vec_msum()

2017-12-01 Thread Will Schmidt
/fold-vec-msum*.c tests. Sniff-tests have passed on P8. full regtests currently running on other assorted power systems. OK for trunk with successful results? Thanks -Will [gcc] 2017-12-01 Will Schmidt * config/rs6000/altivec.md (sdot_prodv16qi): New. * config

Re: [PATCH, rs6000] gimple folding of vec_msum()

2017-12-01 Thread Will Schmidt
On Fri, 2017-12-01 at 18:46 +0100, Richard Biener wrote: > On December 1, 2017 6:22:21 PM GMT+01:00, Will Schmidt > wrote: > >Hi, > >Add support for folding of vec_msum in GIMPLE. > > > >This uses the DOT_PROD_EXPR gimple op, which is sensitive to type >

[PATCH, rs6000] Gimple folding of splat_uX

2017-12-06 Thread Will Schmidt
to splat a non-constant value. Regtests currently running across assorted power systems. OK for trunk with successful results? Thanks -Will [gcc] 2017-12-05 Will Schmidt * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for early folding of splat

Re: [PATCH, rs6000] Gimple folding of splat_uX

2017-12-07 Thread Will Schmidt
On Thu, 2017-12-07 at 12:21 +0100, Richard Biener wrote: > On Wed, Dec 6, 2017 at 5:36 PM, Will Schmidt > wrote: > > Hi, > > Add support for gimple folding of splat_u{8,16,32}. > > Testcase coverage is primarily handled by existing tests > > testsuite/gcc.tar

[PATCH, rs6000] (v2) Gimple folding of splat_uX

2017-12-08 Thread Will Schmidt
intrinsics will deal more with floats, those are later in my queue). Regtests across assorted power systems look clean. OK for trunk? Thanks, -Will [gcc] 2017-12-08 Will Schmidt * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add support for ea

[PATCH, rs6000 0/9] gimple folding of vector loads/stores + tests

2018-05-31 Thread Will Schmidt
Hi, I've broken this set of patches up into bite-sized chunks for easier review and management. They'll be showing up as replies to this message. #1-6 are straightforward tests to cover the variations of the vector load and store intrinsics. These look much alike, but there really are differen

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

2018-05-31 Thread Will Schmidt
Hi, Add testcase coverage for variations of the vec_xl() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-load-vec_xl-char.c * gcc.target/powerpc/fold-vec

[PATCH, rs6000 3/9] Testcase coverage for vec_vsx_ld() instrinsics

2018-05-31 Thread Will Schmidt
Hi, Add testcase coverage for variations of the vec_vsx_ld() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-load-vec_vsx_ld-char.c : New. * gcc.target

[PATCH, rs6000 2/9] Testcase coverage for builtin_vec_xl() instrinsics

2018-05-31 Thread Will Schmidt
Hi, Add testcase coverage for variations of the builtin_vec_xl() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-char.c: New. * gcc.target

[PATCH, rs6000 5/9] Testcase coverage for builtin_vec_xst() instrinsics

2018-05-31 Thread Will Schmidt
Hi, Add testcase coverage for variations of the builtin_vec_xst() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-store-builtin_vec_xst-char.c: New

[PATCH, rs6000 6/9] Testcase coverage for vec_vsx_st() intrinsics

2018-05-31 Thread Will Schmidt
Hi, New testcases to cover variations of the vec_vsx_st() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-store-vec_vsx_st-char.c: New. * gcc.target

[PATCH, rs6000 7/9] testcase updates for unaligned loads/stores

2018-05-31 Thread Will Schmidt
Hi, Assorted updates to existing tests to compensate for codegen changes introduced with the gimple-folding of unaligned vector loads and stores. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt

[PATCH, rs6000 4/9] Testcase coverage for vec_xst() instrinsics

2018-05-31 Thread Will Schmidt
Hi, Testcase coverage for variations of the vec_xst() intrinsic. Regtest clean across assorted Linux systems (p6-p9). OK for trunk? Thanks, -Will [testsuite] 2018-05-31 Will Schmidt * gcc.target/powerpc/fold-vec-store-vec_xst-char.c : New. * gcc.target/powerpc

[PATCH, rs6000 8/9] enable gimple folding for vec_xl, vec_xst

2018-05-31 Thread Will Schmidt
Hi, Add support for gimple folding for unaligned vector loads and stores. testcases posted separately in this thread. Regtest completed across variety of systems, P6,P7,P8,P9. OK for trunk? Thanks, -Will [gcc] 2018-05-31 Will Schmidt * config/rs6000/rs6000.c

[PATCH, rs6000 9/9] Enable some additional combinations for builtin_vec_xst

2018-05-31 Thread Will Schmidt
, -Will [gcc] 2018-05-31 Will Schmidt * config/rs6000/rs6000-c.c: Add BUILTIN_VEC_XST entries for *double and *long long. diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 98a812e..61ff4e2 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b

Re: [PATCH, rs6000 8/9] enable gimple folding for vec_xl, vec_xst

2018-06-01 Thread Will Schmidt
On Fri, 2018-06-01 at 08:53 +0200, Richard Biener wrote: > On Thu, May 31, 2018 at 9:59 PM Will Schmidt > wrote: > > > > Hi, > > Add support for gimple folding for unaligned vector loads and stores. > > testcases posted separately in this thread. > > >

Re: [PATCH, rs6000 8/9] [v2] Enable gimple folding for vec_xl, vec_xst

2018-06-12 Thread Will Schmidt
-tested, still looks good. :-) Thanks -Will [gcc] 2018-06-12 Will Schmidt * config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add vec_xst variants to the list. (rs6000_gimple_fold_builtin): Add support for folding unaligned vector loads

Re: [PATCH, rs6000 8/9] [v2] Enable gimple folding for vec_xl, vec_xst

2018-06-12 Thread Will Schmidt
On Tue, 2018-06-12 at 13:17 -0500, Bill Schmidt wrote: > On 6/12/18 11:56 AM, Will Schmidt wrote: > > Hi, > > Gimple folding for unaligned vector loads and stores. > > Regtest completed across variety of systems, P6,P7,P8,P9. > > > > [v2] Added the t

Re: [PATCH, rs6000 8/9] [v3] Enable gimple folding for vec_xl, vec_xst

2018-06-12 Thread Will Schmidt
to be 4bytes. Updated/added/removed comments in the code for clarity. I want to do one more spin with the latest, just to be sure. OK for trunk, assuming good test results? Thanks -Will [gcc] 2018-06-12 Will Schmidt * config/rs6000/rs6000.c

[PATCH, rs6000] clean up vec_neg related test options

2018-06-12 Thread Will Schmidt
Hi, A few of our vec_neg related tests are failing in some environments. Clean up the options and requires stanzas to avoid running the tests where the vec_neg() intrinsic does not work. OK for trunk? Thanks -Will [testsuite] 2018-06-12 Will Schmidt * gcc.target

Re: [PATCH, rs6000] clean up vec_neg related test options

2018-06-15 Thread Will Schmidt
On Thu, 2018-06-14 at 17:16 -0500, Segher Boessenkool wrote: > Hi! > > On Tue, Jun 12, 2018 at 03:25:20PM -0500, Will Schmidt wrote: > > --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c > > +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-neg-int.c > > @@ -1

[PATCH, rs6000] Support for gimple folding of mergeh, mergel intrinsics

2018-01-12 Thread Will Schmidt
, that do not count instructions. Regtests are currently running across assorted power systems. OK for trunk, pending successful results? Thanks, -Will [gcc] 2018-01-12 Will Schmidt * config/rs6000/rs6000.c: (rs6000_gimple_builtin) Add gimple folding support

Re: [PATCH, rs6000] Support for gimple folding of mergeh, mergel intrinsics

2018-01-15 Thread Will Schmidt
On Mon, 2018-01-15 at 10:24 +, Richard Sandiford wrote: > >> + for (int i = 0; i < midpoint; i++) > >> +{ > >> + tree tmp1 = build_int_cst (lhs_type_type, offset + i); > >> + tree tmp2 = build_int_cst (lhs_type_type, offset + n_elts + > i); > >> + CONSTRUCTOR_APPEND_ELT (cto

Re: [PATCH, rs6000] Support for gimple folding of mergeh, mergel intrinsics

2018-01-15 Thread Will Schmidt
On Mon, 2018-01-15 at 09:08 -0600, Segher Boessenkool wrote: > Hi Will, > > On Fri, Jan 12, 2018 at 03:22:06PM -0600, Will Schmidt wrote: > > Add support for gimple folding of the mergeh, mergel intrinsics. > > Since the merge low and merge high variants are almost identi

[PATCH, rs6000] (v2) Support for gimple folding of mergeh, mergel intrinsics

2018-01-16 Thread Will Schmidt
are currently running across assorted power systems. OK for trunk, pending successful results? Thanks, -Will [gcc] 2018-01-16 Will Schmidt * config/rs6000/rs6000.c: (rs6000_gimple_builtin) Add gimple folding support for merge[hl]. (fold_mergehl_helper): New he

Re: [PATCH, rs6000] (v2) Support for gimple folding of mergeh, mergel intrinsics

2018-01-17 Thread Will Schmidt
On Tue, 2018-01-16 at 16:34 -0600, Segher Boessenkool wrote: > Hi! > > On Tue, Jan 16, 2018 at 01:39:28PM -0600, Will Schmidt wrote: > > Sniff-tests of the target tests on a single system look OK. Full regtests > > are > > currently running across assorted powe

Re: [PATCH, rs6000] (v2) Support for gimple folding of mergeh, mergel intrinsics

2018-01-17 Thread Will Schmidt
On Wed, 2018-01-17 at 11:31 -0600, Segher Boessenkool wrote: > On Wed, Jan 17, 2018 at 09:51:54AM -0600, Will Schmidt wrote: > > On Tue, 2018-01-16 at 16:34 -0600, Segher Boessenkool wrote: > > > Hi! > > > On Tue, Jan 16, 2018 at 01:39:28PM -0600, Will Schmidt w

[rs6000] ira issue hidden by gimple folding.

2018-01-17 Thread Will Schmidt
Hi folks, (I wanted to get this to the list before my EOD..) :-) This is a simplified test that is failing for me on Power8, BE, when gimple-folding is disabled. I noticed this while working testcase patches for the mergehl folding, but this is a pre-existing issue. The majority of the built

[PATCH, rs6000] Testcase fix-ups for gimple-folding intrinsic tests.

2018-01-19 Thread Will Schmidt
across P6,P8,P9. OK for trunk? Thanks, -Will [testsuite] 2018-01-19 Will Schmidt * gcc.target/powerpc/fold-vec-abs-short-fwrap.c: Add xxspltib to scan-asembler valid instructions list. * gcc.target/powerpc/fold-vec-abs-short.c: Same

[PATCH, rs6000] Updates for vec_neg() gimple-folding vector tests

2018-01-24 Thread Will Schmidt
cleans up a handful of errors seen on P9. OK for trunk? THanks, -Will [testsuite] 2018-01-24 Will Schmidt * gcc.target/powerpcfold-vec-neg-longlong.h: New. * gcc.target/powerpc/fold-vec-neg-longlong.p8.c: New. * gcc.target/powerpc/fold-vec-neg-longlong.p9.c: New

[PATCH, rs6000] Updates for vec_abs() gimple-folding vector tests

2018-01-24 Thread Will Schmidt
-24 Will Schmidt * gcc.target/powerpc/fold-vec-abs-int.c: remove scan-assembler stanzas. * gcc.target/powerpc/fold-vec-abs-int-fwrap.c: Same. * gcc.target/powerpc/fold-vec-abs-int.p7.c: New. * gcc.target/powerpc/fold-vec-abs-int.p8.c: New. * gcc.target

[PATCH, rs6000] Updates for vec_cmp_*() gimple-folding vector testcases

2018-01-24 Thread Will Schmidt
stanzas. sniff-tested across power systems. This cleans up a handful of errors seen on P9. OK for trunk? Thanks, -Will [testsuite] 2018-01-24 Will Schmidt * gcc.target/powerpc/fold-vec-cmp-int.c: Delete. * gcc.target/powerpc/fold-vec-cmp-int.h: New. * gcc.target

[PATCH, rs6000] Fix VSX/altivec assumptions in altivec-13.c testcase

2018-01-30 Thread Will Schmidt
overage. Sniff-tested on Power6, altivec-13.c test now passes there, where it used to fail. Still plan to do a sniff-test on AIX, but have expectations that this should help. OK for trunk? Thanks, -Will [testsuite] 2018-01-30 Will Schmidt * gcc.target/powerpc/altivec-1

[PATCH, rs6000] Update dg-requires for P9 specific tests.

2018-01-31 Thread Will Schmidt
. Sniff-test passes on gcc119. OK for trunk? Thanks, -Will [testsuite] 2018-01-31 Will Schmidt * gcc.target/powerpc/fold-vec-abs-int.p9.c: Add powerpc_p9vector_ok requirement. * gcc.target/powerpc/fold-vec-abs-int-fwrapv.p9.c: Same

[PATCH, rs6000] fix-ups for vec-cmpne-long.c runtime tests

2018-01-31 Thread Will Schmidt
? Thanks -Will [testsuite] 2018-01-31 Will Schmidt * gcc.target/powerpc/vec-cmpne-long.c: Add p8vector_hw require to dg-do run stanza. diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c b/gcc/testsuite/gcc.target/powerpc/vec-cmpne-long.c index bf5866a

[PATCH, rs6000] PR84220 fix altivec_vec_sld and vec_sldw intrinsic definitions

2018-02-07 Thread Will Schmidt
for trunk? And,.. do we want this one backported too? Thanks, -Will [gcc] 2018-02-07 Will Schmidt PR target/84220 * config/rs6000/rs6000-c.c: Update definitions for ALTIVEC_BUILTIN_VEC_SLD and ALTIVEC_BUILTIN_VEC_SLDW. [testsuite] 2018-02-07 Wi

[PATCH, rs6000] fix requires for mergew-mergeow.c test

2018-02-07 Thread Will Schmidt
hanks -Will [testsuite] 2018-02-07 Will Schmidt * gcc.target/powerpc/builtins-mergew-mergeow.c: Update dg-requires. diff --git a/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c b/gcc/testsuite/gcc.target/powerpc/builtins-mergew-mergow.c index 24df2cf..51c8701 1

[PATCH, rs6000] fix vsxcopy test for power9

2018-02-07 Thread Will Schmidt
, -Will [testsuite] 2018-02-07 Will Schmidt * gcc.target/powerpc/vsxcopy.c: Update scan-assembler stanzas. diff --git a/gcc/testsuite/gcc.target/powerpc/vsxcopy.c b/gcc/testsuite/gcc.target/powerpc/vsxcopy.c index fbe3c67..f877471 100644 --- a/gcc/testsuite/gcc.target/powerpc/vsxcopy.c

[PATCH, rs6000] Update vsx-vector-6-le.c tests for p9 target

2018-02-07 Thread Will Schmidt
[testsuite] 2018-02-07 Will Schmidt * gcc.target/powerpc/vsx-vector-6-le.c: Update CPU target. * gcc.target/powerpc/vsx-vector-6-le.p9.c: New. diff --git a/gcc/testsuite/gcc.target/powerpc/vsx-vector-6-le.c b/gcc/testsuite/gcc.target/powerpc/vsx-vector-6-le.c index ddb0089

Re: [PATCH, rs6000] fix vsxcopy test for power9

2018-02-07 Thread Will Schmidt
On Wed, 2018-02-07 at 12:02 -0600, Segher Boessenkool wrote: > Hi, > > On Wed, Feb 07, 2018 at 10:59:46AM -0600, Will Schmidt wrote: > > Noted during review of test results on P9. The vsxcopy.c test is looking > > for lxvd2x, stxvd2x instructions in generated code. Fo

Re: [PATCH, rs6000] Update vsx-vector-6-le.c tests for p9 target

2018-02-07 Thread Will Schmidt
On Wed, 2018-02-07 at 12:28 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Feb 07, 2018 at 11:16:12AM -0600, Will Schmidt wrote: > > Noted during review of test results on P9. Due to changes and > > improvements, > > our codegen is different for this test

[PATCH, rs6000] (v2) Update vsx-vector-6-le.c tests

2018-02-09 Thread Will Schmidt
the test results. Sniff-tested good, now runs clean on P9 where it did not before. Runs clean on P8LE, P8BE, P7. OK for trunk? Thanks, -Will [testsuite] 2018-02-09 Will Schmidt * gcc.target/powerpc/vsx-vector-6-le.c: Update dg-* stanzas. * gcc.target/powerpc/vsx

Re: [PATCH, rs6000] Update vsx-vector-6-le.c tests for p9 target

2018-02-09 Thread Will Schmidt
On Wed, 2018-02-07 at 12:28 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Feb 07, 2018 at 11:16:12AM -0600, Will Schmidt wrote: > > Noted during review of test results on P9. Due to changes and > > improvements, > > our codegen is different for this test

Re: [PATCH, rs6000] PR84220 fix altivec_vec_sld and vec_sldw intrinsic definitions

2018-02-09 Thread Will Schmidt
On Thu, 2018-02-08 at 17:48 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Feb 07, 2018 at 09:14:59AM -0600, Will Schmidt wrote: > > Our VEC_SLD definitions were mistakenly allowing the third argument to be > > of an invalid type, triggering an ICE (on invalid cod

[PATCH, rs6000] fix-up le-altivec-const.c and altivec-const.c tests

2018-02-12 Thread Will Schmidt
systems. This fixes "scan-assembler-not lvx" failure as seen in testresults from LE systems. OK for trunk? Thanks -Will [testsuite] 2018-02-12 Will Schmidt * gcc.target/powerpc/altivec-consts.c: Update compile stanzas. * gcc.target/powerpc/le-altivec-consts.c

Re: [PATCH, rs6000] PR84220 fix altivec_vec_sld and vec_sldw intrinsic definitions

2018-02-13 Thread Will Schmidt
On Thu, 2018-02-08 at 17:48 -0600, Segher Boessenkool wrote: > Hi! > > On Wed, Feb 07, 2018 at 09:14:59AM -0600, Will Schmidt wrote: > > Our VEC_SLD definitions were mistakenly allowing the third argument to be > > of an invalid type, triggering an ICE (on invalid cod

[PATCH, rs6000] (v2) PR84220 remove RS6000_BTI_NOT_OPAQUE refs from builtins table

2018-02-13 Thread Will Schmidt
s found by Peter Bergner while working another issue. Sniff-tests passed on P8. Doing larger reg-test across power systems now. OK for trunk? Thanks, -Will [gcc] 2018-02-13 Will Schmidt PR target/84220 * config/rs6000/rs6000-c.c: Update defin

Re: [PATCH, rs6000] (v2) PR84220 remove RS6000_BTI_NOT_OPAQUE refs from builtins table

2018-02-14 Thread Will Schmidt
On Wed, 2018-02-14 at 04:53 -0600, Segher Boessenkool wrote: > Hi! > > On Tue, Feb 13, 2018 at 05:40:08PM -0600, Will Schmidt wrote: > > Some of our builtin definitions were allowing invalid parameters, and a > > subsequent ICE (on invalid code) were the result. This

[gcc-7 backport PATCH, rs6000/PR84388] fix fold-vec-mult-int128 testcases

2018-02-14 Thread Will Schmidt
Hi, This backports some testcase fixes to the gcc7 branch. The testcases touched here would now match their gcc-trunk equivalents. OK for gcc-7 ? Thanks, -Will [testsuite] 2018-02-14 Will Schmidt PR target/84388 * gcc.target/powerpc/fold-vec-mult-int128-p8.c: Update

[PATCH, rs6000] PR84371 Update builtins-3*.c tests for power9 codegen

2018-02-15 Thread Will Schmidt
across systems looks good. Will kick off a regtest in clean environments shortly. OK for trunk? (and gcc-7 backport)? Thanks -Will [testsuite] 2018-02-15 Will Schmidt target/pr84371 * gcc.target/powerpc/builtins-3-p8.c: Update stanzas. * gcc.target/powerpc

[PATCH, rs6000] fold-vec-mult* testcase updates for power9

2018-02-21 Thread Will Schmidt
Hi, An update for the fold-vec-mult-int128-p9.c test to include more of the instructions generated for a vec_mul() with a power9 target. [testsuite] 2018-02-21 Will Schmidt * fold-vec-mult-int128-p9.c: Add maddld insn to expected output. diff --git a/gcc/testsuite

[PATCH, rs6000] Update altivec-7 testcase(s).

2018-02-21 Thread Will Schmidt
Hi, This patch moves the vsx related content from the altivec-7-be test into a new vsx-7-be test. This fixes up some test failures as seen on older power systems. OK for trunk? Thanks, Will [testsuite] 2018-02-21 Will Schmidt * gcc.target/powerpc/altivec-7-be.c: Remove VSX

[PATCH, rs6000] tighten target statements for a p8 and p9 specific tests

2018-02-21 Thread Will Schmidt
Hi, Update the dg-requires statements for these tests to specify the target. These tests may otherwise fail on a system missing p9 assembler support. (Seen in a p6 environment). OK for trunk? Thanks, -Will [testsuite] 2018-02-21 Will Schmidt * gcc.target/powerpc/pr80695-p8.c

Re: [PATCH, rs6000] Update altivec-7 testcase(s).

2018-02-23 Thread Will Schmidt
On Thu, 2018-02-22 at 12:06 -0600, Segher Boessenkool wrote: > Hi Will, > > On Wed, Feb 21, 2018 at 11:33:14AM -0600, Will Schmidt wrote: > > This patch moves the vsx related content from the altivec-7-be test into > > a new vsx-7-be test. > > This fixes up some tes

[PATCH, rs6000] (v2) Update altivec-7 testcase(s).

2018-02-27 Thread Will Schmidt
test. Updated scan-assembler stanzas to accommodate codegen variations involving lxvd2x in BE versus LE versus P9.Sniff tested across p6-p9 systems with -m32,-m64. Test currently runs clean. This fixes up results as seen on some power systems. [testsuite] 2018-02-27 Will Schmidt

[gcc-7 backport PATCH, rs6000/pr84371] Update butilins-3*.c tests for power9 codegen.

2018-03-02 Thread Will Schmidt
Hi, This is a backport of the relevant pieces to fix pr84371 (builtins-3.c fails on Power9) in the gcc-7 branch. sniff-tested OK on p7,p8,p9. OK for backport to gcc-7 ? Thanks, -Will [testsuite] 2018-03-02 Will Schmidt Backport from trunk. PR target/84371

[PATCH, rs6000] fix PR87021 (fold-vec-splat-*.c tests)

2018-09-07 Thread Will Schmidt
s for the rest of the tests have been simplified, corrected, commented. This appears to now run clean across the sampling of hardware I have handy. (p7,p8,p9). OK for trunk? Thanks, -Will [testsuite] 2018-09-07 Will Schmidt * fold-vec-splat-char.h: New. Common parts for splat-char

[PATCH, rs6000] fix PR86952 (p8-vec-xl-*.c tests)

2018-09-07 Thread Will Schmidt
-09-06 Will Schmidt pr86952/testsuite * p8-vec-xl-xst-v2.c: Add and update expected codegen. diff --git a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c index cc68ceb..7327af7 100644 --- a/gcc/testsuite/gcc.target/powerpc

Re: [PATCH, rs6000] fix PR86952 (p8-vec-xl-*.c tests)

2018-09-11 Thread Will Schmidt
On Fri, 2018-09-07 at 16:54 -0500, Segher Boessenkool wrote: > Hi! > > On Fri, Sep 07, 2018 at 04:27:34PM -0500, Will Schmidt wrote: > > The expected instructions for this test (p8-vec-xl-*) were incorrect for > > some > > of the power targets. Add codegen variations

Re: [PATCH, rs6000] fix PR86952 (p8-vec-xl-*.c tests)

2018-09-11 Thread Will Schmidt
On Tue, 2018-09-11 at 13:20 -0500, Segher Boessenkool wrote: > Hi again, > > On Tue, Sep 11, 2018 at 10:04:45AM -0500, Will Schmidt wrote: > > On Fri, 2018-09-07 at 16:54 -0500, Segher Boessenkool wrote: > > > On Fri, Sep 07, 2018 at 04:27:34PM -0500, Will Schmidt wrote

  1   2   3   4   5   >