On 10/15/25 8:29 AM, Aleksa Paunovic wrote:
From: Chao-ying Fu <[email protected]>
Ensure proper shift offset for big-endian targets.
Signed-off-by: Aleksa Paunovic <[email protected]>
libatomic/ChangeLog:
* cas_n.c (SIZE): Adjust shift.
* exch_n.c (SIZE): Likewise.
* fop_n.c (SIZE): Likewise.
* load_n.c (SIZE): Likewise.
* store_n.c (SIZE): Likewise.
* tas_n.c (SIZE): Likewise.
No testcase, no real explanation for what's wrong, etc. So virtually
impossible to review.
BE/LE adjustments are always tricky, so I'm not inclined to move forward
without some explanation of the fix and ideally some before/after code,
a testcase, etc.
Jeff