This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
I can't find documentation on the use of {} and | in inline asm (as in this from libstdc++-v3/config/cpu/i486/atomicity.h)
__asm__ __volatile__ ("lock; xadd{l} {%0,%1|%1,%0}" ....) to allow Intel syntax in addition to default AT&T
Specifically, can anyone tell me when this feature was introduced?
This is just like in the i386.md (and rs6000.md) file, it says to use the alternative spelling of an instruction. I think when intel syntax support was added to the GCC when this was support. But the support for this feature has been in GCC since rs6000 support was added or at least before the EGCS split.
Thanks, Andrew Pinski
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |