Sorry for the delay!

On Tue, Jul 13, 2021 at 09:38:33AM +0800, HAO CHEN GUI wrote:
>       PR target/100952
>       * config/rs6000/rs6000.md (cstore<mode>4): Fix wrong fall through.

> diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
> index 3f59b544f6a..d7c13d4e79d 100644
> --- a/gcc/config/rs6000/rs6000.md
> +++ b/gcc/config/rs6000/rs6000.md
> @@ -11623,7 +11623,10 @@ (define_expand "cstore<mode>4"
>  {
>    /* Everything is best done with setbc[r] if available.  */
>    if (TARGET_POWER10 && TARGET_ISEL)
> -    rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx);
> +    {
> +      rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, 
> const0_rtx);
> +      DONE;
> +    }
>  
>    /* Expanding EQ and NE directly to some machine instructions does not help
>       but does hurt combine.  So don't.  */

Perfect.  Okay for trunk and backports (but do not touch GCC 11 right
now without RM approval, see
<https://gcc.gnu.org/pipermail/gcc/2021-July/236837.html>).  Thanks!


Segher

Reply via email to