"I am a person who works hard and plays hard."

Yuan Wei
Second Year Graduate Student Department of Computer Science
University of Virginia Charlottesville, VA 22903
Email: yw3f@cs.virginia.edu


Source Code Analysis

Main Page   Compound List   File List   Compound Members   File Members  

pisa.h File Reference

#include <stdio.h>
#include "host.h"
#include "misc.h"
#include "config.h"
#include "endian.h"
#include "machine.def"

Include dependency graph for pisa.h:

Include dependency graph

Go to the source code of this file.

Compounds

Defines

Typedefs

Enumerations

Functions

Variables


Define Documentation

#define BCODE   (inst.b & 0xfffff)
 

Definition at line 355 of file pisa.h.

Referenced by md_print_insn().

#define BS   RS
 

Definition at line 361 of file pisa.h.

Referenced by md_print_insn().

#define CONNECT OP   
 

#define DEFINST OP,
MSK,
NAME,
OPFORM,
RES,
FLAGS,
O1,
O2,
I1,
I2,
I3       OP,
 

#define DEFLINK OP,
MSK,
NAME,
MASK,
SHIFT       OP,
 

#define F_CALL   0x00008000
 

Definition at line 323 of file pisa.h.

#define F_COND   0x00000010
 

Definition at line 312 of file pisa.h.

#define F_CTRL   0x00000004
 

Definition at line 310 of file pisa.h.

#define F_DIRECT   0x00000400
 

Definition at line 318 of file pisa.h.

#define F_DIRJMP   0x00002000
 

Definition at line 321 of file pisa.h.

#define F_DISP   0x00000100
 

Definition at line 316 of file pisa.h.

#define F_FCOMP   0x00000002
 

Definition at line 309 of file pisa.h.

#define F_FPCOND   0x00010000
 

Definition at line 324 of file pisa.h.

#define F_ICOMP   0x00000001
 

Definition at line 308 of file pisa.h.

#define F_IMM   0x00020000
 

Definition at line 325 of file pisa.h.

#define F_INDIRJMP   0x00004000
 

Definition at line 322 of file pisa.h.

#define F_LOAD   0x00000040
 

Definition at line 314 of file pisa.h.

#define F_LONGLAT   0x00001000
 

Definition at line 320 of file pisa.h.

#define F_MEM   0x00000020
 

Definition at line 313 of file pisa.h.

#define F_RR   0x00000200
 

Definition at line 317 of file pisa.h.

#define F_STORE   0x00000080
 

Definition at line 315 of file pisa.h.

#define F_TRAP   0x00000800
 

Definition at line 319 of file pisa.h.

#define F_UNCOND   0x00000008
 

Definition at line 311 of file pisa.h.

#define FD   RD
 

Definition at line 343 of file pisa.h.

Referenced by md_print_insn().

#define for_counter   for_double
 

Definition at line 604 of file pisa.h.

#define FS   RS
 

Definition at line 341 of file pisa.h.

Referenced by md_print_insn().

#define FT   RT
 

Definition at line 342 of file pisa.h.

Referenced by md_print_insn().

#define IMM   ((int)(( short)(inst.b & 0xffff)))
 

Definition at line 346 of file pisa.h.

#define MAXINT_VAL   0x7fffffff
 

Definition at line 364 of file pisa.h.

#define MD_AGEN_OP   ADD
 

Definition at line 674 of file pisa.h.

#define MD_AMODE_POSTPROBE FSM       { (FSM) = MD_REG_ZERO; }
 

Definition at line 506 of file pisa.h.

#define MD_AMODE_PREPROBE OP,
FSM       { if ((OP) == LUI) (FSM) = (RT); }
 

Definition at line 480 of file pisa.h.

#define MD_AMODE_PROBE AM,
OP,
FSM   
 

Value:

{                                                                       \
    if (MD_OP_FLAGS(OP) & F_DISP)                                       \
      {                                                                 \
        if ((BS) == (FSM))                                              \
          (AM) = md_amode_imm;                                          \
        else if ((BS) == MD_REG_GP)                                     \
          (AM) = md_amode_gp;                                           \
        else if ((BS) == MD_REG_SP)                                     \
          (AM) = md_amode_sp;                                           \
        else if ((BS) == MD_REG_FP)  \
          (AM) = md_amode_fp;                                           \
        else                                                            \
          (AM) = md_amode_disp;                                         \
      }                                                                 \
    else if (MD_OP_FLAGS(OP) & F_RR)                                    \
      (AM) = md_amode_rr;                                               \
    else                                                                \
      panic("cannot decode addressing mode");                           \
  }

Definition at line 484 of file pisa.h.

#define MD_BR_SHIFT   3
 

Definition at line 692 of file pisa.h.

#define MD_DATA_BASE   0x10000000
 

Definition at line 241 of file pisa.h.

Referenced by ld_load_prog().

#define MD_EIO_FILE_FORMAT   EIO_PISA_FORMAT
 

Definition at line 515 of file pisa.h.

#define MD_EXIT_SYSCALL REGS       ((REGS)->regs_R[2] == SS_SYS_exit)
 

Definition at line 445 of file pisa.h.

#define MD_EXO_CMP_IREG EXO,
REGS,
IDX       ((REGS)->regs_R[IDX] != (sword_t)(EXO)->as_integer.val)
 

Definition at line 568 of file pisa.h.

#define MD_EXO_TO_FREG EXO,
REGS,
IDX       ((REGS)->regs_F.l[IDX] = (word_t)(EXO)->as_integer.val)
 

Definition at line 565 of file pisa.h.

#define MD_EXO_TO_IREG EXO,
REGS,
IDX       ((REGS)->regs_R[IDX] = (word_t)(EXO)->as_integer.val)
 

Definition at line 562 of file pisa.h.

#define MD_EXO_TO_MISC_REGS EXO,
ICNT,
REGS   
 

Value:

\
  if (!exo                                                              \
      || exo->ec != ec_list                                             \
      || !exo->as_list.head                                             \
      || exo->as_list.head->ec != ec_integer                            \
      || !exo->as_list.head->next                                       \
      || exo->as_list.head->next->ec != ec_address                      \
      || !exo->as_list.head->next->next                                 \
      || exo->as_list.head->next->next->ec != ec_address                \
      || !exo->as_list.head->next->next->next                           \
      || exo->as_list.head->next->next->next->ec != ec_integer          \
      || !exo->as_list.head->next->next->next->next                     \
      || exo->as_list.head->next->next->next->next->ec != ec_integer    \
      || !exo->as_list.head->next->next->next->next->next               \
      || exo->as_list.head->next->next->next->next->next->ec != ec_integer\
      || exo->as_list.head->next->next->next->next->next->next != NULL) \
    fatal("could not read EIO misc regs");                              \
  (ICNT) = (counter_t)exo->as_list.head->as_integer.val;                \
  (REGS)->regs_PC = (md_addr_t)exo->as_list.head->next->as_address.val; \
  (REGS)->regs_NPC =                                                    \
    (md_addr_t)exo->as_list.head->next->next->as_address.val;           \
  (REGS)->regs_C.hi =                                                   \
    (word_t)exo->as_list.head->next->next->next->as_integer.val;        \
  (REGS)->regs_C.lo =                                                   \
    (word_t)exo->as_list.head->next->next->next->next->as_integer.val;  \
  (REGS)->regs_C.fcc =                                                  \
    (int)exo->as_list.head->next->next->next->next->next->as_integer.val;

Definition at line 533 of file pisa.h.

#define MD_FETCH_INST INST,
MEM,
PC   
 

Value:

{ inst.a = MEM_READ_WORD(mem, (PC));                                    \
    inst.b = MEM_READ_WORD(mem, (PC) + sizeof(word_t)); }

Definition at line 231 of file pisa.h.

#define MD_FIRST_IN_REG   2
 

Definition at line 571 of file pisa.h.

#define MD_FIRST_OUT_REG   2
 

Definition at line 574 of file pisa.h.

#define MD_FREG_TO_EXO REGS,
IDX       exo_new(ec_address, (exo_integer_t)(REGS)->regs_F.l[IDX])
 

Definition at line 530 of file pisa.h.

#define MD_FU_NAME FU       (md_fu2name[FU])
 

Definition at line 304 of file pisa.h.

#define MD_IREG_TO_EXO REGS,
IDX       exo_new(ec_address, (exo_integer_t)(REGS)->regs_R[IDX])
 

Definition at line 527 of file pisa.h.

#define MD_IS_CALL OP       ((MD_OP_FLAGS(OP) & (F_CTRL|F_CALL)) == (F_CTRL|F_CALL))
 

Definition at line 458 of file pisa.h.

#define MD_IS_INDIR OP       ((OP) == JR)
 

Definition at line 465 of file pisa.h.

#define MD_IS_RETURN OP       ((OP) == JR && (RS) == 31)
 

Definition at line 462 of file pisa.h.

#define MD_LAST_IN_REG   7
 

Definition at line 572 of file pisa.h.

#define MD_LAST_OUT_REG   7
 

Definition at line 575 of file pisa.h.

#define MD_LOG_PAGE_SIZE   12
 

Definition at line 137 of file pisa.h.

#define MD_MAX_ENVIRON   16384
 

Definition at line 245 of file pisa.h.

#define MD_MAX_MASK   255
 

Definition at line 258 of file pisa.h.

#define MD_MISC_REGS_TO_EXO REGS   
 

Value:

exo_new(ec_list,                                                        \
           exo_new(ec_integer, (exo_integer_t)sim_num_insn),    \
           exo_new(ec_address, (exo_integer_t)(REGS)->regs_PC), \
           exo_new(ec_address, (exo_integer_t)(REGS)->regs_NPC),        \
           exo_new(ec_integer, (exo_integer_t)(REGS)->regs_C.hi),       \
           exo_new(ec_integer, (exo_integer_t)(REGS)->regs_C.lo),       \
           exo_new(ec_integer, (exo_integer_t)(REGS)->regs_C.fcc),\
          NULL)

Definition at line 517 of file pisa.h.

#define MD_NOP_OP   NOP
 

Definition at line 677 of file pisa.h.

#define MD_NUM_CREGS   3
 

Definition at line 167 of file pisa.h.

#define MD_NUM_FREGS   32
 

Definition at line 164 of file pisa.h.

#define MD_NUM_IREGS   32
 

Definition at line 161 of file pisa.h.

#define MD_OP_ENUM MSK       (md_mask2op[MSK])
 

Definition at line 271 of file pisa.h.

Referenced by ld_load_prog().

#define MD_OP_FLAGS OP       (md_op2flags[OP])
 

Definition at line 328 of file pisa.h.

#define MD_OP_FORMAT OP       (md_op2format[OP])
 

Definition at line 279 of file pisa.h.

#define MD_OP_FUCLASS OP       (md_op2fu[OP])
 

Definition at line 300 of file pisa.h.

#define MD_OP_NAME OP       (md_op2name[OP])
 

Definition at line 275 of file pisa.h.

#define MD_OPFIELD INST       (INST.a & 0xff)
 

Definition at line 253 of file pisa.h.

Referenced by ld_load_prog().

#define MD_OUTPUT_SYSCALL REGS   
 

Value:

((REGS)->regs_R[2] == SS_SYS_write                                      \
   && ((REGS)->regs_R[4] ==  1                          \
       || (REGS)->regs_R[4] ==  2))

Definition at line 449 of file pisa.h.

#define MD_PAGE_SIZE   4096
 

Definition at line 136 of file pisa.h.

#define MD_SET_OPCODE OP,
INST       ((OP) = ((INST).a & 0xff))
 

Definition at line 254 of file pisa.h.

#define MD_STACK_BASE   0x7fffc000
 

Definition at line 242 of file pisa.h.

Referenced by ld_load_prog().

#define MD_STREAM_FILENO REGS       ((REGS)->regs_R[4])
 

Definition at line 455 of file pisa.h.

#define MD_SWAPD      (X)
 

Definition at line 225 of file pisa.h.

#define MD_SWAPH      (X)
 

Definition at line 222 of file pisa.h.

#define MD_SWAPI      (X)
 

Definition at line 226 of file pisa.h.

#define MD_SWAPQ      (X)
 

Definition at line 224 of file pisa.h.

#define MD_SWAPW      (X)
 

Definition at line 223 of file pisa.h.

#define MD_TEXT_BASE   0x00400000
 

Definition at line 240 of file pisa.h.

Referenced by ld_load_prog().

#define MD_TOTAL_REGS   ( 32 + 32 + 3 + 1 + 1 + 1)
 

Definition at line 170 of file pisa.h.

#define MD_VALID_ADDR ADDR   
 

Value:

(((ADDR) >= ld_text_base && (ADDR) < (ld_text_base + ld_text_size))     \
   || ((ADDR) >= ld_data_base && (ADDR) < ld_stack_base))

Definition at line 681 of file pisa.h.

#define NA   0
 

Definition at line 118 of file pisa.h.

#define OFS   IMM
 

Definition at line 358 of file pisa.h.

#define OVER X,
 
 

Value:

((((X) > 0) && ((Y) > 0) && (MAXINT_VAL - (X) < (Y)))                   \
   || (((X) < 0) && ((Y) < 0) && (-MAXINT_VAL - (X) > (Y))))

Definition at line 367 of file pisa.h.

#define RD   ((inst.b >> 8) & 0xff)
 

Definition at line 335 of file pisa.h.

Referenced by md_print_insn().

#define RS   (inst.b >> 24)
 

Definition at line 333 of file pisa.h.

Referenced by md_print_insn().

#define RT   ((inst.b >> 16) & 0xff)
 

Definition at line 334 of file pisa.h.

Referenced by md_print_insn().

#define sc_counter   sc_double
 

Definition at line 603 of file pisa.h.

#define SET_TPC PC       (void)0
 

Definition at line 378 of file pisa.h.

#define SHAMT   (inst.b & 0xff)
 

Definition at line 338 of file pisa.h.

Referenced by md_print_insn().

#define SS_SYS_exit   1
 

Definition at line 444 of file pisa.h.

Referenced by sys_syscall().

#define SS_SYS_write   4
 

Definition at line 448 of file pisa.h.

Referenced by sys_syscall().

#define stat_reg_addr   stat_reg_uint
 

Definition at line 608 of file pisa.h.

#define stat_reg_counter   stat_reg_double
 

Definition at line 602 of file pisa.h.

#define TARG   (inst.b & 0x3ffffff)
 

Definition at line 352 of file pisa.h.

#define TARGET_PISA
 

Definition at line 96 of file pisa.h.

#define TARGET_PISA_LITTLE
 

Definition at line 104 of file pisa.h.

#define UIMM   (inst.b & 0xffff)
 

Definition at line 349 of file pisa.h.

Referenced by md_print_insn().

#define UNDER X,
 
 

Value:

((((X) > 0) && ((Y) < 0) && (MAXINT_VAL + (Y) < (X)))                   \
   || (((X) < 0) && ((Y) > 0) && (-MAXINT_VAL + (Y) > (X))))

Definition at line 372 of file pisa.h.

#define WL_BASE ADDR       ((ADDR) & ~0x03)
 

Definition at line 398 of file pisa.h.

#define WL_PROT_MASK ADDR       (md_lr_masks[4-WL_SIZE(ADDR)])
 

Definition at line 399 of file pisa.h.

#define WL_PROT_MASK1 ADDR       (md_lr_masks[WL_SIZE(ADDR)])
 

Definition at line 400 of file pisa.h.

#define WL_PROT_MASK2 ADDR       (md_lr_masks[4-WL_SIZE(ADDR)])
 

Definition at line 401 of file pisa.h.

#define WL_SIZE ADDR       (4-((ADDR) & 0x03))
 

Definition at line 397 of file pisa.h.

#define WR_BASE ADDR       ((ADDR) & ~0x03)
 

Definition at line 405 of file pisa.h.

#define WR_PROT_MASK ADDR       (~(md_lr_masks[WR_SIZE(ADDR)]))
 

Definition at line 406 of file pisa.h.

#define WR_PROT_MASK1 ADDR       ((md_lr_masks[WR_SIZE(ADDR)]))
 

Definition at line 407 of file pisa.h.

#define WR_PROT_MASK2 ADDR       (md_lr_masks[4-WR_SIZE(ADDR)])
 

Definition at line 408 of file pisa.h.

#define WR_SIZE ADDR       (((ADDR) & 0x03)+1)
 

Definition at line 404 of file pisa.h.


Typedef Documentation

typedef qword_t exo_address_t
 

Definition at line 583 of file pisa.h.

typedef double exo_float_t
 

Definition at line 589 of file pisa.h.

typedef qword_t exo_integer_t
 

Definition at line 586 of file pisa.h.

typedef word_t md_addr_t
 

Definition at line 128 of file pisa.h.

typedef sword_t md_gpr_t[MD_NUM_IREGS]
 

Definition at line 174 of file pisa.h.


Enumeration Type Documentation

enum md_amode_type
 

Enumeration values:
md_amode_imm 
md_amode_gp 
md_amode_sp 
md_amode_fp 
md_amode_disp 
md_amode_rr 
md_amode_NUM 

Definition at line 468 of file pisa.h.

00468                    {
00469   md_amode_imm,         /* immediate addressing mode */
00470   md_amode_gp,          /* global data access through global pointer */
00471   md_amode_sp,          /* stack access through stack pointer */
00472   md_amode_fp,          /* stack access through frame pointer */
00473   md_amode_disp,        /* (reg + const) addressing */
00474   md_amode_rr,          /* (reg + reg) addressing */
00475   md_amode_NUM
00476 };

enum md_fault_type
 

Enumeration values:
md_fault_none 
md_fault_access 
md_fault_alignment 
md_fault_overflow 
md_fault_div0 
md_fault_break 
md_fault_unimpl 
md_fault_internal 

Definition at line 144 of file pisa.h.

00144                    {
00145   md_fault_none = 0,            /* no fault */
00146   md_fault_access,              /* storage access fault */
00147   md_fault_alignment,           /* storage alignment fault */
00148   md_fault_overflow,            /* signed arithmetic overflow fault */
00149   md_fault_div0,                /* division by zero fault */
00150   md_fault_break,               /* BREAK instruction fault */
00151   md_fault_unimpl,              /* unimplemented instruction fault */
00152   md_fault_internal             /* internal S/W fault */
00153 };

enum md_fu_class
 

Enumeration values:
FUClass_NA 
IntALU 
IntMULT 
IntDIV 
FloatADD 
FloatCMP 
FloatCVT 
FloatMULT 
FloatDIV 
FloatSQRT 
RdPort 
WrPort 
NUM_FU_CLASSES 

Definition at line 283 of file pisa.h.

00283                  {
00284   FUClass_NA = 0,       /* inst does not use a functional unit */
00285   IntALU,               /* integer ALU */
00286   IntMULT,              /* integer multiplier */
00287   IntDIV,               /* integer divider */
00288   FloatADD,             /* floating point adder/subtractor */
00289   FloatCMP,             /* floating point comparator */
00290   FloatCVT,             /* floating point<->integer converter */
00291   FloatMULT,            /* floating point multiplier */
00292   FloatDIV,             /* floating point divider */
00293   FloatSQRT,            /* floating point square root */
00294   RdPort,               /* memory read port */
00295   WrPort,               /* memory write port */
00296   NUM_FU_CLASSES        /* total functional unit classes */
00297 };

enum md_opcode
 

Enumeration values:
OP_NA 
OP 
MSK 
NAME 
OPFORM 
RES 
FLAGS 
O1 
O2 
I1 
I2 
OP 
MSK 
NAME 
MASK 
OP_MAX 

Definition at line 261 of file pisa.h.

00261                {
00262   OP_NA = 0,    /* NA */
00263 #define DEFINST(OP,MSK,NAME,OPFORM,RES,FLAGS,O1,O2,I1,I2,I3) OP,
00264 #define DEFLINK(OP,MSK,NAME,MASK,SHIFT) OP,
00265 #define CONNECT(OP)
00266 #include "machine.def"
00267   OP_MAX        /* number of opcodes + NA */
00268 };

enum md_reg_names
 

Enumeration values:
MD_REG_ZERO 
MD_REG_GP 
MD_REG_SP 
MD_REG_FP 

Definition at line 190 of file pisa.h.

00190                   {
00191   MD_REG_ZERO = 0,      /* zero register */
00192   MD_REG_GP = 28,       /* global data section pointer */
00193   MD_REG_SP = 29,       /* stack pointer */
00194   MD_REG_FP = 30        /* frame pointer */
00195 };

enum md_reg_type
 

Enumeration values:
rt_gpr 
rt_lpr 
rt_fpr 
rt_dpr 
rt_ctrl 
rt_PC 
rt_NPC 
rt_NUM 

Definition at line 616 of file pisa.h.

00616                  {
00617   rt_gpr,               /* general purpose register */
00618   rt_lpr,               /* integer-precision floating pointer register */
00619   rt_fpr,               /* single-precision floating pointer register */
00620   rt_dpr,               /* double-precision floating pointer register */
00621   rt_ctrl,              /* control register */
00622   rt_PC,                /* program counter */
00623   rt_NPC,               /* next program counter */
00624   rt_NUM
00625 };


Function Documentation

word_t md_crc_regs struct regs_t   regs
 

Definition at line 544 of file pisa.c.

References crc(), md_ctrl_t::fcc, md_ctrl_t::hi, md_fpr_t::l, md_ctrl_t::lo, regs_t::regs_C, regs_t::regs_F, regs_t::regs_NPC, regs_t::regs_PC, regs_t::regs_R, and word_t.

00545 {
00546   int i;
00547   word_t crc_accum = 0;
00548 
00549   for (i=0; i < MD_NUM_IREGS; i++)
00550     crc_accum = crc(crc_accum, regs->regs_R[i]);
00551 
00552   for (i=0; i < MD_NUM_FREGS; i++)
00553     crc_accum = crc(crc_accum, regs->regs_F.l[i]);
00554 
00555   crc_accum = crc(crc_accum, regs->regs_C.hi);
00556   crc_accum = crc(crc_accum, regs->regs_C.lo);
00557   crc_accum = crc(crc_accum, regs->regs_C.fcc);
00558   crc_accum = crc(crc_accum, regs->regs_PC);
00559   crc_accum = crc(crc_accum, regs->regs_NPC);
00560 
00561   return crc_accum;
00562 }

void md_init_decoder void   
 

Definition at line 25445 of file machine.c.

void md_print_creg md_ctrl_t    regs,
int    reg,
FILE *    stream
 

Definition at line 21235 of file machine.c.

References md_ctrl_t::fcc, md_ctrl_t::hi, md_ctrl_t::lo, and panic().

Referenced by md_print_cregs(), and rspec_dump().

void md_print_cregs md_ctrl_t    regs,
FILE *    stream
 

Definition at line 21254 of file machine.c.

References md_print_creg().

Referenced by dlite_cregs().

void md_print_fpreg md_fpr_t    regs,
int    reg,
FILE *    stream
 

Definition at line 21212 of file machine.c.

References md_fpr_t::d, md_fpr_t::f, md_fpr_t::l, and md_reg_name().

Referenced by md_print_fpregs(), and rspec_dump().

void md_print_fpregs md_fpr_t    regs,
FILE *    stream
 

Definition at line 21219 of file machine.c.

References md_print_fpreg().

Referenced by dlite_fpregs().

void md_print_insn md_inst_t    inst,
md_addr_t    pc,
FILE *    stream
 

Definition at line 29624 of file machine.c.

References BCODE, BS, FD, FS, FT, MD_OP_FORMAT, MD_OP_NAME, MD_SET_OPCODE, panic(), RD, RS, RT, s, SHAMT, and UIMM.

Referenced by __ptrace_newinst(), dlite_dis(), dlite_status(), ruu_commit(), ruu_dispatch(), ruu_dumpent(), and sim_main().

void md_print_ireg md_gpr_t    regs,
int    reg,
FILE *    stream
 

Definition at line 21190 of file machine.c.

References md_reg_name().

Referenced by md_print_iregs(), and rspec_dump().

void md_print_iregs md_gpr_t    regs,
FILE *    stream
 

Definition at line 21197 of file machine.c.

References md_print_ireg().

Referenced by dlite_iregs(), and dlite_regs().

char* md_reg_name enum md_reg_type    rt,
int    reg
 

Definition at line 21070 of file machine.c.

References md_reg_names_t::file, md_reg_names_t::reg, and md_reg_names_t::str.

Referenced by md_print_fpreg(), and md_print_ireg().

char* md_reg_obj struct regs_t   regs,
int    is_write,
enum md_reg_type    rt,
int    reg,
struct eval_value_t   val
 

Definition at line 21085 of file machine.c.

References md_fpr_t::d, et_addr, et_double, et_float, et_int, et_uint, eval_as_addr(), eval_as_double(), eval_as_float(), eval_as_uint(), md_fpr_t::f, md_ctrl_t::fcc, md_ctrl_t::hi, md_fpr_t::l, md_ctrl_t::lo, panic(), regs_t::regs_C, regs_t::regs_F, regs_t::regs_NPC, regs_t::regs_PC, regs_t::regs_R, eval_value_t::type, and eval_value_t::value.

word_t md_xor_regs struct regs_t   regs
 

Definition at line 21264 of file machine.c.

References md_ctrl_t::fcc, md_ctrl_t::hi, md_fpr_t::l, md_ctrl_t::lo, regs_t::regs_C, regs_t::regs_F, regs_t::regs_NPC, regs_t::regs_PC, regs_t::regs_R, and word_t.

Referenced by ruu_dispatch(), and sim_main().


Variable Documentation

char* md_amode_str[md_amode_NUM]
 

Definition at line 477 of file pisa.h.

char* md_fu2name[]
 

Definition at line 305 of file pisa.h.

word_t md_lr_masks[]
 

Definition at line 412 of file pisa.h.

enum md_opcode md_mask2op[]
 

Definition at line 272 of file pisa.h.

md_inst_t MD_NOP_INST
 

Definition at line 209 of file pisa.h.

unsigned int md_op2flags[]
 

Definition at line 329 of file pisa.h.

char* md_op2format[]
 

Definition at line 280 of file pisa.h.

enum md_fu_class md_op2fu[]
 

Definition at line 301 of file pisa.h.

char* md_op2name[]
 

Definition at line 276 of file pisa.h.

struct md_reg_names_t md_reg_names[]
 

Definition at line 635 of file pisa.h.



UVa CS Department of Computer Science
School of Engineering, University of Virginia
151 Engineer's Way, P.O. Box 400740
Charlottesville, Virginia 22904-4740

(434) 982-2200  Fax: (434) 982-2214