From: Paul Koning <paulkoning@comcast.net>
To: GCC Development <gcc@gcc.gnu.org>
Cc: "Péntek Imre" <pentek.imre@gmail.com>,
"Marc Glisse" <marc.glisse@inria.fr>
Subject: Re: clarification question
Date: Sun, 23 Oct 2022 10:59:15 -0400 [thread overview]
Message-ID: <D98086A3-76DF-4465-95DF-794579917400@comcast.net> (raw)
In-Reply-To: <05af051f-deb4-ea6c-19aa-bce5207513bc@inria.fr>
> On Oct 22, 2022, at 2:38 PM, Marc Glisse via Gcc <gcc@gcc.gnu.org> wrote:
>
> On Sat, 22 Oct 2022, Péntek Imre via Gcc wrote:
>
>> https://gcc.gnu.org/backends.html
>>
>> by "Architecture does not have a single condition code register" do you mean it has none or do you mean it has multiple?
>
> Either.
>
> If you look at the examples below, there is a C for riscv, which has 0, and one for sparc, which has several.
Also pdp11, which has two: one for floating point, one for integers, and conditional branches act only on the integer CC register. So the MD has to describe a "move float CC to integer CC" operation.
GCC supports all these strange things quite nicely -- this is one of several things that the newer CCmode machinery does well and the old "cc0" stuff doesn't.
paul
prev parent reply other threads:[~2022-10-23 14:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 18:12 Péntek Imre
2022-10-22 18:38 ` Marc Glisse
2022-10-23 14:59 ` Paul Koning [this message]
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=D98086A3-76DF-4465-95DF-794579917400@comcast.net \
--to=paulkoning@comcast.net \
--cc=gcc@gcc.gnu.org \
--cc=marc.glisse@inria.fr \
--cc=pentek.imre@gmail.com \
/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).