[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2016-05-08 Thread gccbugzilla at limegreensocks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527

David  changed:

   What|Removed |Added

 CC||gccbugzilla@limegreensocks.
   ||com

--- Comment #5 from David  ---
These modifiers are intended primarily for use by Machine Descriptions.  As a
result, some of them aren't going to be meaningful/usable by inline asm code. 
And it makes sense to leave open the option to change their meaning should
future MD work require it, something that documenting them all would prevent.

On the other hand, some of these values are indeed quite useful for inline asm.

The compromise, as evidenced by 6.43.2.7 (added in v5.x), is to document
certain commonly needed/used modifiers (such as the %k0 referenced above).

If there is some additional modifier that you need, I'd recommend opening a new
bug and making an explicit case for it.

In the meantime, I recommend closing this bug (as fixed).

[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2016-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527

Richard Biener  changed:

   What|Removed |Added

 CC||pi3orama at gmail dot com

--- Comment #7 from Richard Biener  ---
*** Bug 43319 has been marked as a duplicate of this bug. ***

[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2016-05-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527

Richard Biener  changed:

   What|Removed |Added

 CC||etienne_lorrain at yahoo dot fr

--- Comment #6 from Richard Biener  ---
*** Bug 39440 has been marked as a duplicate of this bug. ***

[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2007-01-21 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-21 16:37 ---
Every target have slightly different operand modifiers.  They are usually
"documented" in config/*/*.md or config/*/*.c, but I think it is incorrect to
documented them for real because people will then abuse them.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c   |inline-asm
   Keywords||documentation


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527



[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2007-01-21 Thread davmac at davmac dot org


--- Comment #3 from davmac at davmac dot org  2007-01-22 04:17 ---
You've got to be kidding - these things are genuinely useful. What sort of
abuse are you worried about?

In any case, I'd like to know if that is the general consensus among
maintainers. I'm not going to write documentation and submit a patch if it's
not going to be accepted.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527



[Bug inline-asm/30527] Use of input/output operands in __asm__ templates not fully documented

2015-07-17 Thread davmac at davmac dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30527

--- Comment #4 from Davin McCall  ---
I recently stumbled across section 6.43.2.7 of the manual, which does in fact
document the operand modifiers for (and only for) x86. Modifiers for other
architectures are not documented.