From 6a988f6813aa5d929ec7f8aa17946f2d9cf511ce Mon Sep 17 00:00:00 2001 From: Ola Liljedahl Date: Thu, 27 Feb 2020 15:10:03 +0100 Subject: networking: New subproject. Add scalar and NEON ones' complement checksumming implementations for AArch64 and Armv7-A. --- config.mk.dist | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'config.mk.dist') 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 -- cgit v1.2.3