☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
arch
/
m68k
/
atomic_arch.h
☽
☼
libc-top-half/musl/arch/m68k/atomic_arch.h
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#define a_cas a_cas
2
static inline int a_cas(volatile int *p, int t, int s)
3
{
4
__asm__ __volatile__ (
5
"cas.l %0, %2, (%1)"
6
: "+d"(t) : "a"(p), "d"(s) : "memory", "cc");
7
return t;
8
}