⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cccp.i

📁 linux下基于c++的处理器仿真平台。具有处理器流水线
💻 I
📖 第 1 页 / 共 5 页
字号:
typedef unsigned char U_CHAR;extern int target_flags;enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,		 LIM_REG_CLASSES };extern struct rtx_def *alpha_builtin_saveregs ();extern struct rtx_def *alpha_compare_op0, *alpha_compare_op1;extern int alpha_compare_fp_p;extern char *alpha_function_name;extern char *current_function_name;typedef struct stringdef STRINGDEF;struct stringdef{  U_CHAR *contents;		  int len;			  int writeflag;		  int lineno;			  U_CHAR *filename;		  STRINGDEF *chain;		  int output_mark;		};typedef struct keydef KEYDEF;struct keydef{  STRINGDEF *str;  KEYDEF *chain;};typedef signed long     ptrdiff_t;    typedef unsigned int  wchar_t;typedef unsigned int wctype_t;typedef long            fpos_t;typedef int            time_t;typedef int             clock_t;typedef unsigned long   size_t;typedef long                    ssize_t; typedef	unsigned char	uchar_t;typedef	unsigned short	ushort_t;typedef	unsigned int	uint_t;typedef unsigned long	ulong_t;typedef	volatile unsigned char	vuchar_t;typedef	volatile unsigned short	vushort_t;typedef	volatile unsigned int	vuint_t;typedef volatile unsigned long	vulong_t;typedef	struct	{ long r[1]; } *physadr_t;typedef	struct	label_t	{	long	val[10];} label_t;typedef int		level_t;typedef	int		daddr_t;	typedef	char *		caddr_t;	typedef long *		qaddr_t;        typedef char *          addr_t;typedef	uint_t		ino_t;		typedef short		cnt_t;typedef int		dev_t;		typedef	int		chan_t;		typedef long    off_t;			typedef unsigned long	rlim_t;		typedef	int		paddr_t;typedef	ushort_t	nlink_t;typedef int    		key_t;		typedef	uint_t		mode_t;		typedef uint_t		uid_t;		typedef uint_t		gid_t;		typedef	void *		mid_t;		typedef	int		pid_t;		typedef char		slab_t[12];	typedef ulong_t		shmatt_t;	typedef ulong_t		msgqnum_t;	typedef ulong_t		msglen_t;	        typedef unsigned int wint_t;         typedef unsigned long	sigset_t;typedef long            timer_t;        typedef void (*sig_t) ();typedef pid_t		id_t;		typedef uint_t	major_t;      typedef uint_t	minor_t;      typedef uint_t	devs_t;       typedef uint_t	unit_t;       typedef	unsigned long	vm_offset_t;typedef	unsigned long	vm_size_t;typedef	uchar_t		uchar;typedef	ushort_t	ushort;typedef	uint_t		uint;typedef ulong_t		ulong;typedef	physadr_t	physadr;typedef	uchar_t		u_char;typedef	ushort_t 	u_short;typedef	uint_t		u_int;typedef	ulong_t		u_long;typedef	vuchar_t	vu_char;typedef	vushort_t 	vu_short;typedef	vuint_t		vu_int;typedef	vulong_t	vu_long;typedef struct  _quad { int val[2]; } quad;typedef	long	swblk_t;typedef u_long	fixpt_t;typedef int	fd_mask;typedef	struct fd_set {	fd_mask	fds_bits[(((4096)+(( (sizeof(fd_mask) * 8		)	)-1))/( (sizeof(fd_mask) * 8		)	))];} fd_set;extern void  bzero (); struct timeval;int select ();struct  stat{	dev_t	st_dev;				ino_t	st_ino;				mode_t	st_mode;			nlink_t	st_nlink;			uid_t	st_uid;				gid_t	st_gid;				dev_t	st_rdev;			off_t	st_size;			time_t	st_atime;			int	st_spare1;	time_t	st_mtime;			int	st_spare2;	time_t	st_ctime;			int	st_spare3;	uint_t	st_blksize;		        int    st_blocks;                      uint_t  st_flags;                       uint_t  st_gen;                 };	extern int	mkdir(); 	extern mode_t	umask(); 	extern int	stat();	extern int	fstat();	extern int	chmod();	extern int	mkfifo();	extern int	lstat();extern int	isalpha ();extern int	isalnum ();extern int	iscntrl ();extern int	isdigit ();extern int	isgraph ();extern int	islower ();extern int	isprint ();extern int	ispunct ();extern int	isspace ();extern int	isupper ();extern int	isxdigit ();extern int	toupper ();extern int	tolower ();extern int	isascii ();extern int	toascii ();extern int	(_toupper) ();extern int	(_tolower) ();typedef struct _LC_charmap_t 	_LC_charmap_t;typedef struct _LC_monetary_t 	_LC_monetary_t;typedef struct _LC_numeric_t	_LC_numeric_t;typedef struct _LC_resp_t	_LC_resp_t;typedef struct _LC_time_t	_LC_time_t;typedef struct _LC_collate_t	_LC_collate_t;typedef struct _LC_ctype_t	_LC_ctype_t;typedef struct _LC_locale_t	_LC_locale_t;typedef enum __lc_type_id_t {    _LC_CAR=1,    _LC_LOCALE=2,    _LC_CHARMAP=3,    _LC_CTYPE=4,    _LC_COLLATE=5,    _LC_NUMERIC=6,    _LC_MONETARY=7,    _LC_TIME=8,    _LC_RESP=9 } __lc_type_id_t;typedef struct {    __lc_type_id_t	type_id;    unsigned short	magic;    unsigned long	version;    unsigned long  size;} _LC_object_t;typedef struct {    _LC_object_t  hdr;    char     *(*nl_langinfo) ();    unsigned long   (*mbtowc) ();    unsigned long   (*mbstowcs) ();    int      (*wctomb) ();    unsigned long   (*wcstombs) ();    int      (*mblen) ();    unsigned long   (*wcswidth) ();    unsigned long   (*wcwidth) ();    int      (*__mbtopc) ();    int      (*__mbstopcs) ();    int      (*__pctomb) ();    int      (*__pcstombs) ();    _LC_charmap_t *(*init) ();    void     *data;} _LC_core_charmap_t;typedef struct {    _LC_object_t  hdr;     unsigned int  (*towupper) ();    unsigned int  (*towlower) ();    unsigned int    (*wctype) ();    int      (*iswctype) ();    _LC_ctype_t   *(*init) ();    void     *data;} _LC_core_ctype_t;typedef struct {    _LC_object_t  hdr;    int      (*strcoll) ();    unsigned long   (*strxfrm) ();    int      (*wcscoll) ();    unsigned long   (*wcsxfrm) ();    int      (*fnmatch) ();    int      (*regcomp) ();    unsigned long   (*regerror) ();    int      (*regexec) ();    void     (*regfree) ();    _LC_collate_t *(*init) ();    void     *data;} _LC_core_collate_t;struct tm;typedef struct {    _LC_object_t  hdr;    char     *(*nl_langinfo) ();    unsigned long   (*strftime) ();    char     *(*strptime) ();    unsigned long   (*wcsftime) ();    _LC_time_t    *(*init) ();    void     *data;} _LC_core_time_t;typedef struct {    _LC_object_t  hdr;    char     *(*nl_langinfo) ();    unsigned long   (*strfmon) ();    _LC_monetary_t        *(*init) ();    void     *data;} _LC_core_monetary_t;typedef struct {    _LC_object_t  hdr;    char     *(*nl_langinfo) ();    _LC_numeric_t *(*init) ();    void     *data;} _LC_core_numeric_t;typedef struct {    _LC_object_t  hdr;    char        *(*nl_langinfo) ();    int		(*rpmatch) ();    _LC_resp_t    *(*init) ();    void        *data;} _LC_core_resp_t;typedef struct {    _LC_object_t hdr;    char         *(*nl_langinfo) ();    struct lconv * (*localeconv) ();    _LC_locale_t  *(*init) ();    void         *data;} _LC_core_locale_t;struct _LC_charmap_t {    _LC_core_charmap_t core;    char     *cm_csname;	    unsigned long   cm_mb_cur_max;     unsigned long   cm_mb_cur_min;     unsigned char	     cm_max_disp_width; };struct _LC_monetary_t {    _LC_core_monetary_t   core;    char *int_curr_symbol;	       char *currency_symbol;	       char *mon_decimal_point;	       char *mon_thousands_sep;	       char *mon_grouping;		       char *positive_sign;	       char *negative_sign;	        char int_frac_digits;        char frac_digits;	        char p_cs_precedes;	        char p_sep_by_space;	        char n_cs_precedes;	        char n_sep_by_space;	        char p_sign_posn;	        char n_sign_posn;	       char *debit_sign;		       char *credit_sign;		       char *left_parenthesis;	       char *right_parenthesis;	   };struct _LC_numeric_t {    _LC_core_numeric_t core;    char     *decimal_point;    char     *thousands_sep;    unsigned	char *grouping;};struct _LC_resp_t  {    _LC_core_resp_t core;    char    *yesexpr;	         char    *noexpr;	         char    *yesstr;	         char    *nostr;	     };struct _LC_time_t {    _LC_core_time_t core;    char *d_fmt;      char *t_fmt;      char *d_t_fmt;    char *t_fmt_ampm;    char *abday[7];      char *day[7];        char *abmon[12];      char *mon[12];        char *am_pm[2];    char **era;			    char *era_year;    char *era_d_fmt;    char *alt_digits;    char *m_d_recent;		    char *m_d_old;		    char *era_d_t_fmt;    char *era_t_fmt;};typedef union {    unsigned int n[(sizeof(unsigned int *)/sizeof(unsigned int))];     unsigned int      	  *p;	       } _LC_weight_t;    typedef struct {     char         *ce_sym;     _LC_weight_t ce_wgt;	} _LC_collel_t;typedef struct {    _LC_weight_t   ct_wgt;         _LC_collel_t   *ct_collel;} _LC_coltbl_t;typedef struct {    _LC_weight_t ss_act;	     char *ss_src;	     char *ss_tgt;	} _LC_subs_t;struct _LC_collate_t {    _LC_core_collate_t core;    unsigned			            	char    co_nord;	                _LC_weight_t co_sort;	                unsigned int     co_wc_min;		        unsigned int     co_wc_max;		        unsigned int     co_hbound;		        unsigned int     co_col_min;	        unsigned int     co_col_max;	         _LC_coltbl_t *co_coltbl; 	        unsigned	char    co_nsubs;		         _LC_subs_t  *co_subs; 	    };typedef struct {    char    *name;    unsigned	int mask;} _LC_classnm_t;struct _LC_ctype_t {  _LC_core_ctype_t core;  unsigned int      min_wc;  unsigned int      max_wc;  unsigned int      max_upper;	  unsigned int      max_lower;	   unsigned int      *_upper;	   unsigned int      *_lower;	   unsigned      int      *_mask;          unsigned      int      *qmask;	        unsigned      char     *qidx;	       unsigned int	qidx_hbound;	  unsigned      char     nclasses;  _LC_classnm_t *classnms;};struct _LC_locale_t {    _LC_core_locale_t core;    char           *nl_info[55];        struct lconv   *nl_lconv;    _LC_charmap_t  *lc_charmap;    _LC_collate_t  *lc_collate;    _LC_ctype_t    *lc_ctype;    _LC_monetary_t *lc_monetary;    _LC_numeric_t  *lc_numeric;    _LC_resp_t     *lc_resp;    _LC_time_t     *lc_time;    char	   *nl_info2[61 - 55];};extern _LC_charmap_t  *__lc_charmap;extern _LC_collate_t  *__lc_collate;extern _LC_ctype_t    *__lc_ctype;extern _LC_monetary_t *__lc_monetary;extern _LC_numeric_t  *__lc_numeric;extern _LC_resp_t     *__lc_resp;extern _LC_time_t     *__lc_time;extern _LC_locale_t   *__lc_locale;typedef struct {	int	_cnt;	unsigned char	*_ptr;	unsigned char	*_base;	int	_bufsiz;	short	_flag;	short	_file;	char	*__newbase;	void	*_lock;				unsigned char	*_bufendp;} FILE;extern FILE	_iob[];extern int     fread();extern int     fwrite();extern int	_flsbuf ();extern int	_filbuf ();extern int 	ferror ();extern int 	feof ();extern void 	clearerr ();extern int 	putchar ();extern int 	getchar ();extern int 	putc ();extern int 	getc ();extern int	remove ();extern int	rename ();extern FILE 	*tmpfile ();extern char 	*tmpnam ();extern int 	fclose ();extern int 	fflush ();extern FILE	*fopen ();extern FILE 	*freopen ();extern void 	setbuf ();extern int 	setvbuf ();extern int	fprintf ();extern int	fscanf ();extern int	printf ();extern int	scanf ();extern int	sprintf ();extern int	sscanf ();typedef struct {	char	**_a0;			int	_offset;		} va_list;extern int  vfprintf ();extern int  vprintf ();extern int  vsprintf ();extern int 	fgetc ();extern char 	*fgets ();extern int 	fputc ();extern int 	fputs ();extern char 	*gets ();extern int 	puts ();extern int	ungetc ();extern int	fgetpos ();extern int 	fseek ();extern int	fsetpos ();extern long	ftell ();extern void	rewind ();extern void 	perror ();extern int 	fileno ();extern FILE 	*fdopen ();extern char *cuserid ();extern int getopt ();extern char *optarg;extern int optind;extern int optopt;extern int opterr;extern char	*ctermid ();extern int 	getw ();extern int 	pclose ();extern int 	putw ();extern FILE 	*popen ();extern char 	*tempnam ();extern void 	setbuffer ();extern void 	setlinebuf ();extern void (*signal())();extern int raise();struct sigaction {	void	(*sa_handler) (); 	sigset_t sa_mask;			int	sa_flags;		};typedef union sigval {	int 	sival_int;	void	*sival_ptr;} sigval_t;typedef struct sigevent {	union sigval	sigev_value;		int		sigev_signo;		int		sigev_notify;	} sigevent_t;extern int kill (); extern int sigaction (); extern int sigprocmask ();extern int sigsuspend ();  extern int sigemptyset ();extern int sigfillset ();extern int sigaddset ();extern int sigdelset ();extern int sigismember ();extern int sigpending ();typedef int sig_atomic_t;struct  sigcontext {	long    sc_onstack;			long    sc_mask;			long	sc_pc;				long	sc_ps;				long	sc_regs[32];			long	sc_ownedfp;			long	sc_fpregs[32];			unsigned long sc_fpcr;			unsigned long sc_fp_control;		long sc_reserved1;			long sc_reserved2;			size_t	sc_ssize;			caddr_t	sc_sbase;			unsigned long sc_traparg_a0;		unsigned long sc_traparg_a1;	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -