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

            Bug ID: 510864
           Summary: Add SSE4.1 support for 32-bit x86
    Classification: Developer tools
           Product: valgrind
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

include <stdio.h>

int main()
{
    int t;
    int one[1] = {1};
    asm volatile(
            "pxor %%xmm0,%%xmm0\n\t"
            "movd %1,%%xmm1\n\t"
            "pmaxsd %%xmm1,%%xmm0\n\t"
            "movd %%xmm0,%0\n\t"
            : "=r"(t) : "m"(one));
    printf(" %d\n", t);
    return 0;
}

It'll work fine on 64-bit and if you compile it on 32-bit it will work fine but
Valgrind will complain about illegal instruction

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

Reply via email to