This is the mail archive of the
mailing list for the GCC project.
Re: Request for discussion: Rewrite of inline assembler docs
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, limegreensocks at yahoo dot com, rsandifo at linux dot vnet dot ibm dot com
- Date: Fri, 21 Mar 2014 09:57:26 +0000
- Subject: Re: Request for discussion: Rewrite of inline assembler docs
- Authentication-results: sourceware.org; auth=none
- References: <530F1C69 dot 5050305 at redhat dot com>
On Thu, Feb 27, 2014 at 11:07:21AM +0000, Andrew Haley wrote:
> Over the years there has been a great deal of traffic on these lists
> caused by misunderstandings of GCC's inline assembler. That's partly
> because it's inherently tricky, but the existing documentation needs
> to be improved.
> dw <email@example.com> has done a fairly thorough reworking of
> the documentation. I've helped a bit.
> Section 6.41 of the GCC manual has been rewritten. It has become:
> 6.41 How to Use Inline Assembly Language in C Code
> 6.41.1 Basic Asm - Assembler Instructions with No Operands
> 6.41.2 Extended Asm - Assembler Instructions with C Expression Operands
> We could simply post the patch to GCC-patches and have at it, but I
> think it's better to discuss the document here first. You can read it
This documentation looks like a huge improvement.
As the discussion here seems to have stalled, perhaps it is time to propose
the patch to gcc-patches?
I'm certainly keen to see this make it to trunk, the increase in clarity