From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10070 invoked from network); 31 May 2023 14:48:54 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 31 May 2023 14:48:54 -0000 Received: (qmail 27988 invoked by uid 550); 31 May 2023 14:48:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 27949 invoked from network); 31 May 2023 14:48:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=nVVao5QdpNx0biwcyKlg6RifEf7x0V6sUssINqutKoQ=; b=b1D6v80NkVdY2Adjwq/HY+YTTJm/Z9vSYMn0I5sOnLnxe4K8yaAipb9O SXO7vGUhWfwvR/RRSGRXUySAe2/mb/6O4rHJidTJQatpsyJroc2sxdF8u BX0EN1tvdrUbWoVymngJKeAIZa/YzCvl8URhVSldbjvs4/biFLTFp5App 4=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Jens.Gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,207,1681164000"; d="scan'208";a="57467752" From: Jens Gustedt To: musl@lists.openwall.com Date: Wed, 31 May 2023 16:48:32 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [C23 stdbit.h 0/2] just one big C file The main question remaining for this functionality is to know if we leave this as one big chunk in one C file, or if we split this up per implemented function. I don't think that the latter is necessary nowadays since we now use function sections. Please advise. Another point that is still open, is to know which functions will effectively be included in C23. There is still some redundancy, so if there are strong opinions I could still forward the arguments to WG14 for the June session. Jens Gustedt (2): implement low level popcount C23: add the bit and byte utilities include/stdbit.h | 442 ++++++++++++++++++++++++++++++++++++++++++ src/internal/atomic.h | 45 +++++ src/stdbit/stdbit.c | 231 ++++++++++++++++++++++ 3 files changed, 718 insertions(+) create mode 100644 include/stdbit.h create mode 100644 src/stdbit/stdbit.c -- 2.34.1