Re: clobbering of input operands in GCC



spamtrap@xxxxxxxxxx wrote:

In the GCC manual it says:

"There is no way for you to specify that an input operand is modified
without also specifying it as an output operand..."

But A must NOT be an output operand. Does it mean that you have to
assign the value to some dummy variable?

[ cite gcc.info ]

You may not write a clobber description in a way that overlaps with an
input or output operand. (...)
Variables declared to live in specific registers, and used as asm input
or output operands must have no part mentioned in the clobber description.

[ /cite ]

If you are using registers, which had not been passed as operands,
you need to inform the compiler about this (-> clobber list).

.



Relevant Pages

  • Re: OSA-Express2 and SNA Pcomm - loss of connectivity
    ... And now for the comments on your VTAM definitions. ... I suggest that you adopt the standard of selecting the switched PU statement on the CP name, the CPNAME operand, rather than the IDBLK and IDNUM operands. ... The IRETRY operand of the switched PU statement is something of an anomaly - along with the PASSLIM operand which I am happy you and/or your predecessors did not think appropriate to specify. ... The OSAs are connected to a Cisco 6500 switch which in turn connects to a ...
    (bit.listserv.ibm-main)
  • Re: SMP/E problem?
    ... the GROUP operand, SMP/E does not try to restore the ... You have to specify both PTFs on the SELECT ... Kurt Quackenbush -- IBM, SMP/E Development ...
    (bit.listserv.ibm-main)
  • Re: mde, mdw, mdb - How are they known to one another?
    ... John, I'm not quite sure what you mean by ... the same directory as the frontend database. ... If you don't specify the /wrkgrp optional operand, ...
    (microsoft.public.access.modulesdaovba)
  • Re: Convert Null to DBNull
    ... have to specify it: ... By specifying one operand as object, it will see that the other operand ... i propogate that null value to the stored procedure. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: High-byte registers in AMD64 (was: MOVZX has stall register)
    ... > range, or any of the low-byte registers ... However, the legacy high-byte registers ... > are not accessible when a REX prefix is used. ... Default Operand Size. ...
    (comp.lang.asm.x86)