Re: Fix invalid cc_status after [const_][us]mulsi3_highpart

2018-08-02 Thread Andreas Schwab
On Jul 17 2018, Andreas Schwab wrote: > The mulu.l insn sets the CC according to the 64-bit result, but we are > only using the high part, so the Z flag cannot be used. The other flags > would still be valid, but we have no cc_status flag for that case. > > * config/m68k/m68k.md (umulsi3_h

Fix invalid cc_status after [const_][us]mulsi3_highpart

2018-07-17 Thread Andreas Schwab
The mulu.l insn sets the CC according to the 64-bit result, but we are only using the high part, so the Z flag cannot be used. The other flags would still be valid, but we have no cc_status flag for that case. * config/m68k/m68k.md (umulsi3_highpart+1, const_umulsi3_highpart) (smu