Commit c8cde619 authored by Thiago Macieira's avatar Thiago Macieira Committed by The Qt Project
Browse files

Fix ARM atomics for 8- and 16-bit types


This has apparently never worked for any negative value. That's because
the compiler sign-extends the incoming expectedValue to fill the 32-bit
register, instead of zero-extending it, and it also expects any returned
values to also be sign-extended.

Task-number: QTBUG-37031
Change-Id: I836eddba7b1acc56bb0ac1d41de7001d06255b9b
Reviewed-by: default avatarSergio Ahumada <sahumada@blackberry.com>
parent d2cb81f8
Branches
Tags
No related merge requests found
Showing with 44 additions and 10 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment