mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* sparc.h (SPARC_OPCODE_ARCH_MASK): New macro.
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
Sun Mar 31 13:30:03 1996 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* sparc.h (SPARC_OPCODE_ARCH_MASK): New macro.
|
||||
|
||||
Thu Mar 7 15:08:23 1996 Doug Evans <dje@charmed.cygnus.com>
|
||||
|
||||
* sparc.h (O): Mark operand letter as in use.
|
||||
|
||||
Tue Feb 20 20:46:21 1996 Doug Evans <dje@charmed.cygnus.com>
|
||||
|
||||
* sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
|
||||
|
@ -49,13 +49,18 @@ enum sparc_opcode_arch_val {
|
||||
/* The highest architecture in the table. */
|
||||
#define SPARC_OPCODE_ARCH_MAX (SPARC_OPCODE_ARCH_BAD - 1)
|
||||
|
||||
/* Given an enum sparc_opcode_arch_val, return the bitmask to use in
|
||||
insn encoding/decoding. */
|
||||
#define SPARC_OPCODE_ARCH_MASK(arch) (1 << (arch))
|
||||
|
||||
/* Table of cpu variants. */
|
||||
|
||||
struct sparc_opcode_arch {
|
||||
const char *name;
|
||||
/* Mask of sparc_opcode_arch_val's supported.
|
||||
EG: For v7 this would be ((1 << v6) | (1 << v7)). */
|
||||
/* These are short's because sparc_opcode.architecture is. */
|
||||
EG: For v7 this would be
|
||||
(SPARC_OPCODE_ARCH_MASK (..._V6) | SPARC_OPCODE_ARCH_MASK (..._V7)).
|
||||
These are short's because sparc_opcode.architecture is. */
|
||||
short supported;
|
||||
};
|
||||
|
||||
@ -144,7 +149,8 @@ Kinds of operands:
|
||||
z %icc. (v9)
|
||||
Z %xcc. (v9)
|
||||
q Floating point queue.
|
||||
r Single register that is both rs1 and rsd.
|
||||
r Single register that is both rs1 and rd.
|
||||
O Single register that is both rs2 and rd.
|
||||
Q Coprocessor queue.
|
||||
S Special case.
|
||||
t Trap base register.
|
||||
@ -167,7 +173,7 @@ Kinds of operands:
|
||||
x OPF field (v9 impdep).
|
||||
|
||||
The following chars are unused: (note: ,[] are used as punctuation)
|
||||
[OXY3450]
|
||||
[XY3450]
|
||||
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user