[Bug inline-asm/87733] local register variable not honored with earlyclobber
bugdal at aerifal dot cx
gcc-bugzilla@gcc.gnu.org
Sun Mar 15 18:44:55 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87733
--- Comment #35 from Rich Felker <bugdal at aerifal dot cx> ---
> Oh, your real code is different, and $10 doesn't work for that? I see.
No, the real code is exactly that. What you're missing is that the kernel,
entered through syscall, has a jump back to the addu after it's clobbered all
the registers in the clobberlist if the syscall is interrupted and needs to be
restarted.
More information about the Gcc-bugs
mailing list