Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/common/lib/libc/atomic



Module Name:    src
Committed By:   skrll
Date:           Sun May  3 11:48:02 UTC 2026

Modified Files:
        src/common/lib/libc/atomic: atomic_cas_16_cas.c atomic_cas_32_cas.c
            atomic_cas_64_cas.c atomic_cas_8_cas.c atomic_cas_by_cas32.c
            atomic_init_testset.c

Log Message:
PR/56839 GCC emits wrong codes for compare_and_swap_1 bultins on armv5 (el & eb)

There is mismatch in signedness of the GCC builtin __sync_* function arguments
and the _atomic_* functions so we cannot directly alias them. Instead write
the __sync_* functions with signed arguments and pass them the unsigned
_atomics_* functions.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/atomic/atomic_cas_16_cas.c \
    src/common/lib/libc/atomic/atomic_cas_64_cas.c \
    src/common/lib/libc/atomic/atomic_cas_8_cas.c
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/atomic/atomic_cas_32_cas.c
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/atomic/atomic_cas_by_cas32.c
cvs rdiff -u -r1.21 -r1.22 src/common/lib/libc/atomic/atomic_init_testset.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index