public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <dje@sebabeach.org>
To: sid@sourceware.org
Subject: [commit] regenerate cgen files
Date: Mon, 23 Nov 2009 09:27:00 -0000	[thread overview]
Message-ID: <20091123092613.E50D16E3DE@sebabeach.org> (raw)

fyi, I checked this in.
[plus regenerated all the sid files]

2009-11-23  Doug Evans  <dje@sebabeach.org>

	* cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.
	(EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT.
	(EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
	(EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define.

Index: cgen-engine.h
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/cgen-engine.h,v
retrieving revision 1.7
diff -u -p -d -u -r1.7 cgen-engine.h
--- cgen-engine.h	7 May 2005 04:39:29 -0000	1.7
+++ cgen-engine.h	23 Nov 2009 08:39:10 -0000
@@ -582,8 +582,8 @@ public:
 /* Treating the TOTAL least significant bits of VAL as a field, and
    numbering its leftmost bit zero, return the LENGTH-bit subfield
    whose leftmost bit is START.
-   The '*INT' version sign-extends; the '*UINT' version doesn't.  */
-#define EXTRACT_MSB0_INT(val, total, start, length) \
+   The '*SINT' version sign-extends; the '*UINT' version doesn't.  */
+#define EXTRACT_MSB0_SINT(val, total, start, length) \
 (((INT) (val) << ((sizeof (INT) * 8) - (total) + (start))) \
  >> ((sizeof (INT) * 8) - (length)))
 #define EXTRACT_MSB0_UINT(val, total, start, length) \
@@ -593,8 +593,8 @@ public:
 /* Treating the TOTAL least significant bits of VAL as a field, and
    numbering its rightmost bit zero, return the LENGTH-bit subfield
    whose leftmost bit is START.
-   The '*INT' version sign-extends; the '*UINT' version doesn't.  */
-#define EXTRACT_LSB0_INT(val, total, start, length) \
+   The '*SINT' version sign-extends; the '*UINT' version doesn't.  */
+#define EXTRACT_LSB0_SINT(val, total, start, length) \
 (((INT) (val) << ((sizeof (INT) * 8) - (start) - 1)) \
  >> ((sizeof (INT) * 8) - (length)))
 #define EXTRACT_LSB0_UINT(val, total, start, length) \

             reply	other threads:[~2009-11-23  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23  9:27 Doug Evans [this message]
2010-01-02 21:21 [commit] Regenerate " Doug Evans
2010-02-12  2:34 [commit] regenerate " Doug Evans

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=20091123092613.E50D16E3DE@sebabeach.org \
    --to=dje@sebabeach.org \
    --cc=sid@sourceware.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).