public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [Patch][RFA]: New cgen operation: ADDCFDI
@ 2001-07-12 11:23 Dave Brolley
  2001-07-12 13:08 ` Frank Ch. Eigler
  2001-07-13 14:08 ` Dave Brolley
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Brolley @ 2001-07-12 11:23 UTC (permalink / raw)
  To: cgen, sid

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch][RFA]: New cgen operation: ADDCFDI
  2001-07-12 11:23 [Patch][RFA]: New cgen operation: ADDCFDI Dave Brolley
@ 2001-07-12 13:08 ` Frank Ch. Eigler
  2001-07-13 14:08 ` Dave Brolley
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2001-07-12 13:08 UTC (permalink / raw)
  To: Dave Brolley; +Cc: cgen, sid

Hi -

: [...]
: I needed to use (add-cflag DI arg1 arg2) in an internal port. This patch 
: adds that operation to cgen.
: 
: OK to commit?

Sure, and all similar future changes too.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7TgPMVZbdDOm/ZT0RAl4PAJ4uRy0IIPLO0vS0hTiA5Y8hkk3kqgCePLLw
Bhzn70nZ8YR36Eq7UNazvcU=
=cC4l
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch][RFA]: New cgen operation: ADDCFDI
  2001-07-12 11:23 [Patch][RFA]: New cgen operation: ADDCFDI Dave Brolley
  2001-07-12 13:08 ` Frank Ch. Eigler
@ 2001-07-13 14:08 ` Dave Brolley
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Brolley @ 2001-07-13 14:08 UTC (permalink / raw)
  To: cgen, sid

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));

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-13 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-12 11:23 [Patch][RFA]: New cgen operation: ADDCFDI Dave Brolley
2001-07-12 13:08 ` Frank Ch. Eigler
2001-07-13 14:08 ` Dave Brolley

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).