b3b36f0fbf
--buildtype=debug with gcc 6.3 produces the following error: ../lib/librte_acl/acl_run_avx512_common.h: In function ‘resolve_match_idx_avx512x16’: ../lib/librte_acl/acl_run_avx512x16.h:33:18: error: the last argument must be an 8-bit immediate ^ ../lib/librte_acl/acl_run_avx512_common.h:373:9: note: in expansion of macro ‘_M_I_’ return _M_I_(slli_epi32)(mi, match_log); ^~~~~ Seems like gcc-6.3 complains about the following construct: static const uint32_t match_log = 5; ... _mm512_slli_epi32(mi, match_log); It can't substitute constant variable 'match_log' with its actual value. The fix replaces constant variable with its immediate value. Bugzilla ID: 717 Fixes: |
||
---|---|---|
.. | ||
acl_bld.c | ||
acl_gen.c | ||
acl_run_altivec.c | ||
acl_run_altivec.h | ||
acl_run_avx2.c | ||
acl_run_avx2.h | ||
acl_run_avx512_common.h | ||
acl_run_avx512.c | ||
acl_run_avx512x8.h | ||
acl_run_avx512x16.h | ||
acl_run_neon.c | ||
acl_run_neon.h | ||
acl_run_scalar.c | ||
acl_run_sse.c | ||
acl_run_sse.h | ||
acl_run.h | ||
acl_vect.h | ||
acl.h | ||
meson.build | ||
rte_acl_osdep.h | ||
rte_acl.c | ||
rte_acl.h | ||
tb_mem.c | ||
tb_mem.h | ||
version.map |