This is the mail archive of the
mailing list for the GCC project.
Re: [RFC PATCH, i386]: PR 36793: x86-64 does not get __sync_synchronize right
- From: rridge at csclub dot uwaterloo dot ca (Ross Ridge)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 Nov 2008 22:57:39 -0500 (EST)
- Subject: Re: [RFC PATCH, i386]: PR 36793: x86-64 does not get __sync_synchronize right
Uros Bizjak writes:
>BTW: "lock nop" as suggested in PR for !TARGET_SSE2 case generates
>invalid insn exception.
It needs to be a "nop" that modifies memory. Like "lock orb $0,(%esp)"
or "xchgl eax,dummy".