aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-09-05 02:52:17 +0000
committerRichard Henderson <rth@redhat.com>2001-09-05 02:52:17 +0000
commit847b8b31766267feb1ddaf15b3573a6baf8024b2 (patch)
tree3f35e09e634f9facb80cdb607d1bb46de5b810e7 /include
parent19f785835e5e97a7c666e8f942cb4ec8e543aebc (diff)
downloadgdb-847b8b31766267feb1ddaf15b3573a6baf8024b2.zip
gdb-847b8b31766267feb1ddaf15b3573a6baf8024b2.tar.gz
gdb-847b8b31766267feb1ddaf15b3573a6baf8024b2.tar.bz2
* alpha.h (struct alpha_operand): Pack elements into bitfields.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/alpha.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index a40dff4..86e1069 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2001-09-04 Richard Henderson <rth@redhat.com>
+
+ * alpha.h (struct alpha_operand): Pack elements into bitfields.
+
2001-08-31 Eric Christopher <echristo@redhat.com>
* mips.h: Remove CPU_MIPS32_4K.
diff --git a/include/opcode/alpha.h b/include/opcode/alpha.h
index 6f31e9a..487b696 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.