From 7f221b0706f7ab8359cb9008650dc7370238839c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 11 Oct 2017 07:48:05 -0700 Subject: [PATCH] target/hppa: Adjust insn mask for mfctl,w While the E bit is only used for pa2.0 mfctl,w from sar, the otherwise reserved bit does not appear to be decoded. Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 89b336c2c4..8ca58f3df3 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2162,7 +2162,7 @@ static const DisasInsn table_system[] = { { 0x016018c0u, 0xffe0ffffu, trans_mtsarcm }, { 0x000014a0u, 0xffffffe0u, trans_mfia }, { 0x000004a0u, 0xffff1fe0u, trans_mfsp }, - { 0x000008a0u, 0xfc1fffe0u, trans_mfctl }, + { 0x000008a0u, 0xfc1fbfe0u, trans_mfctl }, { 0x00000400u, 0xffffffffu, trans_sync }, { 0x000010a0u, 0xfc1f3fe0u, trans_ldsid }, #ifndef CONFIG_USER_ONLY