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, powerpc] Rework#2 VSX scalar floating point support, patch #3


On Thu, Sep 26, 2013 at 4:51 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> 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  <meissner@linux.vnet.ibm.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.

Okay.

Can you add a testcase to catch this in the future?

Thanks, David


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