| 564 | } |
| 565 | |
| 566 | static __inline int |
| 567 | atomic_cmpset_64(volatile uint64_t *dst, uint64_t expect, uint64_t src) |
| 568 | { |
| 569 | |
| 570 | if ((cpu_feature & CPUID_CX8) == 0) |
| 571 | return (atomic_cmpset_64_i386(dst, expect, src)); |
| 572 | else |
| 573 | return (atomic_cmpset_64_i586(dst, expect, src)); |
| 574 | } |
| 575 | |
| 576 | static __inline int |
| 577 | atomic_fcmpset_64(volatile uint64_t *dst, uint64_t *expect, uint64_t src) |
no test coverage detected