From 1287ae86166dcc11952a95e7db658d9354fb3a1d Mon Sep 17 00:00:00 2001 From: Petar Jovanovic Date: Fri, 9 Dec 2016 18:35:37 +0000 Subject: [PATCH] mips32: allow execution of round_fpu64 test for fpxx Allow execution of none/tests/mips32/round_fpu64 test if it is built with -mfpxx. It gets us more coverage eventually. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16181 --- none/tests/mips32/round_fpu64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/none/tests/mips32/round_fpu64.c b/none/tests/mips32/round_fpu64.c index a4715f2a03..6db116b0eb 100644 --- a/none/tests/mips32/round_fpu64.c +++ b/none/tests/mips32/round_fpu64.c @@ -72,7 +72,7 @@ const double fs_d[] = { : "$f0" \ ); -#if (__mips==32) && (__mips_isa_rev>=2) && (__mips_fpr==64) +#if (__mips==32) && (__mips_isa_rev>=2) && ((__mips_fpr==64) || (__mips_fpr==xx)) void set_rounding_mode(round_mode_t mode) { switch(mode) { @@ -190,7 +190,7 @@ int FCSRRoundingMode(flt_round_op_t op) int main() { -#if (__mips==32) && (__mips_isa_rev>=2) && (__mips_fpr==64) +#if (__mips==32) && (__mips_isa_rev>=2) && ((__mips_fpr==64) || (__mips_fpr==xx)) flt_round_op_t op; signal(SIGILL, handler); /* Test fpu64 mode. */ -- 2.47.2