movsi_from_sf uses rldimi instruction, which will cause the compiler to ICE
in 32 bit mode. This patch limits the recently added pattern and call to
TARGET_POWERPC64.
2020-07-14 David Edelsohn <dje.gcc@gmail.com>
gcc/ChangeLog
* config/rs6000/rs6000.md (rotldi3_insert_sf): Add TARGET_POWERPC64
condition.
* config/rs6000/rs6000.c (rs6000_expand_vector_init): Add
TARGET_POWERPC64 requirement to TARGET_P8_VECTOR case.
}
else
{
- if (TARGET_P8_VECTOR)
+ if (TARGET_P8_VECTOR && TARGET_POWERPC64)
{
rtx tmp_sf[4];
rtx tmp_si[4];
[(match_operand:SF 3 "memory_operand")]
UNSPEC_SI_FROM_SF))))
(clobber (match_scratch:V4SF 4))]
- "INTVAL (operands[2]) == <bits>"
+ "TARGET_POWERPC64 && INTVAL (operands[2]) == <bits>"
"#"
""
[(parallel [(set (match_dup 5)