GCC asm clobbers

Andrew Haley aph@redhat.com
Sat Feb 8 09:57:00 GMT 2020

On 2/8/20 3:32 AM, William Tambe wrote:
> is there a way to tell GCC to clobber all registers without having to
> specify them each in the clobber of the asm statement ?

No. It won't work anyway, because GCC needs one or two spare registers.

Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the Gcc-help mailing list