From: Richard Henderson Date: Wed, 5 Sep 2001 02:52:17 +0000 (+0000) Subject: * alpha.h (struct alpha_operand): Pack elements into bitfields. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=847b8b31766267feb1ddaf15b3573a6baf8024b2;p=binutils-gdb.git * alpha.h (struct alpha_operand): Pack elements into bitfields. --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index a40dff4b325..86e10696ebd 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2001-09-04 Richard Henderson + + * alpha.h (struct alpha_operand): Pack elements into bitfields. + 2001-08-31 Eric Christopher * mips.h: Remove CPU_MIPS32_4K. diff --git a/include/opcode/alpha.h b/include/opcode/alpha.h index 6f31e9ae09c..487b69605a3 100644 --- a/include/opcode/alpha.h +++ b/include/opcode/alpha.h @@ -81,16 +81,16 @@ extern const unsigned alpha_num_opcodes; struct alpha_operand { /* The number of bits in the operand. */ - int bits; + unsigned int bits : 5; /* How far the operand is left shifted in the instruction. */ - int shift; + unsigned int shift : 5; /* The default relocation type for this operand. */ - int default_reloc; + signed int default_reloc : 16; /* One bit syntax flags. */ - unsigned flags; + unsigned int flags : 16; /* Insertion function. This is used by the assembler. To insert an operand value into an instruction, check this field.