]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix an obscure type error in printing of Neon instructions, that
authorJulian Seward <jseward@acm.org>
Thu, 22 Sep 2011 21:01:52 +0000 (21:01 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 22 Sep 2011 21:01:52 +0000 (21:01 +0000)
could cause assertion failures under some circumstances.  (How come
none of the static checkers etc picked this up before now?)

git-svn-id: svn://svn.valgrind.org/vex/trunk@2202

VEX/priv/host_arm_defs.c

index 4230f8801a55b96491a3ffe371c010e56d312fae..38ed9b5206533d0d2f9e21276b8709f9c3fff450 100644 (file)
@@ -1811,8 +1811,8 @@ void ppARMInstr ( ARMInstr* i ) {
          return;
       case ARMin_NUnaryS:
          vex_printf("%s%s%s  ",
-                    showARMNeonUnOp(i->ARMin.NUnary.op),
-                    showARMNeonUnOpDataType(i->ARMin.NUnary.op),
+                    showARMNeonUnOpS(i->ARMin.NUnaryS.op),
+                    showARMNeonUnOpSDataType(i->ARMin.NUnaryS.op),
                     showARMNeonDataSize(i));
          ppARMNRS(i->ARMin.NUnaryS.dst);
          vex_printf(", ");