This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Partial registers in asm constraints/clobber lists


Jeremy Hall <gcc.hall@gmail.com> writes:

> Is it safe to mention part of a register only in a constraint or clobber list?

Yes.

> Does gcc treat registers as a whole so that a mention of any part of a
> register refers to all of it (e.g. register "a").

Yes.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]