09/05/2018 09:43, Xu, Rosen: > From: Rosen Xu <rosen...@intel.com> > > Add Intel FPGA BUS Rawdev Driver which is based on > librte_rawdev library. > > Signed-off-by: Rosen Xu <rosen...@intel.com> > Signed-off-by: Yanglong Wu <yanglong...@intel.com> > Signed-off-by: Tianfei Zhang <tianfei.zh...@intel.com> > Acked-by: Shreyansh Jain <shreyansh.j...@nxp.com>
I have a compilation error: drivers/raw/ifpga_rawdev/base/ifpga_fme_pr.c:10:15: error: instruction requires: AVX-512 ISA because of vmovdqu64: #if defined(RTE_ARCH_X86_64) static inline void copy512(const void *src, void *dst) { asm volatile("vmovdqu64 (%0), %%zmm0;" "vmovntdq %%zmm0, (%1);" : : "r"(src), "r"(dst)); } #else static inline void copy512(const void *src, void *dst) { UNUSED(src); UNUSED(dst); WARN_ON(1); } #endif I suggest to fix it quickly without waiting a v11 with this: static inline void copy512(const void *src, void *dst) { #ifdef CC_SUPPORT_AVX512F asm volatile("vmovdqu64 (%0), %%zmm0;" "vmovntdq %%zmm0, (%1);" : : "r"(src), "r"(dst)); #else UNUSED(src); UNUSED(dst); WARN_ON(1); #endif } It does not make any runtime detection, but it's better than previously.