From: "Mattias Engdegård" <mattias.engdegard@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 70898@debbugs.gnu.org
Subject: bug#70898: switching to <stdbit.h> for Emacs bit ops
Date: Mon, 13 May 2024 16:34:48 +0200 [thread overview]
Message-ID: <69689DCA-4836-49F2-B163-0F5D151FF03F@gmail.com> (raw)
In-Reply-To: <d4343052-d2f4-4615-8a1a-aac76c405fde@cs.ucla.edu>
Has C23 been frozen yet? The most recent accessible draft I could find was N3096.
Overall happy with the changes but haven't read them in detail.
Minor things I stumbled upon:
> @@ -4269,7 +4263,9 @@ endif
> ## begin gnulib module verify
> ifeq (,$(OMIT_GNULIB_MODULE_verify))
>
> +ifneq (,$(gl_GNULIB_ENABLED_verify_CONDITION))
>
> +endif
Unfinished work?
> +/* 1 if supported, -1 if not, 0 if unknown. */
> +extern signed char __gl_stdint_popcount_support;
`__gl_stdbit_popcount_support`, maybe?
(By the way, in case you are on the WG: the N3096 draft has
> 7.18.8 First Leading One
...
> Returns the most significant index of the first 1 bit in value, plus 1.
Someone jumbled that sentence. Something like "the index of the most significant 1 bit" was probably intended.
next prev parent reply other threads:[~2024-05-13 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-12 22:09 bug#70898: switching to <stdbit.h> for Emacs bit ops Paul Eggert
2024-05-13 14:34 ` Mattias Engdegård [this message]
2024-05-13 16:56 ` Paul Eggert
2024-05-14 11:11 ` Mattias Engdegård
2024-05-18 17:32 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69689DCA-4836-49F2-B163-0F5D151FF03F@gmail.com \
--to=mattias.engdegard@gmail.com \
--cc=70898@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.