1
0

atomic_arch.h 185 B

12345678
  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. }