From 3e429ac1666ec0f00d48c1f610d29af2ff5d1f2e Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 28 Jul 2016 08:23:37 +0000 Subject: [PATCH] dis_neon_data_3same: for the case A==12, don't silently produce invalid IR which then causes the sanity checker to abort the run. Instead synthesise a SIGILL in the normal way. git-svn-id: svn://svn.valgrind.org/vex/trunk@3233 --- VEX/priv/guest_arm_toIR.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/VEX/priv/guest_arm_toIR.c b/VEX/priv/guest_arm_toIR.c index 5260c99087..10fe3d139a 100644 --- a/VEX/priv/guest_arm_toIR.c +++ b/VEX/priv/guest_arm_toIR.c @@ -4597,6 +4597,9 @@ Bool dis_neon_data_3same ( UInt theInstr, IRTemp condT ) } } break; + case 12: { + return False; + } /* Starting from here these are FP SIMD cases */ case 13: if (B == 0) { @@ -4810,6 +4813,9 @@ Bool dis_neon_data_3same ( UInt theInstr, IRTemp condT ) } } break; + default: + /*NOTREACHED*/ + vassert(0); } if (Q) { -- 2.47.2