public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Andrew Cooper via Gcc <gcc@gcc.gnu.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: Builtin for consulting value analysis (better ffs() code gen)
Date: Thu, 14 Mar 2024 12:02:13 +0100	[thread overview]
Message-ID: <87frwtm5ze.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <06d7af49-c4a9-43d5-a18f-266439c7f82d@citrix.com> (Andrew Cooper via Gcc's message of "Thu, 14 Mar 2024 00:03:28 +0000")

* Andrew Cooper via Gcc:

> Anyway - is there a way of doing this that I've managed to overlook?

Use __builtin_ffs?

I think there's some concern for GCC that some of the alternative x86-64
implementations do not follow the AMD and Intel behavior.

Thanks,
Florian


  parent reply	other threads:[~2024-03-14 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14  0:03 Andrew Cooper
2024-03-14  6:04 ` Alexander Monakov
2024-03-14 11:30   ` Andrew Cooper
2024-03-14 12:03     ` Andreas Schwab
2024-03-14 15:33       ` Andrew Cooper
2024-03-21  8:15         ` LIU Hao
2024-03-14 11:02 ` Florian Weimer [this message]
2024-03-14 11:52   ` Andrew Cooper

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=87frwtm5ze.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=gcc@gcc.gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).