[gcc r11-4333] [RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c

Alan Modra amodra@gcc.gnu.org
Sat Oct 24 03:57:40 GMT 2020


https://gcc.gnu.org/g:1a21c0ecd96ac5f91f0149a1edc8bfc4eb10c1f8

commit r11-4333-g1a21c0ecd96ac5f91f0149a1edc8bfc4eb10c1f8
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Oct 22 10:43:09 2020 +1030

    [RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c
    
            * config/rs6000/rs6000.md (cstore<mode>4): Don't call
            rs6000_emit_int_cmove for power10 when -mno-isel.

Diff:
---
 gcc/config/rs6000/rs6000.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 779bfd11237..dc060143104 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -11554,7 +11554,7 @@
   ""
 {
   /* Everything is best done with setbc[r] if available.  */
-  if (TARGET_POWER10)
+  if (TARGET_POWER10 && TARGET_ISEL)
     rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx);
 
   /* Expanding EQ and NE directly to some machine instructions does not help


More information about the Gcc-cvs mailing list