The atomics test drd/tests/std_mutex hangs on Arm v8.1 when built
with GCC10. Add HWCAP_ATOMICS to ARM64_SUPPORTED_HWCAP and fix the
ldumax and swp instructions to make it work.
https://bugs.kde.org/show_bug.cgi?id=421570
418435 s390x: spurious "Conditional jump or move depends on uninitialised [..]"
418997 s390x: Support Iex_ITE for float and vector types
419503 s390x: Avoid modifying registers returned from isel functions
+421321 gcc10 arm64 build needs __getauxval for linking with libgcc
+421570 std_mutex fails on Arm v8.1 h/w
n-i-bz Fix minor one time leaks in dhat.
n-i-bz Add --run-cxx-freeres=no in outer args to avoid inner crashes.
n-i-bz Add support for the Linux io_uring system calls
break;
case 6:
nm = "ldumax";
- res = IRExpr_ITE(binop(Iop_CmpLT64U, lhs, rhs), rhs, rhs);
+ res = IRExpr_ITE(binop(Iop_CmpLT64U, lhs, rhs), rhs, lhs);
break;
case 7:
nm = "ldumin";
break;
case 8:
nm = "swp";
- res = lhs;
+ res = rhs;
break;
default:
vassert(0);
{
/* Limit the AT_HWCAP to just those features we explicitly
support in VEX. */
-#define ARM64_SUPPORTED_HWCAP (VKI_HWCAP_AES \
+#define ARM64_SUPPORTED_HWCAP (VKI_HWCAP_ATOMICS \
+ | VKI_HWCAP_AES \
| VKI_HWCAP_PMULL \
| VKI_HWCAP_SHA1 \
| VKI_HWCAP_SHA2 \