e88bd47467
Building with gcc 10.2 with SVE extension enabled got error:
{standard input}: Assembler messages:
{standard input}:91: Error: selected processor does not support `addvl x4,x8,#-1'
{standard input}:95: Error: selected processor does not support `ptrue p1.d,all'
{standard input}:135: Error: selected processor does not support `whilelo p2.d,xzr,x5'
{standard input}:137: Error: selected processor does not support `decb x1'
This is because inline assembly code explicitly resets cpu model to
not have SVE support. Thus SVE instructions generated by compiler
auto vectorization got rejected by assembler.
Added SVE to the cpu model specified by inline assembly for SVE support.
Not replacing the inline assembly with C atomics because the driver relies
on specific LSE instruction to interface to co-processor [1].
Fixes:
|
||
---|---|---|
.. | ||
meson.build | ||
octeontx_bgx.c | ||
octeontx_bgx.h | ||
octeontx_io.h | ||
octeontx_pki_var.h | ||
octeontx_pkivf.c | ||
octeontx_pkivf.h | ||
octeontx_pkovf.c | ||
octeontx_pkovf.h |