public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dmitry <diwil@eis.ru>
To: gcc@gnu.org
Subject: condition codes question
Date: Tue, 29 Oct 2002 10:24:00 -0000	[thread overview]
Message-ID: <200210291421.02399.diwil@eis.ru> (raw)

Fellows,
My arch has no SImode comparison instructions. So, I have to perform them as 
subsi and then branch. In this case a scratch register required. But, if the 
CC is NE or EQ, sub insn and scratch are not required. 
I can define two insn patterns - one for ne/eq comparisons and another for 
others. Then call them from expander. But there I have to know a condition 
code. 
Therefore the question is:
Is it possible to get a condition code in CC expander?


Thanks in advance,
Dmitry.

             reply	other threads:[~2002-10-29 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 10:24 Dmitry [this message]
2002-10-31 11:41 ` Richard Henderson

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=200210291421.02399.diwil@eis.ru \
    --to=diwil@eis.ru \
    --cc=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).