On 17-Jul-14, at 7:27 PM, John David Anglin wrote:
On 17-Jul-14, at 5:12 PM, John David Anglin wrote:
SYNC_LOCK_RELEASE needs to be fixed to use __kernel_cmpxchg and
__kernel_cmpxchg_dword32.
The current implementation won't be atomic for long long, and in
glibc, a similar implementation caused
problems for the int type. I've been testing a patch for the
latter and will apply it soon.
The change is now committed to GCC 4.10.
Also, see this change:
https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01242.html
We will need a DI mode define for the 64-bit sync operation.
This enables "future" support in libstdc++.
Dave
--
John David Anglin dave.anglin@xxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html