https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82628

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42428
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42428&action=edit
gcc8-pr82628.patch

Untested patch.  From the above hack, I'm afraid I have no idea how to express
the SF+OF setting sbb, so I'm using UNSPEC, for the others I hope I've done
those right, but would welcome verification.  If you have ideas what to do for
SF+OF, I'd appreciate it.  And the patch doesn't deal with possible needs to
rename CCGZmode to something else and describe that it only defines SF and OF
flags.  Or can we just use normal CCmode, when the setter is UNSPEC anyway and
thus the generic code can't argue much about it?

Reply via email to