<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection"><font color="#333333"><br />
I am trying to compile mesa 13.0.1 with gcc 6.1.0 on intel xeon e5-2667 and<br />
have the following error:<br />
<br />
/tmp/ccZQUeyV.s: Assembler messages:<br />
/tmp/ccZQUeyV.s:963: Error: no such instruction: `shrx %esi,4(%rax,%rdi,4),%ecx'<br />
/tmp/ccZQUeyV.s:1592: Error: no such instruction: `shlx %eax,%edi,%eax'<br />
/tmp/ccZQUeyV.s:7242: Error: no such instruction: `shlx %ecx,%eax,%eax'<br />
/tmp/ccZQUeyV.s:7819: Error: no such instruction: `shrx %eax,12(%rcx),%eax'<br />
/tmp/ccZQUeyV.s:8190: Error: no such instruction: `shrx %eax,16(%rcx),%eax'<br />
/tmp/ccZQUeyV.s:8319: Error: no such instruction: `shrx %edi,28(%rax),%edx'<br />
make[5]: *** [libswrAVX2_la-swr_state.lo] Error 1<br />
<br />
in /proc/cpuinfo, the cpu has avx and avx2 enabled. What should I do to compile mesa 13.0.1 with Intel OpenSWR.<br />
<br />
FYI, my configuration is as follows:<br />
<br />
  ./configure CXXFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \<br />
              CFLAGS="-O2 -g -DDEFAULT_SOFTWARE_DEPTH_BITS=31" \<br />
              --disable-dri --disable-egl --enable-xlib-glx \<br />
              --with-gallium-drivers="swrast,swr" --enable-texture-float \<br />
              --with-egl-platforms="" --enable-gallium-osmesa \<br />
              --enable-gallium-llvm=yes --enable-llvm-shared-libs \<br />
              --with-llvm-prefix="/opt/llvm/3.8.1"<br />
<br /></font></div>
<div name="messageSignatureSection"><br /></div>
</body>
</html>