This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: locking problem with mips atomicity
Richard Sandiford wrote:
>
> Michael Eager <eager@mvista.com> writes:
> > I've revised the patch. It now only has constraints which are referenced.
> > I added a "memory" constraint.
>
> Sorry if I've missed the explanation, but why is using a memory clobber
> an improvement over an unused memory operand?
The location which is clobbered is unknown. From what I understand, an
unused memory operand is ignored.
--
Michael Eager eager@mvista.com 408-328-8426
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085