https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126123
--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #3) > (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. NM .. I read the ISA doc, and see that 0 is a special case for param 2 (and the darwin assembler correctly accepts it with the 4th param omitted). Is there ever a case in the GCC code where we will emit EH = 1?
