[dpdk-dev] [PATCH v2] mempool/octeontx2: fix arm64 clang build failure

Thomas Monjalon thomas at monjalon.net
Fri Jul 5 11:02:31 CEST 2019


05/07/2019 06:26, pbhagavatula at marvell.com:
> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> 
> The ARMv8.1 CASP instruction works with even register pairs and since
> there no register constraint in older versions of GCC/Clang, use
> explicit register allocation to satisfy CASP requirements.
> Remove function level optimization specification as Clang doesnt have
> support for it and explicit register allocation removes the need for it.
> 
> Fixes build issue with arm64-armv8a-linux-clang.
> 
> Fixes: ee338015e7a9 ("mempool/octeontx2: add optimized dequeue operation for arm64")
> 
> Reported-by: Gavin Hu <gavin.hu at arm.com>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> Acked-by: Jerin Jacob <jerinj at marvell.com>

Applied, thanks




More information about the dev mailing list