From: Dejan Jevtic Date: Thu, 19 Sep 2013 10:22:42 +0000 (+0000) Subject: mips32/64: Fix the problem with dirty helper when the X-Git-Tag: svn/VALGRIND_3_9_0^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d92516a9536fbfd1cb32d85ecd6f0c6533a4d90;p=thirdparty%2Fvalgrind.git 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 --- 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;