diff options
author | Doug Evans <dje@google.com> | 1998-01-27 05:53:54 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-01-27 05:53:54 +0000 |
commit | 3f7eb70f90c40c90d8e0fd8430cb6f99c7b910b4 (patch) | |
tree | d8a962d7791c4af7784f4c462a02189fb027933e /include/opcode | |
parent | 043fadbe52a35d137d5c4dce15d0f1b3372b3e87 (diff) | |
download | binutils-3f7eb70f90c40c90d8e0fd8430cb6f99c7b910b4.zip binutils-3f7eb70f90c40c90d8e0fd8430cb6f99c7b910b4.tar.gz binutils-3f7eb70f90c40c90d8e0fd8430cb6f99c7b910b4.tar.bz2 |
add pke field bit macros
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/txvu.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/opcode/txvu.h b/include/opcode/txvu.h index 4aad459..e3b3b59 100644 --- a/include/opcode/txvu.h +++ b/include/opcode/txvu.h @@ -245,6 +245,31 @@ const struct txvu_opcode *txvu_lower_opcode_lookup_dis PARAMS ((unsigned int)); /* the unpack instruction */ #define PKE_OPCODE_UNPACK 64 +/* Instruction flag bits. M,R are only applicable to `unpack'. */ +#define PKE_FLAG_I 1 +#define PKE_FLAG_M 2 +#define PKE_FLAG_R 4 + +/* The "mode" operand of the "stmod" insn. */ +#define PKE_MODE_DIRECT 0 +#define PKE_MODE_ADD 1 +#define PKE_MODE_ADDROW 2 + +/* Unpack types. */ +#define PKE_UNPACK_S_32 0 +#define PKE_UNPACK_S_16 1 +#define PKE_UNPACK_S_8 2 +#define PKE_UNPACK_V2_32 4 +#define PKE_UNPACK_V2_16 5 +#define PKE_UNPACK_V2_8 6 +#define PKE_UNPACK_V3_32 8 +#define PKE_UNPACK_V3_16 9 +#define PKE_UNPACK_V3_8 10 +#define PKE_UNPACK_V4_32 12 +#define PKE_UNPACK_V4_16 13 +#define PKE_UNPACK_V4_8 14 +#define PKE_UNPACK_V4_5 15 + extern const struct txvu_operand pke_operands[]; extern /*const*/ struct txvu_opcode pke_opcodes[]; extern const int pke_opcodes_count; |