mips: flush the cache in perf/bigcode.c

MIPS needs to flush the cache after memcpy in perf/bigcode.c.
Otherwise, the executed code will likely be wrong.

This fixes issues with bigcode test on some MIPS platforms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13550 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips32/mips64: rename mips32_features to mips_features

As this file is now detecting mips64/Cavium boards, we are renaming it to
reflect that. The functional change is that mips_features now can detect
Cavium board and allow Cavium-specific tests to be run.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13551 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips32: typo error fix.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13552 a5019735-40e9-0310-863c-91ae7b9d1cf9
Intercept prctl(PR_SET_NAME, name) and store the thread name so it
can be used in error messages. That should be helpful when debugging
multithreaded applications.
Patch by Matthias Schwarzott <zzam@gentoo.org> with some minor
modifications. Fixes BZ 322254.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13553 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips: clean-up in hardware detection

Follow up to VEX r2764.
Add detection of Cavium in /proc/cpuinfo, and test for DSP ASEs only for
platforms with Company ID == MIPS.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13554 a5019735-40e9-0310-863c-91ae7b9d1cf9
Include pub_core/tool_clreq.h instead of valgrind.h where apropriate.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13555 a5019735-40e9-0310-863c-91ae7b9d1cf9