This is the mail archive of the gcc@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: More ia64 intrinsics


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~


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