• Rich Felker's avatar
    sh: add AT_HWCAP flag for J-Core cas.l instruction · 834da197
    Rich Felker authored
    The J-Core cpu has, as an ISA extension, an atomic compare-and-swap
    instruction cas.l which applications need to use (instead the imask or
    gusa atomic models, which are fundamentally limited to UP) for
    synchronization in order to be compatible with SMP systems. Provide a
    hwcap flag so that it's possible to do runtime selection and support
    both.
    Signed-off-by: default avatarRich Felker <dalias@libc.org>
    834da197
probe.c 1.88 KB