basic asm and memory clobbers - Proposed solution
Bernd Edlinger
bernd.edlinger@hotmail.de
Thu Dec 3 21:01:00 GMT 2015
Am 03.12.2015 um 16:24 schrieb Paul_Koning@Dell.com:
> On the other hand, asm volatile ("foo":::) has a different meaning.
> That specifically says that "foo" doesn't clobber anything.
Well, not exactly, see the md_asm_adjust target callback.
On i386, rs6000, visium, cris and mn10300 targets asm volatile ("foo":::)
implicitly clobbers the "cc" register, even if that is not in the
clobber list
Bernd.
More information about the Gcc
mailing list