DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] build: add -moutline-atomics to default Arm build
@ 2020-10-01  6:19 Juraj Linkeš
  2020-10-06 20:14 ` Thomas Monjalon
  2020-10-09  9:50 ` [dpdk-dev] [PATCH v2] " Juraj Linkeš
  0 siblings, 2 replies; 7+ messages in thread
From: Juraj Linkeš @ 2020-10-01  6:19 UTC (permalink / raw)
  To: bruce.richardson; +Cc: dev, Juraj Linkeš

-moutline-atomics allows LSE instructions to be used if available when
compiling for ARMv8.0 instruction set. It's enabled by default on newer
compilers, such as gcc-10.1. Enable the option so that earlier compiler
versions that support it but don't enable it by default build with it.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 config/arm/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8728051d5..b195ec850 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -88,7 +88,7 @@ flags_octeontx2_extra = [
 	['RTE_USE_C11_MEM_MODEL', true]]
 
 machine_args_generic = [
-	['default', ['-march=armv8-a+crc']],
+	['default', ['-march=armv8-a+crc', '-moutline-atomics']],
 	['native', ['-march=native']],
 	['0xd03', ['-mcpu=cortex-a53']],
 	['0xd04', ['-mcpu=cortex-a35']],
-- 
2.20.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-13 13:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01  6:19 [dpdk-dev] [PATCH] build: add -moutline-atomics to default Arm build Juraj Linkeš
2020-10-06 20:14 ` Thomas Monjalon
2020-10-09  5:29   ` Ruifeng Wang
2020-10-09  6:52     ` Thomas Monjalon
2020-10-09  7:07       ` Ruifeng Wang
2020-10-09  9:50 ` [dpdk-dev] [PATCH v2] " Juraj Linkeš
2020-10-13 13:16   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).