https://bugs.freedesktop.org/show_bug.cgi?id=99527
--- Comment #2 from Jose Fonseca <jfons...@vmware.com> ---
I agree with Roland. I wouldn't oppose patches fixing these (including
--enable-valgrind build option if performance suffered).
But it won't be trivial. A big source of issues is the fact that we need
padding to fill the SIMD instructions lanes. That is, we might need to process
3 floats, but then we allocate tempoary variables worth of 8 floats, where the
last 5 are unitizialied garbagge. It's not hard to fix this, but there are
hundreds of places this happens.
I suspect that in many cases are actually false positives, ie, limitatio in
valgrind analysis: we use uninitialize memory for temporary calculations, but
they are soon discarded.
How about `--suppressions` option? For llvmpipe there doesn't seem to be many
different stack traces.
Another option is to use call VALGRIND_DISABLE_ERROR_REPORTING /
VALGRIND_ENABLE_ERROR_REPORTING before/after JIT code.
Feel free to experiment with any of the above FWIW.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev