Bug 29357 - inline asm %c0 template form not documented
Summary: inline asm %c0 template form not documented
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: inline-asm (show other bugs)
Version: 4.2.0
: P3 trivial
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 16:02 UTC by Avi Kivity
Modified: 2014-06-18 20:04 UTC (History)
3 users (show)

See Also:
Host: N/A
Target: N/A
Build: N/A
Known to work: 4.10.0
Known to fail:
Last reconfirmed:


Attachments
proposed documentation patch (777 bytes, patch)
2006-10-05 16:05 UTC, Avi Kivity
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Avi Kivity 2006-10-05 16:02:42 UTC
the form %c0, as in

    asm ( "movl $42, %c0(%1)" : : "i"(offsetof(...)), "r"(...) : "memory" );

is not documented.
Comment 1 Avi Kivity 2006-10-05 16:05:48 UTC
Created attachment 12384 [details]
proposed documentation patch

I don't have a coypright assignment, but most of this is copied verbatim from the internals documentation.  I added three lines.
Comment 2 Michael Schulze 2011-07-01 11:56:40 UTC
Is it intended to add this documentation patch? Or, is the functionality with modifiers like %c not in a state that allows the use outside of the compiler within normal applications?
Comment 3 Gerald Pfeifer 2014-06-18 19:41:14 UTC
Hi Avi, I am sorry nobody looked into this earlier.

David indicated this actually is covered in
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#i386Operandmodifiers

Can you please advise if there is anything you see missing or there
are changes you'd still like to see?