This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: More ia64 intrinsics
- From: Richard Henderson <rth at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 22:20:11 -0700
- Subject: Re: RFC: More ia64 intrinsics
- References: <20030620021942.GA24799@lucon.org>
On Thu, Jun 19, 2003 at 07:19:42PM -0700, H. J. Lu wrote:
> long _InterlockedIncrement(long *addend)
>
> Increment the addend by one atomically. Maps to the fetchadd4
> instruction.
Eh? What's wrong with the ABI defined __sync_fetch_and_add?
r~