]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
dis_neon_data_3same: for the case A==12, don't silently produce invalid IR
authorJulian Seward <jseward@acm.org>
Thu, 28 Jul 2016 08:23:37 +0000 (08:23 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 28 Jul 2016 08:23:37 +0000 (08:23 +0000)
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

index 5260c990877ec0f34657c64e14cc50f4b984a8db..10fe3d139a57319b89f878ffe07553805c6e2bbd 100644 (file)
@@ -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) {