aboutsummaryrefslogtreecommitdiff
path: root/config.mk.dist
diff options
context:
space:
mode:
authorOla Liljedahl <ola.liljedahl@arm.com>2020-02-27 15:10:03 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-02-27 17:05:51 +0000
commit6a988f6813aa5d929ec7f8aa17946f2d9cf511ce (patch)
tree44d03c453732bf5f47323e08cae711ea0fcc7e8f /config.mk.dist
parent6f41cff0221e245745b39a246f1129050e8e0c6d (diff)
downloadarm-optimized-routines-6a988f6813aa5d929ec7f8aa17946f2d9cf511ce.tar.gz
networking: New subproject.
Add scalar and NEON ones' complement checksumming implementations for AArch64 and Armv7-A.
Diffstat (limited to 'config.mk.dist')
-rw-r--r--config.mk.dist9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.mk.dist b/config.mk.dist
index 3f179d8..2336c52 100644
--- a/config.mk.dist
+++ b/config.mk.dist
@@ -4,7 +4,7 @@
# SPDX-License-Identifier: MIT
# Subprojects to build
-SUBS = math string
+SUBS = math string networking
# Target architecture: aarch64, arm or x86_64
ARCH = aarch64
@@ -40,6 +40,7 @@ math-ldlibs =
math-ulpflags =
math-testflags =
string-cflags =
+networking-cflags =
# Use if mpfr is available on the target for ulp error checking.
#math-ldlibs += -lmpfr -lgmp
@@ -58,3 +59,9 @@ math-cflags += -ffp-contract=fast -fno-math-errno
# Disable fenv checks
#math-ulpflags = -q -f
#math-testflags = -nostatus
+
+# Enable assertion checks.
+#networking-cflags += -DWANT_ASSERT
+
+# Avoid auto-vectorization of scalar code and unroll loops
+networking-cflags += -O2 -fno-tree-vectorize -funroll-loops