1993-08-02 21:28:42 +04:00
|
|
|
/* $Id: _shtab.c,v 1.2 1993/08/02 17:38:33 mycroft Exp $ */
|
|
|
|
|
1993-07-09 17:11:49 +04:00
|
|
|
extern int target_flags;
|
|
|
|
|
|
|
|
enum reg_class
|
|
|
|
{
|
|
|
|
NO_REGS,
|
|
|
|
AREG, DREG, CREG, BREG,
|
|
|
|
Q_REGS,
|
|
|
|
SIREG, DIREG,
|
|
|
|
INDEX_REGS,
|
|
|
|
GENERAL_REGS,
|
|
|
|
FP_TOP_REG, FP_SECOND_REG,
|
|
|
|
FLOAT_REGS,
|
|
|
|
ALL_REGS, LIM_REG_CLASSES
|
|
|
|
};
|
|
|
|
extern enum reg_class regclass_map[17 ];
|
|
|
|
|
|
|
|
|
|
|
|
extern struct rtx_def *i386_compare_op0, *i386_compare_op1;
|
|
|
|
extern struct rtx_def *(*i386_compare_gen)(), *(*i386_compare_gen_eq)();
|
|
|
|
extern char *hi_reg_name[];
|
|
|
|
extern char *qi_reg_name[];
|
|
|
|
extern char *qi_high_reg_name[];
|
|
|
|
|
|
|
|
enum machine_mode {
|
|
|
|
VOIDmode ,
|
|
|
|
QImode ,
|
|
|
|
HImode ,
|
|
|
|
PSImode ,
|
|
|
|
SImode ,
|
|
|
|
PDImode ,
|
|
|
|
DImode ,
|
|
|
|
TImode ,
|
|
|
|
OImode ,
|
|
|
|
QFmode ,
|
|
|
|
HFmode ,
|
|
|
|
SFmode ,
|
|
|
|
DFmode ,
|
|
|
|
XFmode ,
|
|
|
|
TFmode ,
|
|
|
|
SCmode ,
|
|
|
|
DCmode ,
|
|
|
|
XCmode ,
|
|
|
|
TCmode ,
|
|
|
|
CQImode ,
|
|
|
|
CHImode ,
|
|
|
|
CSImode ,
|
|
|
|
CDImode ,
|
|
|
|
CTImode ,
|
|
|
|
COImode ,
|
|
|
|
BLKmode ,
|
|
|
|
CCmode ,
|
|
|
|
CCFPEQmode ,
|
|
|
|
MAX_MACHINE_MODE };
|
|
|
|
extern char *mode_name[];
|
|
|
|
enum mode_class { MODE_RANDOM, MODE_INT, MODE_FLOAT, MODE_PARTIAL_INT, MODE_CC,
|
|
|
|
MODE_COMPLEX_INT, MODE_COMPLEX_FLOAT, MAX_MODE_CLASS};
|
|
|
|
extern enum mode_class mode_class[];
|
|
|
|
extern int mode_size[];
|
|
|
|
extern int mode_unit_size[];
|
|
|
|
extern enum machine_mode mode_wider_mode[];
|
|
|
|
extern enum machine_mode mode_for_size (unsigned int, enum mode_class, int) ;
|
|
|
|
extern enum machine_mode get_best_mode (int, int, int, enum machine_mode, int) ;
|
|
|
|
extern enum machine_mode class_narrowest_mode[];
|
|
|
|
extern enum machine_mode byte_mode;
|
|
|
|
extern enum machine_mode word_mode;
|
|
|
|
typedef int ptrdiff_t;
|
|
|
|
typedef unsigned int size_t;
|
|
|
|
typedef short unsigned int wchar_t;
|
|
|
|
typedef unsigned int UQItype __attribute__ ((mode (QI)));
|
|
|
|
typedef int SItype __attribute__ ((mode (SI)));
|
|
|
|
typedef unsigned int USItype __attribute__ ((mode (SI)));
|
|
|
|
typedef int DItype __attribute__ ((mode (DI)));
|
|
|
|
typedef unsigned int UDItype __attribute__ ((mode (DI)));
|
|
|
|
typedef float SFtype __attribute__ ((mode (SF)));
|
|
|
|
typedef float DFtype __attribute__ ((mode (DF)));
|
|
|
|
typedef int word_type __attribute__ ((mode (SI)));
|
|
|
|
struct DIstruct {SItype low, high;};
|
|
|
|
typedef union
|
|
|
|
{
|
|
|
|
struct DIstruct s;
|
|
|
|
DItype ll;
|
|
|
|
} DIunion;
|
|
|
|
extern DItype __fixunssfdi (SFtype a);
|
|
|
|
extern DItype __fixunsdfdi (DFtype a);
|
|
|
|
unsigned int __shtab[] = {
|
|
|
|
0x00000001, 0x00000002, 0x00000004, 0x00000008,
|
|
|
|
0x00000010, 0x00000020, 0x00000040, 0x00000080,
|
|
|
|
0x00000100, 0x00000200, 0x00000400, 0x00000800,
|
|
|
|
0x00001000, 0x00002000, 0x00004000, 0x00008000,
|
|
|
|
0x00010000, 0x00020000, 0x00040000, 0x00080000,
|
|
|
|
0x00100000, 0x00200000, 0x00400000, 0x00800000,
|
|
|
|
0x01000000, 0x02000000, 0x04000000, 0x08000000,
|
|
|
|
0x10000000, 0x20000000, 0x40000000, 0x80000000
|
|
|
|
};
|