From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9508 invoked by alias); 19 Dec 2001 01:09:47 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 9410 invoked from network); 19 Dec 2001 01:08:31 -0000 Message-ID: <3C1FE8A3.AAF845D9@redhat.com> Date: Sun, 18 Nov 2001 15:49:00 -0000 From: Dave Brolley X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: sid@sources.redhat.com Subject: [patch]: Add RORHI, ROLHI Content-Type: multipart/mixed; boundary="------------F4C8CBD5695CEF4575C50CEB" X-SW-Source: 2001-q4/txt/msg00033.txt.bz2 This is a multi-part message in MIME format. --------------F4C8CBD5695CEF4575C50CEB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 108 Hi, I've committed this simple patch which adds RORHI and ROLHI operations to the cgen rtl language. Dave --------------F4C8CBD5695CEF4575C50CEB Content-Type: text/plain; charset=us-ascii; name="rothi.ChangeLog" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rothi.ChangeLog" Content-length: 104 2001-12-18 Dave Brolley * cgen-ops.h (ROLHI): New macro. (RORHI): New macro. --------------F4C8CBD5695CEF4575C50CEB Content-Type: text/plain; charset=us-ascii; name="rothi.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="rothi.patch.txt" Content-length: 853 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)) --------------F4C8CBD5695CEF4575C50CEB-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Brolley To: sid@sources.redhat.com Subject: [patch]: Add RORHI, ROLHI Date: Tue, 18 Dec 2001 17:09:00 -0000 Message-ID: <3C1FE8A3.AAF845D9@redhat.com> X-SW-Source: 2001-q4/msg00050.html Message-ID: <20011218170900.VG4b1sfAPzjY97-IEc1O4bpxvzbeXETq5f2iGh7OHV8@z> Hi, I've committed this simple patch which adds RORHI and ROLHI operations to the cgen rtl language. Dave