https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126123

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Avinash Jayakar from comment #1)
> Hi, based on the ISA reference the lwarx takes 4 parameters,
> lwarx RT,RA,RB,EH
> 
> the last one EH (exclusive hint) bit hints the core whether the stwcx
> accompanying this lwarx will be immediately be done by the same thread, so
> as to minimize the coherence traffic.
> I think this has been there from the beginning.
> lwarx RT, RA, RB 
> 
> is just an extended mnemonic for lwarx, with EH bit as 0.
> I think the Darwin's assembler has to be updated to recognize the EH
> parameter.

thanks .. I will also heed to look at why the second param (which is still
supposed to be a register, correct?) ... is not getting the transformed to a
register name.

As Drea says, the assembler is old - but we do have the source code, so it is
possible to make fixes if we encounter a show-stopper ...

this is not a high-priority system.

Reply via email to