MCPcopy Create free account
hub / github.com/F-Stack/f-stack / atomic_fcmpset_64

Function atomic_fcmpset_64

freebsd/i386/include/atomic.h:576–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576static __inline int
577atomic_fcmpset_64(volatile uint64_t *dst, uint64_t *expect, uint64_t src)
578{
579
580 if ((cpu_feature & CPUID_CX8) == 0)
581 return (atomic_fcmpset_64_i386(dst, expect, src));
582 else
583 return (atomic_fcmpset_64_i586(dst, expect, src));
584}
585
586static __inline uint64_t
587atomic_load_acq_64(volatile uint64_t *p)

Callers

nothing calls this directly

Calls 2

atomic_fcmpset_64_i386Function · 0.85
atomic_fcmpset_64_i586Function · 0.85

Tested by

no test coverage detected