]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Unbreak Altivec code following vex r2159 (renaming of
authorJulian Seward <jseward@acm.org>
Wed, 15 Jun 2011 19:07:26 +0000 (19:07 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 15 Jun 2011 19:07:26 +0000 (19:07 +0000)
vector saturating narrowing primops)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11817

memcheck/mc_translate.c

index 0b5e4104260f8bb51e43da26844b5a01f9994ea8..4d4b125c7e7e8abd8c372460340dfbd468e98e51 100644 (file)
@@ -1991,6 +1991,7 @@ IRAtom* vectorNarrowV128 ( MCEnv* mce, IROp narrow_op,
       case Iop_QNarrow32Uto16Ux8: pcast = mkPCast32x4; break;
       case Iop_QNarrow32Sto16Ux8: pcast = mkPCast32x4; break;
       case Iop_QNarrow16Sto8Sx16: pcast = mkPCast16x8; break;
+      case Iop_QNarrow16Uto8Ux16: pcast = mkPCast16x8; break;
       case Iop_QNarrow16Sto8Ux16: pcast = mkPCast16x8; break;
       default: VG_(tool_panic)("vectorNarrowV128");
    }
@@ -2708,6 +2709,7 @@ IRAtom* expr2vbits_Binop ( MCEnv* mce,
       case Iop_QNarrow32Uto16Ux8:
       case Iop_QNarrow32Sto16Ux8:
       case Iop_QNarrow16Sto8Sx16:
+      case Iop_QNarrow16Uto8Ux16:
       case Iop_QNarrow16Sto8Ux16:
          return vectorNarrowV128(mce, op, vatom1, vatom2);