public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [patch]: Add RORHI, ROLHI
@ 2001-11-18 15:49 Dave Brolley
  2001-12-18 17:09 ` Dave Brolley
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Brolley @ 2001-11-18 15:49 UTC (permalink / raw)
  To: sid

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

Hi,

I've committed this simple patch which adds RORHI and ROLHI operations
to the cgen rtl language.

Dave

[-- Attachment #2: rothi.ChangeLog --]
[-- Type: text/plain, Size: 104 bytes --]

2001-12-18  Dave Brolley  <brolley@redhat.com>

	* cgen-ops.h (ROLHI): New macro.
	(RORHI): New macro.


[-- Attachment #3: rothi.patch.txt --]
[-- Type: text/plain, Size: 853 bytes --]

Index: sid/component/cgen-cpu/cgen-ops.h
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/cgen-ops.h,v
retrieving revision 1.7
diff -c -p -r1.7 cgen-ops.h
*** sid/component/cgen-cpu/cgen-ops.h	2001/12/17 20:35:09	1.7
--- sid/component/cgen-cpu/cgen-ops.h	2001/12/19 01:04:22
*************** namespace cgen {
*** 149,154 ****
--- 149,156 ----
  // XXX: fill out families of functions
  #define RORQI(x, y) (SRLQI((x), (y)) | SLLQI((x), 8-(y)))
  #define ROLQI(x, y) (SLLQI((x), (y)) | SRLQI((x), 8-(y)))
+ #define RORHI(x, y) (SRLHI((x), (y)) | SLLHI((x), 16-(y)))
+ #define ROLHI(x, y) (SLLHI((x), (y)) | SRLHI((x), 16-(y)))
  #define RORSI(x, y) (SRLSI((x), (y)) | SLLSI((x), 32-(y)))
  #define ROLSI(x, y) (SLLSI((x), (y)) | SRLSI((x), 32-(y)))
  #define JOINSIDI(x, y)  (MAKEDI(x, y))

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

* [patch]: Add RORHI, ROLHI
  2001-11-18 15:49 [patch]: Add RORHI, ROLHI Dave Brolley
@ 2001-12-18 17:09 ` Dave Brolley
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Brolley @ 2001-12-18 17:09 UTC (permalink / raw)
  To: sid

Hi,

I've committed this simple patch which adds RORHI and ROLHI operations
to the cgen rtl language.

Dave

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

end of thread, other threads:[~2001-12-19  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-18 15:49 [patch]: Add RORHI, ROLHI Dave Brolley
2001-12-18 17:09 ` 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).