Re: [GIT PULL] Add two-byte cmpxchg emulation function for v7.4

From: Jan Engelhardt

Date: Mon Nov 02 2026 - 21:03:57 EST



On Monday 2026-11-02 17:34, David Laight wrote:
>>
>> I can get gcc-17.0.0-20261102 with no further command line options
>> to turn `atomic_compare_exchange_strong`+uint16 into some object code
>> that does not contain a call to libatomic, for sh2, sh3, sh4. Haven't
>> tried xtensa or the others.
>> Thus, is the patch really needed?
>
>Won't that need a big jump in the minimum supported compiler version?

12.0.0-20210420 behaves the same. I just chose 17 because that was
convenient to try first.