osprey/cygnus/include/opcode/tic54x.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  _symbol
type  _template

Defines

#define INDIRECT(OP)   ((OP)&0x80)
#define MOD(OP)   (((OP)>>3)&0xF)
#define ARF(OP)   ((OP)&0x7)
#define IS_LKADDR(OP)   (INDIRECT(OP) && MOD(OP)>=12)
#define SRC(OP)   ((OP)&0x200)
#define DST(OP)   ((OP)&0x100)
#define SRC1(OP)   ((OP)&0x100)
#define SHIFT(OP)   (((OP)&0x10)?(((OP)&0x1F)-32):((OP)&0x1F))
#define SHFT(OP)   ((OP)&0xF)
#define ARX(OP)   ((OP)&0x7)
#define XMEM(OP)   (((OP)&0x00F0)>>4)
#define YMEM(OP)   ((OP)&0x000F)
#define XMOD(C)   (((C)&0xC)>>2)
#define XARX(C)   (((C)&0x3)+2)
#define CC3(OP)   (((OP)>>8)&0x3)
#define SBIT(OP)   ((OP)&0xF)
#define MMR(OP)   ((OP)&0x7F)
#define MMRX(OP)   ((((OP)>>4)&0xF)+16)
#define MMRY(OP)   (((OP)&0xF)+16)
#define OPTYPE(X)   ((X)&~OPT)
#define MAX_OPERANDS   4
#define B_NEXT   0
#define B_BRANCH   1
#define B_RET   2
#define B_BACC   3
#define B_REPEAT   4
#define FL_BMASK   0x07
#define FL_DELAY   0x10
#define FL_EXT   0x20
#define FL_FAR   0x40
#define FL_LP   0x80
#define FL_NR   0x100
#define FL_SMR   0x200
#define FL_PAR   0x400

Typedefs

typedef struct _symbol symbol
typedef struct _template template

Enumerations

enum  optype {
  OPT = 0x8000, OP_None = 0x0, OP_Xmem, OP_Ymem,
  OP_pmad, OP_dmad, OP_Smem, OP_Lmem,
  OP_MMR, OP_PA, OP_Sind, OP_xpmad,
  OP_xpmad_ms7, OP_MMRX, OP_MMRY, OP_SRC1,
  OP_SRC, OP_RND, OP_DST, OP_ARX,
  OP_SHIFT, OP_SHFT, OP_B, OP_A,
  OP_lk, OP_TS, OP_k8, OP_16,
  OP_BITC, OP_CC, OP_CC2, OP_CC3,
  OP_123, OP_031, OP_k5, OP_k8u,
  OP_ASM, OP_T, OP_DP, OP_ARP,
  OP_k3, OP_lku, OP_N, OP_SBIT,
  OP_12, OP_k9, OP_TRN
}

Functions/Subroutines

const templatetic54x_get_insn (struct disassemble_info *, bfd_vma, unsigned short, int *)

Variables

const template tic54x_unknown_opcode
const template tic54x_optab []
const template tic54x_paroptab []
const symbol mmregs []
const symbol regs []
const symbol condition_codes []
const symbol cc2_codes []
const symbol status_bits []
const symbol cc3_codes []
const char * misc_symbols []


Define Documentation

#define ARF ( OP   )     ((OP)&0x7)

Definition at line 102 of file tic54x.h.

Referenced by print_instruction(), and sprint_indirect_address().

#define ARX ( OP   )     ((OP)&0x7)

Definition at line 109 of file tic54x.h.

Referenced by print_instruction().

#define B_BACC   3

Definition at line 136 of file tic54x.h.

#define B_BRANCH   1

Definition at line 134 of file tic54x.h.

#define B_NEXT   0

Definition at line 133 of file tic54x.h.

#define B_REPEAT   4

Definition at line 137 of file tic54x.h.

#define B_RET   2

Definition at line 135 of file tic54x.h.

#define CC3 ( OP   )     (((OP)>>8)&0x3)

Definition at line 114 of file tic54x.h.

Referenced by print_instruction(), and s390_branch_condition_mask().

#define DST ( OP   )     ((OP)&0x100)

Definition at line 105 of file tic54x.h.

Referenced by bfd_h8_disassemble(), and print_instruction().

#define FL_BMASK   0x07

Definition at line 138 of file tic54x.h.

#define FL_DELAY   0x10

Definition at line 140 of file tic54x.h.

#define FL_EXT   0x20

Definition at line 141 of file tic54x.h.

Referenced by print_insn_tic54x(), and tic54x_get_insn().

#define FL_FAR   0x40

Definition at line 142 of file tic54x.h.

#define FL_LP   0x80

Definition at line 143 of file tic54x.h.

#define FL_NR   0x100

Definition at line 144 of file tic54x.h.

#define FL_PAR   0x400

Definition at line 147 of file tic54x.h.

Referenced by get_insn_size(), and print_insn_tic54x().

#define FL_SMR   0x200

Definition at line 145 of file tic54x.h.

#define INDIRECT ( OP   )     ((OP)&0x80)

Definition at line 100 of file tic54x.h.

Referenced by print_instruction().

#define IS_LKADDR ( OP   )     (INDIRECT(OP) && MOD(OP)>=12)

Definition at line 103 of file tic54x.h.

Referenced by has_lkaddr().

#define MAX_OPERANDS   4

Definition at line 127 of file tic54x.h.

Referenced by build_operand_table(), and print_instruction().

#define MMR ( OP   )     ((OP)&0x7F)

Definition at line 116 of file tic54x.h.

Referenced by print_instruction().

#define MMRX ( OP   )     ((((OP)>>4)&0xF)+16)

Definition at line 117 of file tic54x.h.

Referenced by print_instruction().

#define MMRY ( OP   )     (((OP)&0xF)+16)

Definition at line 118 of file tic54x.h.

Referenced by print_instruction().

#define MOD ( OP   )     (((OP)>>3)&0xF)

Definition at line 101 of file tic54x.h.

Referenced by alpha_rtx_costs(), arm_rtx_costs(), arm_rtx_costs_1(), arm_size_rtx_costs(), avr_rtx_costs(), c4x_rtx_costs(), check_attr_value(), contains_muldiv(), cris_rtx_costs(), divmod_fixed_value_transform(), divmod_operator(), eliminate_regs(), eliminate_regs_1(), expand_divmod(), fold_rtx(), fold_rtx_subreg(), force_operand(), frv_rtx_costs(), gt_ggc_mx_rtx_def(), h8300_rtx_costs(), hppa_rtx_costs(), ia64_rtx_costs(), init_expmed(), init_optabs(), insn_divmod_values_to_profile(), instantiate_virtual_regs_1(), ip2k_rtx_costs(), iq2000_rtx_costs(), ix86_rtx_costs(), m32r_rtx_costs(), m68hc11_notice_update_cc(), m68hc11_rtx_costs(), m68hc11_rtx_costs_1(), m68k_rtx_costs(), may_trap_p(), may_trap_p_1(), mcore_rtx_costs(), mips_rtx_costs(), mmix_preferred_output_reload_class(), mmix_preferred_reload_class(), mn10300_rtx_costs(), nonzero_bits1(), notice_update_cc(), num_sign_bit_copies1(), pdp11_rtx_costs(), print_exp(), print_instruction(), print_operand(), ra_print_rtx_2op(), recog_23(), recog_24(), recog_26(), recog_3(), recog_32(), recog_33(), recog_34(), recog_35(), recog_36(), recog_4(), recog_6(), recog_7(), recog_8(), rs6000_rtx_costs(), rtx_cost(), rtx_needs_barrier(), s390_rtx_costs(), score_rtx_costs(), sh_rtx_costs(), simplify_binary_operation(), simplify_binary_operation_1(), simplify_const_binary_operation(), sparc_rtx_costs(), split_3(), sprint_indirect_address(), summarize_insn(), thumb_rtx_costs(), v850_rtx_costs(), vax_rtx_cost(), vax_rtx_costs(), write_attr_value(), write_test_expr(), and xtensa_rtx_costs().

#define OPTYPE ( X   )     ((X)&~OPT)

Definition at line 120 of file tic54x.h.

Referenced by has_lkaddr(), and print_instruction().

#define SBIT ( OP   )     ((OP)&0xF)

Definition at line 115 of file tic54x.h.

Referenced by print_instruction().

#define SHFT ( OP   )     ((OP)&0xF)

Definition at line 108 of file tic54x.h.

Referenced by print_instruction().

#define SHIFT ( OP   )     (((OP)&0x10)?(((OP)&0x1F)-32):((OP)&0x1F))

Definition at line 107 of file tic54x.h.

Referenced by print_instruction().

#define SRC ( OP   )     ((OP)&0x200)

Definition at line 104 of file tic54x.h.

Referenced by print_instruction().

#define SRC1 ( OP   )     ((OP)&0x100)

Definition at line 106 of file tic54x.h.

Referenced by print_instruction().

#define XARX (  )     (((C)&0x3)+2)

Definition at line 113 of file tic54x.h.

Referenced by sprint_dual_address().

#define XMEM ( OP   )     (((OP)&0x00F0)>>4)

Definition at line 110 of file tic54x.h.

#define XMOD (  )     (((C)&0xC)>>2)

Definition at line 112 of file tic54x.h.

Referenced by sprint_dual_address().

#define YMEM ( OP   )     ((OP)&0x000F)

Definition at line 111 of file tic54x.h.

Referenced by print_instruction().


Typedef Documentation


Enumeration Type Documentation

enum optype

Enumerator:
OPT 
OP_None 
OP_Xmem 
OP_Ymem 
OP_pmad 
OP_dmad 
OP_Smem 
OP_Lmem 
OP_MMR 
OP_PA 
OP_Sind 
OP_xpmad 
OP_xpmad_ms7 
OP_MMRX 
OP_MMRY 
OP_SRC1 
OP_SRC 
OP_RND 
OP_DST 
OP_ARX 
OP_SHIFT 
OP_SHFT 
OP_B 
OP_A 
OP_lk 
OP_TS 
OP_k8 
OP_16 
OP_BITC 
OP_CC 
OP_CC2 
OP_CC3 
OP_123 
OP_031 
OP_k5 
OP_k8u 
OP_ASM 
OP_T 
OP_DP 
OP_ARP 
OP_k3 
OP_lku 
OP_N 
OP_SBIT 
OP_12 
OP_k9 
OP_TRN 

Definition at line 35 of file tic54x.h.


Function Documentation

const template* tic54x_get_insn ( struct disassemble_info ,
bfd_vma  ,
unsigned  short,
int *   
)


Variable Documentation

const symbol cc2_codes[]

Definition at line 156 of file tic54x-opc.c.

const symbol cc3_codes[]

Definition at line 173 of file tic54x-opc.c.

Definition at line 112 of file tic54x-opc.c.

const char* misc_symbols[]

Definition at line 210 of file tic54x-opc.c.

const symbol mmregs[]

Definition at line 39 of file tic54x-opc.c.

Referenced by sprint_mmr().

const symbol regs[]

Definition at line 190 of file tic54x-opc.c.

Definition at line 234 of file tic54x-opc.c.

Referenced by tic54x_get_insn().

Definition at line 466 of file tic54x-opc.c.

Referenced by tic54x_get_insn().

Definition at line 232 of file tic54x-opc.c.

Referenced by tic54x_get_insn().


Generated on Wed Apr 8 14:57:58 2009 for Open64 by  doxygen 1.5.6