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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git