From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6126C45FD9; Fri, 3 Jan 2025 21:39:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D27D4067C; Fri, 3 Jan 2025 21:39:49 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 7C672402DC for ; Fri, 3 Jan 2025 21:39:48 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 994B42041AAA; Fri, 3 Jan 2025 12:39:47 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 994B42041AAA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1735936787; bh=N7gGmJrlVujXhABWF5EvIJBjspK9Mt1D9tTUEqM8O2s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X2TaSwA9sQazlSGBon9JlCafVAz3HqZwIbmPI4P6/jtlviSVZGlsWUbeSd1dFLWCI B/FoMyqem7gL4Lby1US1PV2P34tpqGY6x2iOFCoRpdwbVu/PzcS14rWVjfcf4OVmB9 1HMvkj14CInLeuh8sOf/nEf6ZD3ePEK5tgn9lhKU= From: Andre Muezerie To: andremue@linux.microsoft.com Cc: dev@dpdk.org, mb@smartsharesystems.com Subject: [PATCH v2 0/5] add portable version of __builtin_add_overflow Date: Fri, 3 Jan 2025 12:39:36 -0800 Message-Id: <1735936781-24199-1-git-send-email-andremue@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1735857169-19131-1-git-send-email-andremue@linux.microsoft.com> References: <1735857169-19131-1-git-send-email-andremue@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org __builtin_add_overflow is gcc specific. There's a need for a portable version that can also be used with other compilers. Andre Muezerie (5): maintainers: add portable version of __builtin_add_overflow lib/eal: add portable version of __builtin_add_overflow doc/api: add portable version of __builtin_add_overflow drivers/net: use portable version of __builtin_add_overflow app/test: add tests for portable version of __builtin_add_overflow MAINTAINERS | 1 + app/test/meson.build | 1 + app/test/test_math.c | 170 +++++++++++++++++++++++++++++++++ doc/api/doxy-api-index.md | 1 + drivers/net/ice/base/ice_nvm.c | 9 +- lib/eal/include/meson.build | 1 + lib/eal/include/rte_math.h | 46 +++++++++ 7 files changed, 224 insertions(+), 5 deletions(-) create mode 100644 app/test/test_math.c create mode 100644 lib/eal/include/rte_math.h -- 2.47.0.vfs.0.3