Skip to content

Commit

Permalink
add missing binops and types (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
markro49 authored Aug 22, 2023
1 parent 120e77b commit 80073fc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions valgrind/fjalar/kvasir/dyncomp_translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,8 +1255,10 @@ IRAtom* expr2tags_Binop_DC ( DCEnv* dce,
case Iop_ShrN16x4:
case Iop_ShrN32x2:

case Iop_Perm8x8: // only used by arm
case Iop_Perm8x8:
case Iop_PermOrZero8x8:
case Iop_Perm8x16:
case Iop_PermOrZero8x16:

/* ------------------ 256-bit SIMD Integer. ------------------ */
case Iop_SarN16x16:
Expand Down Expand Up @@ -1506,8 +1508,6 @@ IRAtom* expr2tags_Binop_DC ( DCEnv* dce,
case Iop_PackOddLanes16x8: // only used by mips
case Iop_PackOddLanes32x4: // only used by mips
case Iop_PackOddLanes8x16: // only used by mips
case Iop_Perm8x16: // only used by ppc arm64
case Iop_PermOrZero8x16:
case Iop_PolynomialMulAdd16x8: // only used by ppc
case Iop_PolynomialMulAdd32x4: // only used by ppc
case Iop_PolynomialMulAdd64x2: // only used by ppc
Expand Down Expand Up @@ -2145,7 +2145,9 @@ IRAtom* expr2tags_LDle_DC ( DCEnv* dce, IRType ty, IRAtom* addr, UInt bias )
case Ity_I32:
case Ity_I64:
return expr2tags_LDle_WRK_DC(dce, ty, addr, bias);
case Ity_I128:
case Ity_V128:
case Ity_V256: // not right, should do 4 times?
v64lo = expr2tags_LDle_WRK_DC(dce, Ity_I64, addr, bias);
v64hi = expr2tags_LDle_WRK_DC(dce, Ity_I64, addr, bias+8);

Expand Down Expand Up @@ -2442,7 +2444,9 @@ void do_shadow_STle_DC ( DCEnv* dce,
/* Now decide which helper function to call to write the data tag
into shadow memory. */
switch (ty) {
case Ity_V256: // not right, should do 4 times?
case Ity_V128: /* we'll use the helper twice */
case Ity_I128: /* we'll use the helper twice */
case Ity_I64: helper = &MC_(helperc_STORE_TAG_8);
hname = "MC_(helperc_STORE_TAG_8)";
break;
Expand Down

0 comments on commit 80073fc

Please sign in to comment.