Re: [PATCH, rs6000] Fix PR61542 - V4SF vector extract for little endian

2014-06-26 Thread Bill Schmidt
Bernd, thanks. At this point I think I will avoid opening this can of worms and not worry about backporting the test case. Thanks, Bill On Wed, 2014-06-18 at 19:18 +0200, Bernd Edlinger wrote: Hi, On Wed, 18 Jun 2014 09:56:15, David Edelsohn wrote: On Tue, Jun 17, 2014 at 6:44 PM, BIll

[PATCH, rs6000] Remove XFAIL of gfortran.dg/nint_2.f90 for powerpc64le

2014-06-26 Thread Bill Schmidt
the wild-carding to exclude it. Is this OK for trunk, 4.9, and 4.8? Thanks, Bill 2014-06-26 Bill Schmidt wschm...@linux.vnet.ibm.com * gfortran.dg/nint_2.f90: Don't XFAIL for powerpc64le-*-linux*. Index: gcc/testsuite/gfortran.dg/nint_2.f90

[PATCH, rs6000, testsuite] Skip gfortran.dg/round_4.f90 for PowerPC Linux

2014-06-29 Thread Bill Schmidt
is supported by the PowerPC port, we should revisit this. Is this ok for trunk and 4.9? Thanks, Bill 2014-06-29 Bill Schmidt wschm...@linux.vnet.ibm.com * gfortran.dg/round_4.f90: Skip for powerpc*-*-linux* since the test requires greater precision than the current PowerPC long

[PATCH, rs6000, committed] Fix unspec typo

2014-07-20 Thread Bill Schmidt
Hi, UNSPEC_VSLDOI was misspelled. It bothered me. I fixed it. Regstrapped on powerpc64le-unknown-linux-gnu, committed as obvious. Thanks, Bill 2014-07-20 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI

[PATCH, rs6000] Fix PR63673 -- missing prototype for vec_vsx_ld/vec_vsx_st

2014-11-20 Thread Bill Schmidt
. This patch corrects the problem both for vec_vsx_ld and vec_vsx_st. Bootstrapped and tested on powerpc64-unknown-linux-gnu with no regressions. Ok for trunk, 4.9, and 4.8? Thanks, Bill 2014-11-20 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000-c.c (altivec_overloaded_builtins

[PATCH, rs6000, committed] Fix effective target in gcc.target/powerpc/pr63335.c

2014-09-26 Thread Bill Schmidt
2014-09-26 Bill Schmidt wschm...@linux.vnet.ibm.com * gcc.target/powerpc/pr63335.c: Change effective target to vsx_hw. Index: gcc/testsuite/gcc.target/powerpc/pr63335.c === --- gcc/testsuite/gcc.target/powerpc

[PATCH, rs6000] Remove splat calls with out-of-range arguments from gcc.dg/vmx/ops.c

2014-09-29 Thread Bill Schmidt
-unknown-linux-gnu. Ok to commit? Thanks, Bill 2014-09-29 Bill Schmidt wschm...@vnet.linux.ibm.com * gcc.dg/vmx/ops.c: Remove calls to vec_splat, vec_vsplth, vec_vspltw, and vec_vspltb for which the second argument is out of range. Index: gcc/testsuite/gcc.dg/vmx/ops.c

[PATCH, rs6000, libcpp] Revise search_line_fast to avoid old unaligned load sequences

2014-09-29 Thread Bill Schmidt
is an excellent test of search_line_fast(), and that appears to be all we do at present for the existing implementations. Bootstrapped and tested on powerpc64le-unknown-linux-gnu and powerpc64-unknown-linux-gnu with no new regressions. Is this ok for trunk? Thanks, Bill 2014-09-29 Bill Schmidt wschm

[PATCH, rs6000] Warn for deprecated use of vec_lvsl and vec_lvsr for little endian

2014-09-29 Thread Bill Schmidt
. Is this ok for trunk? Thanks, Bill [gcc] 2014-09-29 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Issue a warning message when vec_lvsl or vec_lvsr is used with a little endian target. [gcc/testsuite] 2014-09

[PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code

2014-09-29 Thread Bill Schmidt
. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill [gcc] 2014-09-29 Bill Schmidt wschm...@linux.vnet.ibm.com * altivec.md (altivec_lvsl): New define_expand. (altivec_lvsl_direct): Rename define_insn from altivec_lvsl

Re: [PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code

2014-09-30 Thread Bill Schmidt
On Tue, 2014-09-30 at 09:50 -0500, Segher Boessenkool wrote: On Mon, Sep 29, 2014 at 05:26:14PM -0500, Bill Schmidt wrote: The method used in this patch is to perform a byte-reversal of the result of the lvsl/lvsr. This is accomplished by loading the vector char constant {0,1,...,15

Re: [PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code

2014-09-30 Thread Bill Schmidt
On Tue, 2014-09-30 at 11:04 -0500, Segher Boessenkool wrote: On Tue, Sep 30, 2014 at 10:24:23AM -0500, Bill Schmidt wrote: On Tue, 2014-09-30 at 09:50 -0500, Segher Boessenkool wrote: On Mon, Sep 29, 2014 at 05:26:14PM -0500, Bill Schmidt wrote: The method used in this patch

Re: [PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code

2014-10-02 Thread Bill Schmidt
Hi, Here's a revised version of the patch that addresses Segher's comments. Bootstrapped and tested on powerpc64le-unknown-linux-gnu. Ok for trunk? Thanks, Bill [gcc] 2014-10-02 Bill Schmidt wschm...@linux.vnet.ibm.com * altivec.md (altivec_lvsl): New define_expand

[PATCH, rs6000] Document issues with permutes for analyze_swaps

2014-10-05 Thread Bill Schmidt
on powerpc64le-unknown-linux-gnu. Is this ok for trunk? Thanks, Bill 2014-10-05 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (analyze_swaps commentary): Add discussion of permutes and why we don't handle them. Index: gcc/config/rs6000/rs6000.c

Re: [PATCH, rs6000] Remove splat calls with out-of-range arguments from gcc.dg/vmx/ops.c

2014-10-05 Thread Bill Schmidt
Edelsohn wrote: On Mon, Sep 29, 2014 at 1:27 PM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: Hi, While working on another patch, I observed that the test case gcc.dg/vmx/ops.c contains numerous calls to vec_splat and friends for which the second argument (the element selector) is out

[4.8, PATCH 27/26] Backport Power8 and LE support: Fixes for AIX test failures

2014-04-02 Thread Bill Schmidt
Hi, This patch (diff-aix) adds to the 4.8 PowerPC backport patch series with a few backported fixes from trunk that repair test failures on AIX. Thanks, Bill [gcc] 2014-04-02 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r205308 2013-11-23 David Edelsohn

[PATCH, committed] Fix PR60733

2014-04-02 Thread Bill Schmidt
. Bootstrapped and tested on powerpc64-unknown-linux-gnu with no new regressions; committed. Thanks, Bill [gcc] 2014-04-02 Bill Schmidt wschm...@linux.vnet.ibm.com PR tree-optimization/60733 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required insertion point

[4.8, PATCH 28/26] Backport Power8 and LE support: Fix for SPE (PR60735)

2014-04-03 Thread Bill Schmidt
Hi, This patch (diff-pr60735) adds to the 4.8 PowerPC backport patch series with a backported fix for PR60735, an unrecognized insn problem for SPE. Thanks, Bill [gcc] 2014-04-03 Bill Schmidt wschm...@linux.vnet.ibm.com Back port mainline subversion id 209025. 2014-04-02

[4.8, PATCH 29/26] Backport Power8 and LE support: Document vec_vgbbd

2014-04-03 Thread Bill Schmidt
, and will then be ready to commit the series. Thanks, Bill [gcc] 2014-04-03 Bill Schmidt wschm...@linux.vnet.ibm.com Back port from main line: 2014-04-01 Michael Meissner meiss...@linux.vnet.ibm.com * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): Document

Re: [4.8, PATCH 29/26] Backport Power8 and LE support: Document vec_vgbbd

2014-04-03 Thread Bill Schmidt
On Thu, 2014-04-03 at 13:01 -0500, Bill Schmidt wrote: I'm currently doing one more quick round of testing with the three late-addition patches, and will then be ready to commit the series. Final tests have all passed (BE Linux, LE Linux, BE AIX). Thanks, Bill

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-04-04 Thread Bill Schmidt
-pr60137-pr60203 209112 24/26 diff-reload 209113 25/26 diff-v1ti 209114 26/26 diff-trunk-missing 209115 27/26 diff-aix 209116 28/26 diff-pr60735 209117 29/26 diff-vecdoc Thanks, Bill On Thu, 2014-04-03 at 10:24 -0400, David Edelsohn wrote: On Wed, Mar 19, 2014 at 3:23 PM, Bill Schmidt

[4.8, PATCH, rs6000] (Re: [PATCH, rs6000] More efficient vector permute for little endian)

2014-04-04 Thread Bill Schmidt
On Thu, 2014-03-20 at 20:38 -0500, Bill Schmidt wrote: The original workaround for vector permute on a little endian platform includes subtracting each element of the permute control vector from 31. Because the upper 3 bits of each element are unimportant, this was implemented as subtracting

Re: [4.8, PATCH, rs6000] (Re: [PATCH, rs6000] More efficient vector permute for little endian)

2014-04-07 Thread Bill Schmidt
Hi, I'm withdrawing this request as I just discovered it will sometimes be advantageous to use vnand rather than vnor; will rework this and get back to you. Thanks, Bill On Fri, 2014-04-04 at 15:45 -0500, Bill Schmidt wrote: On Thu, 2014-03-20 at 20:38 -0500, Bill Schmidt wrote: The original

[PATCH, rs6000] Prefer vnand/vperm over vnor/vperm for Power8

2014-04-08 Thread Bill Schmidt
, if you feel that is appropriate. Please let me know. Thanks, Bill 2014-04-08 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand instead of vnor to exploit possible fusion opportunity in the future

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-04-09 Thread Bill Schmidt
On Wed, 2014-04-09 at 11:51 +0200, Jakub Jelinek wrote: On Fri, Apr 04, 2014 at 10:38:49AM -0500, Bill Schmidt wrote: Thanks to everyone who helped with development, testing, and review of the patch set! I've committed the changes to 4.8 this morning. Note that patch 15/26 was rejected

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-04-09 Thread Bill Schmidt
On Wed, 2014-04-09 at 12:03 +0200, Jakub Jelinek wrote: Another issue is bad toplevel ChangeLog entries. 2014-04-04 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-11-22 Ulrich Weigand ulrich.weig...@de.ibm.com * libgo/config/libtool.m4: Update

Re: [PATCH, rs6000] Improve atomic_load/store code gen for Power8 TI mode

2014-04-09 Thread Bill Schmidt
On Tue, 2014-04-08 at 13:39 -0500, Pat Haugen wrote: On 03/25/2014 11:20 AM, Pat Haugen wrote: Power8 can use lq/stq instructions for TI mode atomic_load/store. Bootstrap/regtest with no new failures. Ok for trunk and 4.8 (once bootstrap/regtest finishes)? -Pat 2014-03-25 Pat

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-04-09 Thread Bill Schmidt
Cleaned up as r209249. On Wed, 2014-04-09 at 17:28 +0200, Jakub Jelinek wrote: On Wed, Apr 09, 2014 at 10:27:33AM -0500, Bill Schmidt wrote: Ah, right. I had meant to fix this before committing the patch set and dropped the ball. Thanks. One question: Where are ChangeLog entries

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-04-09 Thread Bill Schmidt
Cleaned up as r209250. On Wed, 2014-04-09 at 11:51 +0200, Jakub Jelinek wrote: On Fri, Apr 04, 2014 at 10:38:49AM -0500, Bill Schmidt wrote: Thanks to everyone who helped with development, testing, and review of the patch set! I've committed the changes to 4.8 this morning. Note

Re: [PATCH, rs6000] Improve atomic_load/store code gen for Power8 TI mode

2014-04-09 Thread Bill Schmidt
On Wed, Apr 9, 2014 at 2:56 PM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: On Tue, 2014-04-08 at 13:39 -0500, Pat Haugen wrote: On 03/25/2014 11:20 AM, Pat Haugen wrote: Power8 can use lq/stq instructions for TI mode atomic_load/store. Bootstrap/regtest with no new failures. Ok

[PATCH, rs6000, 4.8, 4.9, trunk] Fix little endian behavior of vec_merge[hl] for V4SI/V4SF with VSX

2014-04-17 Thread Bill Schmidt
] 2014-04-17 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vsx.md (vsx_xxmrghw_mode): Adjust for little-endian. (vsx_xxmrglw_mode): Likewise. [gcc/testsuite] 2014-04-17 Bill Schmidt wschm...@linux.vnet.ibm.com * gcc.dg/vmx/merge-vsx.c: Add V4SI

[PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-04-21 Thread Bill Schmidt
-gnu with no regressions. Is this ok for trunk? Thanks, Bill [gcc] 2014-04-21 Bill Schmidt wschm...@linux.vnet.ibm.com * simplify-rtx.c (simplify_binary_operation_1): Optimize case of nested VEC_SELECTs that are inverses of each other. [gcc/testsuite] 2014-04-21 Bill

Re: [PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-04-21 Thread Bill Schmidt
Hi Marc, Good points! I will rework the patch with your suggestions in mind. Thanks! Bill On Mon, 2014-04-21 at 18:51 +0200, Marc Glisse wrote: On Mon, 21 Apr 2014, Bill Schmidt wrote: Note that it would be possible to do a more general transformation here, in which any vec_select

Re: [PATCH 33/89] Use more concrete types for various gimple statements

2014-04-21 Thread Bill Schmidt
Hi David, Just a quick review of the gimple-ssa-strength-reduction.c changes. I have one stylistic comment: On Mon, 2014-04-21 at 12:57 -0400, David Malcolm wrote: diff --git a/gcc/gimple-ssa-strength-reduction.c b/gcc/gimple-ssa-strength-reduction.c index 9320b51..35e15e0 100644 ---

Re: [PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-04-21 Thread Bill Schmidt
Hi, Here's a revised patch in response to Marc's comments. Again, bootstrapped and tested on powerpc64[,le]-unknown-linux-gnu. Is this ok for trunk? Thanks, Bill [gcc] 2014-04-21 Bill Schmidt wschm...@linux.vnet.ibm.com * simplify-rtx.c (simplify_binary_operation_1): Optimize

Re: [PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-04-21 Thread Bill Schmidt
On Mon, 2014-04-21 at 13:48 -0700, Richard Henderson wrote: On 04/21/2014 01:19 PM, Bill Schmidt wrote: + if (GET_CODE (trueop0) == VEC_SELECT + GET_MODE (XEXP (trueop0, 0)) == mode) + { + rtx op0_subop1 = XEXP (trueop0, 1); + gcc_assert (GET_CODE (op0_subop1

Re: [PATCH] Simplify a VEC_SELECT fed by its own inverse

2014-04-22 Thread Bill Schmidt
Hi, Below is the revised patch addressing Richard's concerns about the assertions. Bootstrapped and tested on powerpc64[,le]-unknown-linux-gnu. Ok for trunk? Thanks, Bill [gcc] 2014-04-22 Bill Schmidt wschm...@linux.vnet.ibm.com * simplify-rtx.c (simplify_binary_operation_1

[PATCH] Fix PR60930

2014-04-24 Thread Bill Schmidt
equally to 4.8, 4.9, and trunk. Is this ok for trunk (and for 4.8/4.9 after a suitable burn-in period)? Thanks, Bill [gcc] 2014-04-24 Bill Schmidt wschm...@linux.vnet.ibm.com PR tree-optimization/60930 * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject

Re: [PATCH] Fix PR60930

2014-04-25 Thread Bill Schmidt
On Fri, 2014-04-25 at 10:59 +0200, Richard Biener wrote: On Fri, 25 Apr 2014, Jakub Jelinek wrote: On Thu, Apr 24, 2014 at 09:20:50PM -0600, Jeff Law wrote: PR tree-optimization/60930 * gcc.dg/torture/pr60930.c: New test. Doesn't the test depend on long long being at least 64

[PATCH PING] Simplify a VEC_SELECT fed by its own inverse

2014-04-29 Thread Bill Schmidt
Hi, I'd like to ping this patch: http://gcc.gnu.org/ml/gcc-patches/2014-04/msg01319.html Thanks! Bill -- Bill Schmidt, Ph.D. IBM Advance Toolchain for PowerLinux IBM Linux Technology Center wschm...@linux.vnet.ibm.com wschm...@us.ibm.com

[PATCH PING^2] Simplify a VEC_SELECT fed by its own inverse

2014-05-19 Thread Bill Schmidt
Hi, I'd like to once again ping this patch from 2014-04-22: http://gcc.gnu.org/ml/gcc-patches/2014-04/msg01319.html Thanks! Bill

Re: -fuse-caller-save - Collect register usage information

2014-05-28 Thread Bill Schmidt
Tom, the final version of this patch that you committed breaks bootstrap on powerpc64le-linux-gnu. The problem is that all uses of the variable i are guarded by #ifdef STACK_REGS, but the declaration of i is unconditional. We get an unused variable warning that becomes an error during stage 3.

[PATCH, rs6000] Fix PR61542 - V4SF vector extract for little endian

2014-06-17 Thread BIll Schmidt
Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element extraction other than index 3. Index: gcc/config/rs6000/vsx.md === --- gcc/config/rs6000/vsx.md(revision

Re: [PATCH, rs6000] Implement -maltivec=be for vec_mergeh and vec_mergel Altivec builtins

2014-01-28 Thread Bill Schmidt
-0600, Bill Schmidt wrote: Hi, This patch continues the series of changes to the Altivec builtins to accommodate big-endian element order when targeting a little endian machine. Here the focus is on the vector merge-high and merge-low operations. The primary change is in altivec.md

[PATCH, rs6000] Implement -maltivec=be for vec_splat builtins

2014-01-29 Thread Bill Schmidt
test cases require adjustment because of the change in the default semantics of vec_splat for little endian. Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no regressions. Ok for trunk? Thanks, Bill gcc: 2014-01-29 Bill Schmidt wschm...@linux.vnet.ibm.com * gcc

[PATCH, rs6000] Clean up mergeh/mergel patterns to avoid missed optimizations

2014-01-30 Thread Bill Schmidt
2014-01-30 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vsx.md (vsx_mergel_mode): Remove use specifications; add DONE. (vsx_mergeh_mode): Likewise. * config/rs6000/altivec.md (altivec_vmrghb): Likewise. (altivec_vmrghh): Likewise

[PATCH, rs6000] Handle -maltivec=be on little endian for vec_sums

2014-01-30 Thread Bill Schmidt
for BE, LE, and LE with -maltivec=be. Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill gcc: 2014-01-30 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec

Re: [PATCH, rs6000] Handle -maltivec=be on little endian for vec_sums

2014-01-30 Thread Bill Schmidt
On Thu, 2014-01-30 at 20:42 -0600, Bill Schmidt wrote: Hi, This patch adds logic for -maltivec=be with a little endian target when generating code for the vec_sums builtin. This implements the vsumsws instruction, which adds the four elements in the first input vector operand to element 3

[PATCH, rs6000] Support -maltivec=be in LE mode for vec_perm builtin

2014-01-31 Thread Bill Schmidt
with no regressions. Is this ok for trunk? Thanks, Bill gcc: 2014-01-31 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize for vector types other than V16QImode. * config/rs6000/altivec.md (altivec_vperm_mode): Change

[PATCH, rs6000] Implement -maltivec=be for vec_pack, vec_unpackh, vec_unpackl Altivec builtins

2014-02-04 Thread Bill Schmidt
these builtins for all applicable vector types, with and without -maltivec=be. Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill gcc: 2014-02-04 Bill Schmidt wschm...@linux.vnet.ibm.com * altivec.md

[PATCH, rs6000] Handle -maltivec=be for vec_sum2s builtin (last -maltivec=be patch)

2014-02-04 Thread Bill Schmidt
Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code generation for -maltivec=be. (altivec_vsumsws): Simplify redundant test. gcc/testsuite: 2014-02-04 Bill Schmidt wschm...@linux.vnet.ibm.com * gcc.dg/vmx/sum2s.c

[PATCH, rs6000] Fix powerpc64le-linux bootstrap failure with -mcpu=power8

2014-02-16 Thread Bill Schmidt
-gnu configured both with -mcpu=power7 and with -mcpu=power8 with no regressions. The Power8 LE bootstrap now completes cleanly. Is this ok for trunk? Thanks, Bill 2014-02-16 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vsx.md (vsx_xxpermdi_mode): Handle little

[PATCH, rs6000] Provide little-endian support for vmrgew and vmrgow

2014-02-16 Thread Bill Schmidt
to completion. Is this ok for trunk? Thanks, Bill 2014-02-16 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets. (p8_vmrgow): Likewise. Index: gcc/config/rs6000/altivec.md

[PATCH, rs6000, committed] Most significant bit of zero is not one.

2014-02-19 Thread Bill Schmidt
and tested for powerpc64le-unknown-linux-gnu with no regressions. Committed as obvious. Thanks, Bill 2014-02-19 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (vspltis_constant): Fix most significant bit of zero. Index: gcc/config/rs6000/rs6000.c

[PATCH, rs6000] vec_sums must define all result vector elements

2014-02-21 Thread Bill Schmidt
in this patch as well. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Bootstrap and regression test on powerpc64-unknown-linux-gnu is in progress. If no big-endian regressions are found, is this ok for trunk? Thanks, Bill gcc: 2014-02-21 Bill Schmidt wschm

[PATCH,rs6000] Add -maltivec=be support for vec_lde and vec_ste

2014-02-22 Thread Bill Schmidt
. Is this ok for trunk? Thanks, Bill gcc: 2014-02-22 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.md (altivec_lveVI_charx): Replace define_insn with define_expand and new define_insn *altivec_lveVI_charx_internal. (altivec_stveVI_charx

[PATCH, rs6000] Canonicalize split for ordered and unordered vector compares

2014-02-24 Thread Bill Schmidt
and tested on powerpc64{,le}-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill 2014-02-24 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vector.md (*vector_orderedmode): Change split to use canonical form for normode3. (*vector_unorderedmode

Re: [PATCH, rs6000] Canonicalize split for ordered and unordered vector compares

2014-02-24 Thread Bill Schmidt
Whoops, just noticed the obvious error in the patch. Must have crossed my eyes and seen a not that wasn't there. Will re-fix shortly. Bill On Mon, 2014-02-24 at 18:41 -0600, Bill Schmidt wrote: Hi, The patterns *vector_orderedmode and *vector_unorderedmode perform a split that's intended

[PATCH, rs6000] Canonicalize split for unordered vector compares

2014-02-24 Thread Bill Schmidt
}-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill 2014-02-24 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vector.md (*vector_unorderedmode): Change split to use canonical form for normode3. Index: gcc/config/rs6000/vector.md

Re: [PATCH, rs6000] Canonicalize split for unordered vector compares

2014-02-25 Thread Bill Schmidt
. Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill 2014-02-24 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/vector.md (*vector_unorderedmode): Change split to use canonical form

Re: [PATCH, rs6000] Canonicalize split for unordered vector compares

2014-02-25 Thread Bill Schmidt
On Tue, 2014-02-25 at 11:23 -0500, David Edelsohn wrote: On Tue, Feb 25, 2014 at 10:15 AM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: Hi David, Thanks. I have this upstream for mainline now. This problem appears to have been introduced in GCC 4.6. Is it ok to backport this fix

[PATCH, rs6000] Restrict reload use of FLOAT_REGS

2014-02-28 Thread Bill Schmidt
-gnu (--with-cpu=power7) with no regressions. Is this ok for trunk? Thanks, Bill 2014-02-28 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow PLUS rtx's from reloading into a superset of FLOAT_REGS; relax

[PATCH, rs6000] Document reserved use of wc constraint

2014-02-28 Thread Bill Schmidt
2014-02-28 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/constraints.md: Document reserved use of wc. Index: gcc/config/rs6000/constraints.md === --- gcc/config/rs6000/constraints.md(revision 208237

Re: [PATCH, rs6000] Restrict reload use of FLOAT_REGS

2014-03-03 Thread Bill Schmidt
wrote: David Edelsohn wrote: On Fri, Feb 28, 2014 at 7:11 PM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow PLUS rtx's from reloading into a superset of FLOAT_REGS; relax constraint on constants

[PATCH, libsanitizer] Disable for PowerPC little endian for now

2014-03-03 Thread Bill Schmidt
on powerpc64le-unknown-linux-gnu, verifying that libsanitizer is not built. Also bootstrapped and tested on powerpc64-unknown-linux-gnu, verifying that libsanitizer is built normally. Is this ok for trunk? Thanks, Bill 2014-03-03 Bill Schmidt wschm...@linux.vnet.ibm.com * configure.tgt

[PATCH, rs6000, committed] Change vector long to vector long long in recently added tests

2014-03-04 Thread Bill Schmidt
for a handful that are failing on AIX for another reason). Committed as obvious (in retrospect :). Thanks, Bill 2014-03-04 Bill Schmidt wschm...@linux.vnet.ibm.com * gcc.dg/vmx/extract-vsx.c: Replace vector long with vector long long throughout. * gcc.dg/vmx/extract-vsx

Re: [4.8, PATCH 5/26] Backport Power8 and LE support: Test adjustments

2014-03-19 Thread Bill Schmidt
Oops. Please ignore this for now. I'm preparing a patch series and sent this one prematurely. Thanks, Bill On Wed, 2014-03-19 at 10:25 -0500, Bill Schmidt wrote: Hi, This patch (diff-le-tests) backports adjustments to a few tests for powerpc64le and the ELFv2 ABI. Thanks, Bill

[4.8, PATCH 5/26] Backport Power8 and LE support: Test adjustments

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-tests) backports adjustments to a few tests for powerpc64le and the ELFv2 ABI. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-11-27 Bill Schmidt wschm...@linux.vnet.ibm.com * gfortran.dg/nan_7

[4.8, PATCH 0/26] Backport Power8 and LE support

2014-03-19 Thread Bill Schmidt
Hi, Support for Power8 features and the new powerpc64le-linux-gnu target, including the ELFv2 ABI, has been developed up till now on the ibm/gcc-4_8-branch. It was appropriate to use this separate branch while the support was unstable, but this branch will not represent a particularly good

[4.8, PATCH 3/26] Backport Power8 and LE support: Configury bits 1

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-config) backports updates to more recent config.guess and config.sub versions to support the new powerpc64le target. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r203071: 2013-10-01 Joern Rennecke

[4.8, PATCH 5/26] Backport Power8 and LE support: Test adjustments

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-tests) backports adjustments to a few tests for powerpc64le and the ELFv2 ABI. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-11-27 Bill Schmidt wschm...@linux.vnet.ibm.com * gfortran.dg/nan_7

[4.8, PATCH 8/26] Backport Power8 and LE support: PR57949

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-abi-compat) backports the ABI compatibility fix for PR57949. Thanks, Bill [gcc] 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r201750. 2013-11-15 Ulrich Weigand ulrich.weig...@de.ibm.com Note: Default setting

[4.8, PATCH 9/26] Backport Power8 and LE support: ABI call support

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-abi-calls) backports fixes to common code to support the new ELFv2 ABI. Copying Richard and Jakub for these bits. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r204798: 2013-11-14 Ulrich Weigand ulrich.weig

[4.8, PATCH 11/26] Backport Power8 and LE support: gotest

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-abi-gotest) backports enablement of the Go testsuite for powerpc64le. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r205000. 2013-11-19 Ulrich Weigand ulrich.weig...@de.ibm.com gotest: Recognize PPC

[4.8, PATCH 12/26] Backport Power8 and LE support: Defaults

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-align) sets some miscellaneous defaults for little endian support. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Apply mainline r205060. 2013-11-20 Alan Modra amo...@gmail.com * config/rs6000/sysv4.h

[4.8, PATCH 14/26] Backport Power8 and LE support: DFP absolute value

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-dfp-abs) backports some unrelated but necessary work to enable the DFP absolute value builtins. Copying Jakub who was involved with the original patch. Thanks, Bill 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-08-19

[4.8, PATCH 17/26] Backport Power8 and LE support: Direct moves

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-direct-move) backports support for the Power8 direct move instructions for little endian. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-10-23 Pat Haugen pthau...@us.ibm.com * gcc.target/powerpc

[4.8, PATCH 6/26] Backport Power8 and LE support: TDmode for LE

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-dfp) backports fixes for TDmode on a little endian target. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r205123: 2013-11-20 Ulrich Weigand ulrich.weig...@de.ibm.com * config/rs6000/rs6000.c

[4.8, PATCH 4/26] Backport Power8 and LE support: Libtool and configure bits 2

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-libtool) backports changes to use a libtool.m4 that supports powerpc64le-*linux*. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-11-22 Ulrich Weigand ulrich.weig...@de.ibm.com * libgo/config

[4.8, PATCH 16/26] Backport Power8 and LE support: PR56843

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-pr56843) backports the fix for PR56843. Thanks, Bill [gcc] 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-04-05 Bill Schmidt wschm...@linux.vnet.ibm.com PR target/56843 * config/rs6000/rs6000.c

[4.8, PATCH 18/26] Backport Power8 and LE support: Configure bits 2

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-le-config-2) backports more configure changes, particularly for multilib/multiarch targeting powerpc64le. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Apply mainline r202190, powerpc64le multilibs and multiarch dir 2013-09-03 Alan

[4.8, PATCH 15/26] Backport Power8 and LE support: PR54537

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-pr54537) backports a fix for PR54537 which is unrelated but necessary. Copying Richard and Jakub for the common code. Thanks, Bill [libstdc++-v3] 2014-03-29 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2013-08-01 Fabien ChĂȘne fab

[4.8, PATCH 20/26] Backport Power8 and LE support: LRA

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-lra) backports the changes to enable -mlra for the PowerPC back end. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline 2014-02-04 Michael Meissner meiss...@linux.vnet.ibm.com * config/rs6000/rs6000.opt

[4.8, PATCH 26/26] Backport Power8 and LE support: Missing support

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-trunk-missing) backports some LE pieces that were found not to have been backported from trunk to the IBM 4.8 branch until relatively recently. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Back port from trunk 2013-04-25 Alan Modra

[4.8, PATCH 19/26] Backport Power8 and LE support: Quad memory atomic

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-quad-memory) backports support for quad-memory atomic operations. Thanks, Bill [gcc/testsuite] 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Back port from mainline 2014-01-23 Michael Meissner meiss...@linux.vnet.ibm.com PR target/59909

[4.8, PATCH 1/26 too big]

2014-03-19 Thread Bill Schmidt
Hi, The main patch for this series was too large for the mailer to accept. Sorry about that. This piece is all powerpc-related and seems to have been delivered to David ok. If anyone else wants a copy of the patch, please contact me privately and I'll send it your way. Thanks, Bill

[4.8, PATCH 24/26] Backport Power8 and LE support: Reload issues

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-reload) backports fixes for a couple of problems in PowerPC reload handling. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Apply mainline r207798 2014-02-26 Alan Modra amo...@gmail.com PR target/58675 PR target/57935

[4.8, PATCH 22/26] Backport Power8 and LE support: -mcall-* endianness

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-mcall) fixes big-endian assumptions for -mcall-aixdesc and various others. Thanks, Bill 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r207658 2014-02-06 Ulrich Weigand ulrich.weig...@de.ibm.com * config/rs6000

[4.8, PATCH 23/26] Backport Power8 and LE support: PR60137, PR60203

2014-03-19 Thread Bill Schmidt
Hi, This patch (diff-pr60137-pr60203) backports fixes for two little-endian vector mode problems. Thanks, Bill [gcc] 2014-03-19 Bill Schmidt wschm...@linux.vnet.ibm.com Backport from mainline r207699. 2014-02-11 Michael Meissner meiss...@linux.vnet.ibm.com PR

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-03-19 Thread Bill Schmidt
On Wed, 2014-03-19 at 21:05 +0100, Jakub Jelinek wrote: I guess the most important question is what guarantees there are that it won't affect non-powerpc* ports too much (my main concern is the 9/26 patch, plus the C++ FE / libstdc++ changes), and how much does this affect code generation and

Re: [4.8, PATCH 0/26] Backport Power8 and LE support

2014-03-19 Thread Bill Schmidt
On Wed, 2014-03-19 at 16:03 -0500, Bill Schmidt wrote: On Wed, 2014-03-19 at 21:05 +0100, Jakub Jelinek wrote: I guess the most important question is what guarantees there are that it won't affect non-powerpc* ports too much (my main concern is the 9/26 patch, plus the C++ FE / libstdc

[PATCH, rs6000] More efficient vector permute for little endian

2014-03-20 Thread Bill Schmidt
this can be done more efficiently with a vector nor operation. This patch makes that change. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill 2014-03-20 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c

Re: [PATCH 10/11][RS6000] Migrate reduction optabs to reduc_..._scal

2014-11-03 Thread Bill Schmidt
On Fri, 2014-10-24 at 19:49 -0400, David Edelsohn wrote: On Fri, Oct 24, 2014 at 8:06 AM, Alan Lawrence alan.lawre...@arm.com wrote: This migrates the reduction patterns in altivec.md and vector.md to the new names. I've not touched paired.md as I wasn't really sure how to fix that (how do

Re: [PATCH 10/11][RS6000] Migrate reduction optabs to reduc_..._scal

2014-11-06 Thread Bill Schmidt
on byte values. (Each word in the vector result is the sum of the corresponding four byte values in the vector source, added to the other value, which here is zero.) Thanks, Bill A. Bill Schmidt wrote: On Fri, 2014-10-24 at 19:49 -0400, David Edelsohn wrote: On Fri, Oct 24, 2014 at 8:06 AM

[PATCH,rs6000] Add some more vector built-ins

2014-08-26 Thread Bill Schmidt
couldn't come up with a magic sequence for multiply at this width. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is this ok for trunk? Thanks, Bill [gcc] 2014-08-26 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/altivec.h (vec_xl): New #define

[PATCH, rs6000] A few more vector builtins

2014-08-29 Thread Bill Schmidt
on powerpc64le-unknown-linux-gnu with no regressions. Ok for trunk? Thanks, Bill [gcc] 2014-08-29 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE): New built-in definition. (XVCVUXDDP_SCALE): Likewise

[PATCH, rs6000] Correct optimization of VSX extract-load for little endian

2014-09-03 Thread Bill Schmidt
the now-failing vsx-extract-1.c test. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Ok for trunk? (This should eventually be backported to 4.8 and 4.9 as well...) Thanks, Bill [gcc] 2014-09-03 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000

[PATCH, rs6000] Handle vec_extract and splat patterns in analyze_swaps

2014-09-03 Thread Bill Schmidt
[gcc] 2014-09-03 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (special_handling_values): Add SH_EXTRACT. (rtx_is_swappable_p): Look for patterns with a VEC_SELECT, perhaps wrapped in a VEC_DUPLICATE, representing an extract. Mark

[PATCH, rs6000] Add handling for UNSPEC_VSPLT_DIRECT to analyze_swaps

2014-09-06 Thread Bill Schmidt
the UNSPEC_VSPLT_DIRECT case. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Ok for trunk? Thanks, Bill [gcc] 2014-09-06 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (special_handling_values): Add SH_SPLAT. (rtx_is_swappable_p

[PATCH, rs6000] Disable analyze_swaps for UNSPEC_VSX_CVDPSPN

2014-09-09 Thread Bill Schmidt
-unknown-linux-gnu with no regressions. Ok for trunk? Thanks, Bill [gcc] 2014-09-09 Bill Schmidt wschm...@linux.vnet.ibm.com * config/rs6000/rs6000.c (rtx_is_swappable_p): Add UNSPEC_VSX_CVDPSPN as an unswappable operand, and add commentary on how to make it legal in future

  1   2   3   4   5   6   7   8   9   >