[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: intrinsic function for the assembly x86 xchg command
From:       Yichao Yu <yyc1992 () gmail ! com>
Date:       2017-04-07 18:10:37
Message-ID: CAMvDr+T9-Sqj4MihoFX9TVKqD5q3vKVFKspExCbhhX0-jsfXRw () mail ! gmail ! com
[Download RAW message or body]

On Fri, Apr 7, 2017 at 2:08 PM, fab10 <0xfab10@gmail.com> wrote:
> It would be usefull to develop in gcc an intrinsic function for the assembly
> x86 instruction xchg to implement a low level mutex.

I believe that's what atomic_exchange is lowered to on x86?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic