This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: [PATCH] MIPS: Implement built-in atomic memory operations.
- From: David Daney <ddaney at avtrex dot com>
- To: Ken Raeburn <raeburn at raeburn dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <richard at codesourcery dot com>
- Date: Sun, 12 Aug 2007 23:35:59 -0700
- Subject: Re: RFC: [PATCH] MIPS: Implement built-in atomic memory operations.
- References: <46BF6B8A.2050405@avtrex.com> <261AAFE9-B731-4C29-9736-8E813647C4F2@raeburn.org>
Ken Raeburn wrote:
On Aug 12, 2007, at 16:20, David Daney wrote:
While trouble shooting libgcj problems on n64, I discovered that the
atomic operations implemented in libjava/sysdep/mips/locks.h are both
buggy and do not support 64 bit operations. Instead of hacking them
up, it seems like a better path is to implement the builtin atomic
memory operations for mips and use them instead. The result is this
(very)lightly tested patch.
Did you mean to consistently spell "store_contidional" that way
(instead of "conditional")?
No. Sometime things just come out wrong. Since I do the majority of my
programming by cut-and-paste operations, the typo became universal. I
will fix it in the next revision of the patch.
David Daney