aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-03-20 17:12:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-03-20 17:12:16 +0000
commitde7141c7b1b261cc8713686bc655830cccd5e081 (patch)
tree0b7e8336fb8c1f1dfb4c382195f838b9532df936 /opcodes
parent8d7146bab4ca8b75be50cb35faa7620ab556d0cc (diff)
downloadgdb-de7141c7b1b261cc8713686bc655830cccd5e081.zip
gdb-de7141c7b1b261cc8713686bc655830cccd5e081.tar.gz
gdb-de7141c7b1b261cc8713686bc655830cccd5e081.tar.bz2
2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Revert the last change. (Z): Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/mmix-opc.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 53a23fe..db375c2 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * mmix-opc.c (O): Revert the last change.
+ (Z): Likewise.
+
2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long.
diff --git a/opcodes/mmix-opc.c b/opcodes/mmix-opc.c
index ecd3cb4..0298818 100644
--- a/opcodes/mmix-opc.c
+++ b/opcodes/mmix-opc.c
@@ -67,11 +67,11 @@ const struct mmix_spec_reg mmix_spec_regs[] =
/* All bits in the opcode-byte are significant. Add "| ..." expressions
to add zero-bits. */
#undef O
-#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24UL)
+#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24)
/* Bits 7..1 of the opcode are significant. */
#undef Z
-#define Z(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 254) << 24UL)
+#define Z(m) ((unsigned long) (m) << 24), ((~(unsigned long) (m) & 254) << 24)
/* For easier overview of the table. */
#define N mmix_type_normal