|
From: <sv...@va...> - 2011-01-17 23:06:25
|
Author: sewardj
Date: 2011-01-17 23:06:16 +0000 (Mon, 17 Jan 2011)
New Revision: 2080
Log:
Handle PCMPxSTRx $0x00. Fixes #262995.
Modified:
trunk/priv/guest_amd64_toIR.c
trunk/priv/guest_generic_x87.c
Modified: trunk/priv/guest_amd64_toIR.c
===================================================================
--- trunk/priv/guest_amd64_toIR.c 2011-01-17 13:11:37 UTC (rev 2079)
+++ trunk/priv/guest_amd64_toIR.c 2011-01-17 23:06:16 UTC (rev 2080)
@@ -15583,6 +15583,7 @@
any cases for which the helper function has not been
verified. */
switch (imm) {
+ case 0x00:
case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
case 0x1A: case 0x3A: case 0x44: case 0x4A:
break;
Modified: trunk/priv/guest_generic_x87.c
===================================================================
--- trunk/priv/guest_generic_x87.c 2011-01-17 13:11:37 UTC (rev 2079)
+++ trunk/priv/guest_generic_x87.c 2011-01-17 23:06:16 UTC (rev 2080)
@@ -715,6 +715,7 @@
even if they would probably work. Life is too short to have
unvalidated cases in the code base. */
switch (imm8) {
+ case 0x00:
case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
case 0x1A: case 0x3A: case 0x44: case 0x4A:
break;
|