Re: [RFC] LKMM: Add volatile_if()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 06, 2021 at 09:47:49AM -0400, Alan Stern wrote:
> > GCC does not pretend it can understand the asm.  But it can see when
> > two asm statements are identical.
> 
> How similar do two asm strings have to be before they are considered 
> identical?  For instance, do changes to the amount of leading or 
> trailing whitespace matter?

They have to be identical to be considered identical.

> Or what about including an empty assembly statement in one but not the 
> other?

GCC does not parse the assembler template.


Segher



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux