Odd error with the "X" inline assembly constraint

LIU Hao lh_mouse@126.com
Sun Jan 7 10:04:23 GMT 2024


在 2024/1/6 2:46, Segher Boessenkool 写道:
> The C constraint means "Any operand whatsoever is allowed."  Here you
> are saying to use it both as input and as output, and GCC does not know
> how to reload wherever it chose to put it.

Would you mind elaborating a bit more? On x86 and x86-64 it's almost always the case that an 
expression can be used as either a source or a destination.


-- 
Best regards,
LIU Hao

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20240107/945c20b8/attachment.sig>


More information about the Gcc-help mailing list