• R
    sh: add AT_HWCAP flag for J-Core cas.l instruction · 834da197
    Rich Felker 提交于
    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: NRich Felker <dalias@libc.org>
    834da197
probe.c 1.9 KB