Manfred Spraul wrote:

Is the Itanium tas implementation correct? I think it should be xchg4.aqv instead of just xchg4 - as far as I know a normal atomic exchange is is not a memory barrier on Itanium. At least the Linux kernel version contains "cmpxchg4.aqv".

Sorry for the noise, I'm wrong: Itanium automatically uses acquire semantics with xchg. See top of page 16 on http://h21007.www2.hp.com/dspp/files/unprotected/itanium/spinlocks.pdf

--
   Manfred


---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Reply via email to