| Summary: | std_mutex fails on Arm v8.1 h/w | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | ahashmi <assad.hashmi> |
| Component: | vex | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mark |
| Priority: | NOR | ||
| Version First Reported In: | 3.14.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Enable v8.1 atomics and fix SWP and LDUMAX instrs | ||
|
Description
ahashmi
2020-05-15 14:25:04 UTC
Created attachment 128478 [details]
Enable v8.1 atomics and fix SWP and LDUMAX instrs
Improved test coverage for the Arm v8.1 instructions will be added in a later patch. Looks good. Just ran a make regtest on git master plus your patch: == 630 tests, 12 stderr failures, 1 stdout failure, 0 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/hgtls (stdoutB) memcheck/tests/dw4 (stderr) memcheck/tests/leak_cpp_interior (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/varinforestrict (stderr) memcheck/tests/vcpu_fnfns (stdout) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc20_verifywrap (stderr) Which is expected on arm64. Most come from slightly "wrong" backtraces. commit 6052ee66a0cf5234e8e2a2b49a8760226bc13b92 Author: Assad Hashmi <assad.hashmi@linaro.org> Date: Fri May 15 16:44:14 2020 +0200 Enable v8.1 atomics and fix SWP and LDUMAX instructions. 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 |