[Bug target/71695] m68k: long long multiplication broken
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 29 13:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71695
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2016-06-29
Ever confirmed|0 |1
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
Worksforme with gcc 7:
clr.l %d2
moveq #10,%d3
.L3:
move.l %d2,%d1
muls.l %d3,%d1
add.l %d1,%d1
mulu.l %d3,%d2:%d3
add.l %d1,%d2
addq.l #1,%a0
cmp.l %d0,%a0
jne .L3
Please check that there is no local patch that breaks that.
More information about the Gcc-bugs
mailing list