2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long. (Z): Likewise.
This commit is contained in:
parent
cabd4ccc81
commit
e493ab45b1
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long.
|
||||
(Z): Likewise.
|
||||
|
||||
2005-03-19 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* mmix-opc.c (O, Z): Force expression as unsigned long.
|
||||
|
|
|
@ -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) << 24)
|
||||
#define O(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 255) << 24UL)
|
||||
|
||||
/* Bits 7..1 of the opcode are significant. */
|
||||
#undef Z
|
||||
#define Z(m) ((unsigned long) (m) << 24), ((~(unsigned long) (m) & 254) << 24)
|
||||
#define Z(m) ((unsigned long) (m) << 24UL), ((~(unsigned long) (m) & 254) << 24UL)
|
||||
|
||||
/* For easier overview of the table. */
|
||||
#define N mmix_type_normal
|
||||
|
|
Loading…
Reference in a new issue