public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Dave Brolley <brolley@redhat.com>
To: cgen@sources.redhat.com, sid@sources.redhat.com
Subject: Re: [Patch][RFA]: New cgen operation: ADDCFDI
Date: Fri, 13 Jul 2001 14:08:00 -0000	[thread overview]
Message-ID: <3B4F6364.F261DEDB@redhat.com> (raw)
In-Reply-To: <3B4DEB32.9050104@redhat.com>

Approved by fche and committed.

Dave

Dave Brolley wrote:

> Hi,
>
> I needed to use (add-cflag DI arg1 arg2) in an internal port. This patch
> adds that operation to cgen.
>
> OK to commit?
>
> Dave
>
>   ------------------------------------------------------------------------
> 2001-07-12  Dave Brolley  <brolley@redhat.com>
>
>         * cgen-ops.h (ADDCFDI): New function.
>
>   ------------------------------------------------------------------------
> Index: sid/component/cgen-cpu/cgen-ops.h
> ===================================================================
> RCS file: /cvs/src/src/sid/component/cgen-cpu/cgen-ops.h,v
> retrieving revision 1.3
> diff -c -p -r1.3 cgen-ops.h
> *** cgen-ops.h  2001/01/10 20:26:43     1.3
> --- cgen-ops.h  2001/07/12 17:46:23
> *************** ADDCFSI (SI a, SI b, BI c)
> *** 389,394 ****
> --- 389,402 ----
>   }
>
>   inline BI
> + ADDCFDI (DI a, DI b, BI c)
> + {
> +   DI tmp = ADDDI (a, ADDDI (b, c));
> +   BI res = ((UDI) tmp < (UDI) a) || (c && tmp == a);
> +   return res;
> + }
> +
> + inline BI
>   ADDOFHI (HI a, HI b, BI c)
>   {
>     HI tmp = ADDHI (a, ADDHI (b, c));

      parent reply	other threads:[~2001-07-13 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-12 11:23 Dave Brolley
2001-07-12 13:08 ` Frank Ch. Eigler
2001-07-13 14:08 ` Dave Brolley [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=3B4F6364.F261DEDB@redhat.com \
    --to=brolley@redhat.com \
    --cc=cgen@sources.redhat.com \
    --cc=sid@sources.redhat.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).