From 8d92516a9536fbfd1cb32d85ecd6f0c6533a4d90 Mon Sep 17 00:00:00 2001 From: Dejan Jevtic Date: Thu, 19 Sep 2013 10:22:42 +0000 Subject: [PATCH] mips32/64: Fix the problem with dirty helper when the __mips_isa_rev is not 2 on higher. git-svn-id: svn://svn.valgrind.org/vex/trunk@2770 --- VEX/priv/guest_mips_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VEX/priv/guest_mips_helpers.c b/VEX/priv/guest_mips_helpers.c index 414964e8ae..8cb41a2c0c 100644 --- a/VEX/priv/guest_mips_helpers.c +++ b/VEX/priv/guest_mips_helpers.c @@ -1118,7 +1118,7 @@ ULong mips64_dirtyhelper_rdhwr ( ULong rt, ULong rd ) extern UInt mips_dirtyhelper_calculate_FCSR ( void* gs, UInt fs, flt_op inst ) { UInt ret = 0; -#if defined(__mips__) && ((defined(__mips_isa_rev) && __mips_isa_rev >= 2)) +#if defined(__mips__) #if defined(VGA_mips32) VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs; UInt *addr = (UInt *)&guest_state->guest_f0; -- 2.47.2