Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Functions | Variables
d10v.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  d10v_opcode
struct  d10v_operand
struct  pd_reg

Defines

#define FM00   0
#define FM01   0x40000000
#define FM10   0x80000000
#define FM11   0xC0000000
#define NOP   0x5e00
#define OPCODE_DIVS   0x14002800
#define SHORT_OPCODE   1
#define LONG_OPCODE   8
#define SHORT_2   1 /* short with 2 operands */
#define SHORT_B   3 /* short with 8-bit branch */
#define LONG_B   8 /* long with 16-bit branch */
#define LONG_L   10 /* long with 3 operands */
#define LONG_R   12 /* reserved */
#define OPCODE_FAKE   32
#define EITHER   0
#define IU   1
#define MU   2
#define BOTH   3
#define PARONLY   1 /* parallel only */
#define SEQ   2 /* must be sequential */
#define PAR   4 /* may be parallel */
#define BRANCH_LINK   8 /* subroutine call. must be aligned */
#define RMEM   16 /* reads memory */
#define WMEM   32 /* writes memory */
#define RF0   64 /* reads f0 */
#define WF0   128 /* modifies f0 */
#define WCAR   256 /* write Carry */
#define BRANCH   512 /* branch, no link */
#define ALONE   1024 /* short but pack with a NOP if on asm line alone */
#define OPERAND_EVEN   (1)
#define OPERAND_ODD   (2)
#define OPERAND_DEST   (4)
#define OPERAND_NUM   (8)
#define OPERAND_ADDR   (0x10)
#define OPERAND_REG   (0x20)
#define OPERAND_PLUS   (0x40)
#define OPERAND_MINUS   (0x80)
#define OPERAND_ATSIGN   (0x100)
#define OPERAND_ATPAR   (0x200)
#define OPERAND_ACC0   (0x400)
#define OPERAND_ACC1   (0x800)
#define OPERAND_FFLAG   (0x1000)
#define OPERAND_CFLAG   (0x2000)
#define OPERAND_CONTROL   (0x4000)
#define OPERAND_ATMINUS   (0x8000)
#define OPERAND_SIGNED   (0x10000)
#define OPERAND_SHIFT   (0x20000)
#define OPERAND_GPR   (0x40000)
#define RESTRICTED_NUM3   (0x80000)
#define OPERAND_SP   (0x100000)
#define OPERAND_NOSP   (0x200000)
#define REGISTER_MASK   0xFF

Functions

int d10v_reg_name_cnt (void)

Variables

const int d10v_num_opcodes

Class Documentation

struct d10v_opcode

Definition at line 36 of file d10v.h.

Class Members
int cycles
int exec_type
int format
long mask
const char * name
long opcode
unsigned char operands
int unit
struct d10v_operand

Definition at line 103 of file d10v.h.

Class Members
int bits
int flags
int shift
struct pd_reg

Definition at line 467 of file tc-hppa.c.

Class Members
char * name
char * pname
int value

Define Documentation

#define ALONE   1024 /* short but pack with a NOP if on asm line alone */

Definition at line 82 of file d10v.h.

#define BOTH   3

Definition at line 66 of file d10v.h.

#define BRANCH   512 /* branch, no link */

Definition at line 81 of file d10v.h.

#define BRANCH_LINK   8 /* subroutine call. must be aligned */

Definition at line 75 of file d10v.h.

#define EITHER   0

Definition at line 63 of file d10v.h.

#define FM00   0

Definition at line 26 of file d10v.h.

#define FM01   0x40000000

Definition at line 27 of file d10v.h.

#define FM10   0x80000000

Definition at line 28 of file d10v.h.

#define FM11   0xC0000000

Definition at line 29 of file d10v.h.

#define IU   1

Definition at line 64 of file d10v.h.

#define LONG_B   8 /* long with 16-bit branch */

Definition at line 49 of file d10v.h.

#define LONG_L   10 /* long with 3 operands */

Definition at line 50 of file d10v.h.

#define LONG_OPCODE   8

Definition at line 46 of file d10v.h.

#define LONG_R   12 /* reserved */

Definition at line 51 of file d10v.h.

#define MU   2

Definition at line 65 of file d10v.h.

#define NOP   0x5e00

Definition at line 31 of file d10v.h.

#define OPCODE_DIVS   0x14002800

Definition at line 32 of file d10v.h.

#define OPCODE_FAKE   32

Definition at line 56 of file d10v.h.

#define OPERAND_ACC0   (0x400)

Definition at line 154 of file d10v.h.

#define OPERAND_ACC1   (0x800)

Definition at line 157 of file d10v.h.

#define OPERAND_ADDR   (0x10)

Definition at line 136 of file d10v.h.

#define OPERAND_ATMINUS   (0x8000)

Definition at line 169 of file d10v.h.

#define OPERAND_ATPAR   (0x200)

Definition at line 151 of file d10v.h.

#define OPERAND_ATSIGN   (0x100)

Definition at line 148 of file d10v.h.

#define OPERAND_CFLAG   (0x2000)

Definition at line 163 of file d10v.h.

#define OPERAND_CONTROL   (0x4000)

Definition at line 166 of file d10v.h.

#define OPERAND_DEST   (4)

Definition at line 130 of file d10v.h.

#define OPERAND_EVEN   (1)

Definition at line 123 of file d10v.h.

#define OPERAND_FFLAG   (0x1000)

Definition at line 160 of file d10v.h.

#define OPERAND_GPR   (0x40000)

Definition at line 179 of file d10v.h.

#define OPERAND_MINUS   (0x80)

Definition at line 145 of file d10v.h.

#define OPERAND_NOSP   (0x200000)

Definition at line 191 of file d10v.h.

#define OPERAND_NUM   (8)

Definition at line 133 of file d10v.h.

#define OPERAND_ODD   (2)

Definition at line 126 of file d10v.h.

#define OPERAND_PLUS   (0x40)

Definition at line 142 of file d10v.h.

#define OPERAND_REG   (0x20)

Definition at line 139 of file d10v.h.

#define OPERAND_SHIFT   (0x20000)

Definition at line 176 of file d10v.h.

#define OPERAND_SIGNED   (0x10000)

Definition at line 172 of file d10v.h.

#define OPERAND_SP   (0x100000)

Definition at line 186 of file d10v.h.

#define PAR   4 /* may be parallel */

Definition at line 74 of file d10v.h.

#define PARONLY   1 /* parallel only */

Definition at line 72 of file d10v.h.

#define REGISTER_MASK   0xFF

Definition at line 206 of file d10v.h.

#define RESTRICTED_NUM3   (0x80000)

Definition at line 183 of file d10v.h.

#define RF0   64 /* reads f0 */

Definition at line 78 of file d10v.h.

#define RMEM   16 /* reads memory */

Definition at line 76 of file d10v.h.

#define SEQ   2 /* must be sequential */

Definition at line 73 of file d10v.h.

#define SHORT_2   1 /* short with 2 operands */

Definition at line 47 of file d10v.h.

#define SHORT_B   3 /* short with 8-bit branch */

Definition at line 48 of file d10v.h.

#define SHORT_OPCODE   1

Definition at line 45 of file d10v.h.

#define WCAR   256 /* write Carry */

Definition at line 80 of file d10v.h.

#define WF0   128 /* modifies f0 */

Definition at line 79 of file d10v.h.

#define WMEM   32 /* writes memory */

Definition at line 77 of file d10v.h.


Function Documentation

int d10v_reg_name_cnt ( void  )

Definition at line 92 of file d10v-opc.c.

{
  return (sizeof(d10v_predefined_registers) / sizeof(struct pd_reg));
}

Here is the caller graph for this function:


Variable Documentation