|
From: <sv...@va...> - 2013-09-19 10:22:58
|
Author: dejanj
Date: Thu Sep 19 10:22:42 2013
New Revision: 2770
Log:
mips32/64: Fix the problem with dirty helper when the
__mips_isa_rev is not 2 on higher.
Modified:
trunk/priv/guest_mips_helpers.c
Modified: trunk/priv/guest_mips_helpers.c
==============================================================================
--- trunk/priv/guest_mips_helpers.c (original)
+++ trunk/priv/guest_mips_helpers.c Thu Sep 19 10:22:42 2013
@@ -1118,7 +1118,7 @@
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;
|