Back to index

cell-binutils  2.17cvs20070401
Defines | Functions | Variables
d30v-opc.c File Reference
#include <stdio.h>
#include "sysdep.h"
#include "opcode/d30v.h"

Go to the source code of this file.

Defines

#define UNUSED   (0)
#define Ra   (UNUSED + 1)
#define Ra2   (Ra + 1)
#define Ra3   (Ra2 + 1)
#define Rb   (Ra3 + 1)
#define Rb2   (Rb + 1)
#define Rc   (Rb2 + 1)
#define Aa   (Rc + 1)
#define Ab   (Aa + 1)
#define IMM5   (Ab + 1)
#define IMM5U   (IMM5 + 1)
#define IMM5S3   (IMM5U + 1)
#define IMM6   (IMM5S3 + 1)
#define IMM6U   (IMM6 + 1)
#define IMM6U2   (IMM6U + 1)
#define REL6S3   (IMM6U2 + 1)
#define REL12S3   (REL6S3 + 1)
#define IMM12S3   (REL12S3 + 1)
#define REL18S3   (IMM12S3 + 1)
#define IMM18S3   (REL18S3 + 1)
#define REL32   (IMM18S3 + 1)
#define IMM32   (REL32 + 1)
#define Fa   (IMM32 + 1)
#define Fb   (Fa + 1)
#define Fc   (Fb + 1)
#define ATSIGN   (Fc + 1)
#define ATPAR   (ATSIGN + 1) /* "@(" */
#define PLUS   (ATPAR + 1) /* Postincrement. */
#define MINUS   (PLUS + 1) /* Postdecrement. */
#define ATMINUS   (MINUS + 1) /* Predecrement. */
#define Ca   (ATMINUS + 1) /* Control register. */
#define Cb   (Ca + 1) /* Control register. */
#define CC   (Cb + 1) /* Condition code (CMPcc and CMPUcc). */
#define Fa2   (CC + 1) /* Flag register (CMPcc and CMPUcc). */
#define Fake   (Fa2 + 1) /* Place holder for "id" field in mvfsys and mvtsys. */

Functions

int reg_name_cnt (void)

Variables

const char * d30v_ecc_names []
const char * d30v_cc_names []

Define Documentation

#define Aa   (Rc + 1)
#define Ab   (Aa + 1)
#define ATMINUS   (MINUS + 1) /* Predecrement. */
#define ATPAR   (ATSIGN + 1) /* "@(" */
#define ATSIGN   (Fc + 1)
#define Ca   (ATMINUS + 1) /* Control register. */
#define Cb   (Ca + 1) /* Control register. */
#define CC   (Cb + 1) /* Condition code (CMPcc and CMPUcc). */
#define Fa   (IMM32 + 1)
#define Fa2   (CC + 1) /* Flag register (CMPcc and CMPUcc). */
#define Fake   (Fa2 + 1) /* Place holder for "id" field in mvfsys and mvtsys. */
#define Fb   (Fa + 1)
#define Fc   (Fb + 1)
#define IMM12S3   (REL12S3 + 1)
#define IMM18S3   (REL18S3 + 1)
#define IMM32   (REL32 + 1)
#define IMM5   (Ab + 1)
#define IMM5S3   (IMM5U + 1)
#define IMM5U   (IMM5 + 1)
#define IMM6   (IMM5S3 + 1)
#define IMM6U   (IMM6 + 1)
#define IMM6U2   (IMM6U + 1)
#define MINUS   (PLUS + 1) /* Postdecrement. */
#define PLUS   (ATPAR + 1) /* Postincrement. */
#define Ra   (UNUSED + 1)
#define Ra2   (Ra + 1)
#define Ra3   (Ra2 + 1)
#define Rb   (Ra3 + 1)
#define Rb2   (Rb + 1)
#define Rc   (Rb2 + 1)
#define REL12S3   (REL6S3 + 1)
#define REL18S3   (IMM12S3 + 1)
#define REL32   (IMM18S3 + 1)
#define REL6S3   (IMM6U2 + 1)
#define UNUSED   (0)

Function Documentation

int reg_name_cnt ( void  )

Definition at line 198 of file d30v-opc.c.

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

Here is the caller graph for this function:


Variable Documentation

Initial value:
{
  "eq",
  "ne",
  "gt",
  "ge",
  "lt",
  "le",
  "ps",
  "ng",
  NULL
}

Definition at line 507 of file d30v-opc.c.

Initial value:
{
  "al",
  "tx",
  "fx",
  "xt",
  "xf",
  "tt",
  "tf",
  "res"
}

Definition at line 495 of file d30v-opc.c.