mips64: run FPU tests only when FPU is available
Check whether the target platform is meant to have an FPU before executing
tests that make use of a floating-point unit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14571 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/tests/mips_features.c b/tests/mips_features.c
index d0e01e5..5edb120 100644
--- a/tests/mips_features.c
+++ b/tests/mips_features.c
@@ -47,7 +47,7 @@
static int go(char *feature)
{
int cpuinfo;
- if (strcmp(feature, "hard-float") == 0) {
+ if (strcmp(feature, "fpu") == 0) {
#if defined(__mips_hard_float)
/* This is not a runtime detection.
If mips_features is built as hard-float, the assumption is that