On 11/06/2014 05:10 PM, Ulrich Weigand wrote: >>> + /* For s390, CC REG is general_operand. But cstorecc4 >>> only >>> + handles CCZ1, which can not handle others like CCU. >>> */ >>> + || GET_MODE_CLASS (GET_MODE (XEXP (cond, 0))) == MODE_CC); >>> >> >> I'd like to know more about this. This seems like a mistake in the backend. > > We do indeed allow the CC register as general_operand, since it has a > register class of CC_REGS.
I rather meant that cstorecc4 only handles some MODE_CC, not that CC is a general_operand, that seems questionable. r~