2016-01-20 22:59:34 +00:00
|
|
|
--- a/VEX/priv/guest_mips_helpers.c
|
|
|
|
+++ b/VEX/priv/guest_mips_helpers.c
|
2016-07-05 08:08:59 +00:00
|
|
|
@@ -1201,6 +1201,7 @@ extern UInt mips_dirtyhelper_calculate_F
|
2016-01-20 22:59:34 +00:00
|
|
|
flt_op inst )
|
|
|
|
{
|
|
|
|
UInt ret = 0;
|
|
|
|
+#ifndef __mips_soft_float
|
|
|
|
#if defined(__mips__)
|
|
|
|
VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs;
|
|
|
|
UInt loFsVal, hiFsVal, loFtVal, hiFtVal;
|
2016-07-05 08:08:59 +00:00
|
|
|
@@ -1320,6 +1321,7 @@ extern UInt mips_dirtyhelper_calculate_F
|
2016-01-20 22:59:34 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2016-07-05 08:08:59 +00:00
|
|
|
@@ -1329,6 +1331,7 @@ extern UInt mips_dirtyhelper_calculate_F
|
2016-01-20 22:59:34 +00:00
|
|
|
flt_op inst )
|
|
|
|
{
|
|
|
|
UInt ret = 0;
|
|
|
|
+#ifndef __mips_soft_float
|
|
|
|
#if defined(__mips__)
|
|
|
|
#if defined(VGA_mips32)
|
|
|
|
VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs;
|
2016-07-05 08:08:59 +00:00
|
|
|
@@ -1439,6 +1442,7 @@ extern UInt mips_dirtyhelper_calculate_F
|
2016-01-20 22:59:34 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|