https://bugs.kde.org/show_bug.cgi?id=476978

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@klomp.org
            Summary|[SSE4.1] missing support    |[SSE4.1] missing support
                   |for PMAXUD                  |for PMAXUD (x86)

--- Comment #1 from Mark Wielaard <m...@klomp.org> ---
Note that this is implemented for amd64, just not for x86 (32bit).

See VEX/priv/guest_amd64_toIR.c (dis_ESC_0F38__SSE4):

   case 0x3B:
   case 0x3F:
      /* 66 0F 38 3B /r = PMINUD xmm1, xmm2/m128
         Minimum of Packed Unsigned Doubleword Integers (XMM)
         66 0F 38 3F /r = PMAXUD xmm1, xmm2/m128
         Maximum of Packed Unsigned Doubleword Integers (XMM)
      */
      if (have66noF2noF3(pfx) && sz == 2) {
         /* FIXME: this needs an alignment check */
         Bool isMAX = opc == 0x3F;
         delta = dis_SSEint_E_to_G(
                    vbi, pfx, delta,
                    isMAX ? "pmaxud" : "pminud",
                    isMAX ? Iop_Max32Ux4 : Iop_Min32Ux4,
                    False
                 );
         goto decode_success;
      }
      break;

With tests in none/tests/amd64/sse4-64.c.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to