[RS6000] Power10 ICE running gcc.target/powerpc/ppc-ne0-1.c
authorAlan Modra <amodra@gmail.com>
Thu, 22 Oct 2020 00:13:09 +0000 (10:43 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 24 Oct 2020 03:56:11 +0000 (14:26 +1030)
* config/rs6000/rs6000.md (cstore<mode>4): Don't call
rs6000_emit_int_cmove for power10 when -mno-isel.

gcc/config/rs6000/rs6000.md

index 779bfd1..dc06014 100644 (file)
   ""
 {
   /* 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