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 AAB4545FCC; Thu, 2 Jan 2025 23:32:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BA0C402D8; Thu, 2 Jan 2025 23:32:55 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 3F377402B4 for ; Thu, 2 Jan 2025 23:32:54 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 712622041A87; Thu, 2 Jan 2025 14:32:53 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 712622041A87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1735857173; bh=ASkB5uIgeJ1ZnzIkWT4zyyxLKfMS+C4K/qyLwXgaUIA=; h=From:To:Cc:Subject:Date:From; b=M+vO3khyfpS1HDHqRu+jqxia7rv1cThK6LHxnXW91lXm7IeicO9W/o9Z3OlwKo3DI jKYeAV6kHt48tsA3LjBPsXtgKQcTM8RPcgeSxf0nmEukYGmXI7HGRhCqvqJhol7T4o HPD40cdod33L0d17omm6SaULMdpZfWq5UzAZwonw= From: Andre Muezerie To: Cc: dev@dpdk.org, Andre Muezerie Subject: [PATCH 0/5] add portable version of __builtin_add_overflow Date: Thu, 2 Jan 2025 14:32:43 -0800 Message-Id: <1735857169-19131-1-git-send-email-andremue@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 versions of __builtin_add_overflow MAINTAINERS | 1 + app/test/meson.build | 1 + app/test/test_math.c | 125 +++++++++++++++++++++++++++++++++ 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 | 42 +++++++++++ 7 files changed, 175 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