https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954
--- Comment #5 from Hongtao.liu <crazylht at gmail dot com> --- > > Yes, neg rdx = (0 - rdx) = (0 - (rdx + CF)(last def)) = (sbb 0, rdx) And we need an extra register for it.
crazylht at gmail dot com via Gcc-bugs Sun, 20 Feb 2022 22:49:22 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51954
--- Comment #5 from Hongtao.liu <crazylht at gmail dot com> --- > > Yes, neg rdx = (0 - rdx) = (0 - (rdx + CF)(last def)) = (sbb 0, rdx) And we need an extra register for it.