On Wed, Feb 08, 2017 at 12:45:22PM -0600, Pat Haugen wrote:
> The following patch fixes the pr by adding code for integer comparisons to 
> invert the condition and swap operands to avoid generation of a compound 
> test. Bootstrap/regtest on powerpc64-unknown-linux-gnu with no new 
> regressions. Ok for trunk?

This had me confused for a bit, but you're not swapping the operands of
the condition, you're swapping the true/false operands of the cond
expression :-)
Okay for trunk.  Thanks,


Segher


> 2017-02-08  Pat Haugen  <pthau...@us.ibm.com>
> 
>       PR target/78604
>       * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Invert
>       condition/operands for integer GE/LE/GEU/LEU operations.
> 
> 
> testsuite/ChangeLog:
> 2017-02-08  Pat Haugen  <pthau...@us.ibm.com>
> 
>       PR target/78604
>       * gcc.target/powerpc/pr78604.c: New.

Reply via email to