https://bugs.kde.org/show_bug.cgi?id=377966
--- Comment #3 from John Reiser <jrei...@bitwagon.com> ---
(In reply to Julian Seward from comment #1)
> The main difficulty is to know how big the cache line is.

The value (and validity) is reported by the instruction "mrs reg, dczid_el0". 
So valgrind could add that to its configuration data for the virtual CPU.  As
default please use "valid, 64-bytes" (represented as 4, which is (-2 +
log2(size)) ) which matches RaspberryPi3.  Other choices:
1. The value reported by the host, if host and target have the same
architecture.
2. A command-line option.

Until more experience, the use of "dc zva," probably deserves a once-per-run
information message which states the value that valgrind chooses (and the pc at
which valgrind is forced to choose.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to