numam-dpdk/lib/librte_eal
Ruifeng Wang 8fce34cd0a eal/arm: fix clang build of native target
When doing Clang build with '-mcpu=native' on N1 platform, build failed
with:
../lib/librte_eal/arm/include/rte_atomic_64.h:76:39:
	error: instruction requires: lse
__ATOMIC128_CAS_OP(__cas_128_release, "caspl")

This is because native detection for Neoverse N1 was added in Clang-11.
Prior version of Clang's assembler doesn't know LSE support on hardware.
Fixed this for Clang earlier than version 11 by specifying architecture
for assembler.
Referred to [1] for this fix.

Fixes: 7e2c3e17fe ("eal/arm64: add 128-bit atomic compare exchange")
Cc: stable@dpdk.org

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e0d5896bd356cd577f9710a02d7a474cdf58426b

Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
2020-11-13 10:30:48 +01:00
..
arm eal/arm: fix clang build of native target 2020-11-13 10:30:48 +01:00
common trace: make CTF metadata prettier 2020-10-29 22:49:22 +01:00
freebsd eal: fix interrupt trace point 2020-10-29 16:30:49 +01:00
include eal: fix power intrinsics API description 2020-11-03 22:45:24 +01:00
linux vfio: use static window sizing for sPAPR IOMMU 2020-11-13 09:35:18 +01:00
ppc eal: fix MCS lock and ticketlock headers install 2020-11-05 12:08:19 +01:00
unix timer: move from common to Unix directory 2020-06-23 18:33:20 +02:00
windows eal/windows: fix deadlock when setting alarm 2020-11-03 22:45:02 +01:00
x86 eal: fix MCS lock and ticketlock headers install 2020-11-05 12:08:19 +01:00
meson.build eal/windows: use bundled getopt with MinGW 2020-10-05 09:12:24 +02:00
rte_eal_exports.def eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
version.map eal: add intrinsics support check infrastructure 2020-10-29 22:46:31 +01:00