This is the mail archive of the gcc-patches@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: [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".

				Ross Ridge


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