This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, powerpc] Rework#2 VSX scalar floating point support, patch #3
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 26 Sep 2013 18:56:37 -0400
- Subject: Re: [PATCH, powerpc] Rework#2 VSX scalar floating point support, patch #3
- Authentication-results: sourceware.org; auth=none
- References: <20130822185658 dot GA30430 at ibm-tiger dot the-meissners dot org> <20130923200617 dot GA3900 at ibm-tiger dot the-meissners dot org> <20130924203310 dot GA25337 at ibm-tiger dot the-meissners dot org> <CAGWvnykGupvw8na+GcKUxkpbcn6CV6HVrXuAcHeQdaSf52STTg at mail dot gmail dot com> <20130926205137 dot GA28417 at ibm-tiger dot the-meissners dot org>
On Thu, Sep 26, 2013 at 4:51 PM, Michael Meissner
> I discovered that I was setting the wv/wu constraints incorrectly to
> ALTIVEC_REGS, which leads to reload failures in some cases.
> Is this patch ok to apply along with the previous patch assuming it bootstraps
> and has no regressions with make check? It builds the programs that had
> failures with the previous patch.
> 2013-09-26 Michael Meissner <email@example.com>
> * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Don't
> allow wv/wu constraints to be ALTIVEC_REGISTERS unless DF/SF can
> occupy the Altivec registers.
Can you add a testcase to catch this in the future?