From: Julian Seward Date: Thu, 28 Jul 2016 08:23:37 +0000 (+0000) Subject: dis_neon_data_3same: for the case A==12, don't silently produce invalid IR X-Git-Tag: svn/VALGRIND_3_12_0^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e429ac1666ec0f00d48c1f610d29af2ff5d1f2e;p=thirdparty%2Fvalgrind.git 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 --- 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) {