Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-09-05 06:52:17 +0400
committerRichard Henderson <rth@redhat.com>2001-09-05 06:52:17 +0400
commit60a6280984b06ef41be29133c70d106c24bcb08d (patch)
tree46b518fe190577c067c978f3f85d129e0a3dde77 /include/opcode/alpha.h
parentd72a655937a014053799df9d6b422a89c88d56e7 (diff)
* alpha.h (struct alpha_operand): Pack elements into bitfields.
Diffstat (limited to 'include/opcode/alpha.h')
-rw-r--r--include/opcode/alpha.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/opcode/alpha.h b/include/opcode/alpha.h
index 6f31e9ae0..487b69605 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.