|
From: <sv...@va...> - 2013-09-18 11:24:43
|
Author: tom
Date: Wed Sep 18 11:24:25 2013
New Revision: 2767
Log:
Unbreak the build on non-MIPS platforms.
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 Wed Sep 18 11:24:25 2013
@@ -1118,6 +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(VGA_mips32)
VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs;
UInt *addr = (UInt *)&guest_state->guest_f0;
@@ -1211,6 +1212,7 @@
vassert(0);
break;
}
+#endif
return ret;
}
|