view test/code-gen.c @ 436:d92786033042 loprtc-div

loprtc
author kono
date Sun, 14 Nov 2004 15:41:05 +0900
parents d3e6359f8501
children a531bbf572e3
line wrap: on
line source

/* Micro-C Code Generator Checker */
/* $Id$ */

#define FLOAT_CODE 1
#define LONGLONG_CODE 1

// code_lvar(int e2,int creg) 

extern int printf(const char *fmt,...);

void
code_endian()
{
    union {
	unsigned char a[8];
	unsigned short s;
	unsigned int i;
	unsigned long long l;
    } u;
    u.s = 0x0123;
    printf("#0020:endian s : %02x %02x\n",u.a[0],u.a[1]);
    u.i = 0x01234567;
    printf("#0022:endian i : %02x %02x %02x %02x\n",u.a[0],u.a[1],u.a[2],u.a[3]);
    u.l = 0x0123456789abcdefULL;
    printf("#0024:endian l : %02x %02x %02x %02x\n",u.a[0],u.a[1],u.a[2],u.a[3]);
    printf("#0025:endian l : %02x %02x %02x %02x\n",u.a[4],u.a[5],u.a[6],u.a[7]);
}

void
code_lvar()
{
    char c1,c2;
    unsigned char uc1,uc2;
    int i1,i2; 
    short s1,s2; 
    unsigned short us1,us2; 

    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    printf("#0039:code_lvar %d %d %d %d %u %u\n",i1,i2,s1,s2,us1,us2);
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    printf("#0041:code_lvar %d %d %u %u\n",c1,c2,uc1,uc2);
}

void
code_lvar_address()
{
    char c1,c2,*p;
    unsigned char uc1,uc2,*up;
    int i1,i2,*ip; 
    short s1,s2,*sp; 
    unsigned short us1,us2,*usp; 

    ip = &i1; *ip = 1; ip = &i2 ; *ip = -2; 
    sp = &s1 ; *sp = -1; sp = &s2 ; *sp = -3; 
    usp = &us1 ; *usp = 65535; usp = &us2 ; *usp = 65535;
    printf("#0056:code_lvar %d %d %d %d %u %u\n",i1,i2,s1,s2,us1,us2);
    p = &c1;
    *p = -1; p = &c2; *p = -3; up = &uc1; *up = 200; up=&uc2; *up = 202;
    printf("#0059:code_lvar %d %d %u %u\n",c1,c2,uc1,uc2);
}

// code_label(int labelno)
void
code_label()
{
    goto hoge;
hage:
    goto hage;
hoge:
    printf("#0070:code_label done\n");
}

// code_label(int labelno)
void
code_label1()
{
    goto hoge;
hage:
    goto hage;
hoge:
    printf("#0081:code_label1 done\n");
}

// code_gvar(int e1,int creg) 
// code_rgvar(int e1,int creg) 
// code_crgvar(int e1,int creg,int sign,int sz)

char c1,c2;
unsigned char uc1,uc2;
static char s_c1,s_c2;
static unsigned char s_uc1,s_uc2;
int i1,i2; 
unsigned int ui1,ui2; 
short s1,s2; 
unsigned short us1,us2; 
static int s_i1,s_i2; 
static short s_s1,s_s2; 
static unsigned short s_us1,s_us2; 
#if FLOAT_CODE
float f0,f1;
double d0,d1;
static float s_f0,s_f1;
static double s_d0,s_d1;
#endif
#if LONGLONG_CODE
long long l0,l1;
unsigned long long ul0,ul1;
static long long s_l0,s_l1;
static unsigned long long s_ul0,s_ul1;
#endif

void
code_gvar()
{
    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    printf("#0117:code_gvar a %d %d %u %u %u %u\n",i1,i2,s1,s2,us1,us2);
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    printf("#0119:code_gvar b %d %d %u %u\n",c1,c2,uc1,uc2);

    s_i1 = 1; s_i2 = 2; 
    s_s1 = -1; s_s2 = -3; s_us1 = 65535; s_us2 = 65535;
    printf("#0123:code_gvar c %d %d %u %u %u %u\n",s_i1,s_i2,s1,s_s2,s_us1,s_us2);
    s_c1 = -1; s_c2 = -3; s_uc1 = 200; s_uc2 = 202;
    printf("#0125:code_gvar d %d %d %u %u\n",s_c1,s_c2,s_uc1,s_uc2);
}

// code_register(int e2,int creg) 

void
code_register()
{
    register char c1,c2;
    register unsigned char uc1,uc2;
    register int i1,i2; 
    register short s1,s2; 
    register unsigned short us1,us2; 

    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    printf("#0141:code_lvar r %d %d %u %u %u %u\n",i1,i2,s1,s2,us1,us2);
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    printf("#0143:code_gvar r %d %d %u %u\n",c1,c2,uc1,uc2);
}

// code_fname(NMTBL *n,int creg) 

void
code_fname()
{
    int i,j;
    i = (int)code_fname;
    j = (int)code_register;
    printf("#0154:code_fname %d\n",i==j);
}


// code_neg(int creg) 
void
code_neg()
{
    int i,j;
    i = 123123123;j = -32423;
    printf("#0164:code_neg %d %d\n",-i,-j);
}

// code_not(int creg) 
void
code_not()
{
    int i,j;
    i = 123123123;j = 0;
    printf("#0173:code_neg %d %d\n",~i,~j);
}

// code_lnot(int creg) 
void
code_lnot()
{
    int i,j;
    i = 123123123;j = 0;
    printf("#0182:code_neg %d %d\n",!i,!j);
}

// code_preinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_preinc()
{
    int i,j;
    i = 123123123;j = 0;
    printf("#0191:code_preinc i %d %d",++i,--j);
    printf("#0192: %d %d\n",i,j);
}

// code_postinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_upostinc()
{
    unsigned int i,j;
    i = 123123123;j = 0;
    printf("#0201:code_upreinc u %d %d",i++,j--);
    printf("#0202: %d %d\n",i,j);
}

// code_postinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_postinc()
{
    int i,j;
    i = 123123123;j = 0;
    printf("#0211:code_postinc i %d %d",i++,j--);
    printf("#0212: %d %d\n",i,j);
}

// code_preinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_upreinc()
{
    unsigned int i,j;
    i = 123123123;j = 0;
    printf("#0221:code_upreinc u %d %d",++i,--j);
    printf("#0222: %d %d\n",i,j);
}

// code_preinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_register_preinc()
{
    register int i,j;
    i = 123123123;j = 0;
    printf("#0231:code_preinc i r %d %d",++i,--j);
    printf("#0232: %d %d\n",i,j);
}

// code_postinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_register_upostinc()
{
    register unsigned int i,j;
    i = 123123123;j = 0;
    printf("#0241:code_upreinc u r %d %d",i++,j--);
    printf("#0242: %d %d\n",i,j);
}

// code_postinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_register_postinc()
{
    register int i,j;
    i = 123123123;j = 0;
    printf("#0251:code_postinc i r %d %d",i++,j--);
    printf("#0252: %d %d\n",i,j);
}

// code_register_preinc(int e1,int e2,int dir,int sign,int sz,int reg) 
void
code_register_upreinc()
{
    register unsigned int i,j;
    i = 123123123;j = 0;
    printf("#0261:code_upreinc u r %d %d",++i,--j);
    printf("#0262: %d %d\n",i,j);
}

// code_return(int creg) 


int
 code_return_int0()
{
    return 1;
}
void
code_return_int()
{
    printf("#0276:code_return_int %d\n",code_return_int0());
}

#if FLOAT_CODE
float
 code_return_float0()
{
    return 1.0;
}
void
code_return_float()
{
    printf("#0288:code_return_float %g\n",code_return_float0());
}

double
 code_return_double0()
{
    return 1.0;
}
void
code_return_double()
{
    printf("#0299:code_return_double %g\n",code_return_double0());
}

#endif

#if LONGLONG_CODE
long long
 code_return_longlong0()
{
    return 10LL;
}
void
code_return_longlong()
{
    printf("#0313:code_return_longlong %lld\n",code_return_longlong0());
}

#endif

struct aa { char a[100]; } a0;
struct aa
 code_return_struct0(/*int j*/)
{
    a0.a[55]=3;
    return a0;
}

void
code_return_struct1()
{
    int i = code_return_struct0(/*1*/).a[55];
    // int i;
    // i = code_return_struct0(i).a[55];
    printf("#0332:code_return_struct %d\n", i);
}

void
code_return_struct()
{
    printf("#0338:code_return_struct %d\n", code_return_struct0().a[55]);
}

// code_gt(int cond) 

void
code_gt()
{
    int reg;
    if (i1>i2)
	printf("#0348:code_gt 1\n");
    else
	printf("#0350:code_gt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#0353:reg=%d code_gt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#0357:reg=%d code_gt -2<reg && reg <0\n",reg);
    }
    
}

// code_ugt(int cond) 
void
code_ugt()
{
    int reg;
    if (ui1>ui2)
	printf("#0368:code_ugt 1\n");
    else
	printf("#0370:code_ugt 0\n");
    for (reg=0;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#0373:reg=%d code_ugt  0<reg && reg <3\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (1<reg && reg<5)
	   printf("#0377:reg=%d code_ugt  1<reg && reg <5\n",reg);
    }
}

// code_ge(int cond) 
void
code_ge()
{
    int reg;
    if (i1>=i2)
	printf("#0387:code_ge 1\n");
    else
	printf("#0389:code_ge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#0392:reg=%d code_ge  0<=reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#0396:reg=%d code_ge -2<=reg && reg <=0\n",reg);
    }
}

// code_uge(int cond) 
void
code_uge()
{
    unsigned reg;
    if (ui1>=ui2)
	printf("#0406:code_uge 1\n");
    else
	printf("#0408:code_uge 0\n");
    for (reg=0;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#0411:reg=%d code_uge  0<=reg && reg <=3\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (1<=reg && reg<=5)
	   printf("#0415:reg=%d code_uge  1<=reg && reg <=5\n",reg);
    }
}

// code_eq(int cond) 
void
code_eq()
{
    if (ui1==ui2)
	printf("#0424:code_eq 1\n");
    else
	printf("#0426:code_eq 0\n");
    if (i1!=i2)
	printf("#0428:code_neq 1\n");
    else
	printf("#0430:code_neq 0\n");
}

// code_bool(int e1) 

void
code_bool()
{
    int i1l,i2l;
    unsigned int ui1l,ui2l;

    ui2 = ui1-3;
    for(i2=i1-3;i2<i1+3;i2++) {
	printf("#0443:code_bool %d>%d gvar %d\n",i1,i2,i1>i2);
	printf("#0444:code_bool %u>%u gvar %d u\n",ui1,ui2,ui1>ui2);
	printf("#0445:code_bool %d>=%d gvar %d\n",i1,i2,i1>=i2);
	printf("#0446:code_bool %u>=%u gvar %d u\n",ui1,ui2,ui1>=ui2);
	printf("#0447:code_bool %d<%d gvar %d\n",i1,i2,i1<i2);
	printf("#0448:code_bool %u<%u gvar %d u\n",ui1,ui2,ui1<ui2);
	printf("#0449:code_bool %d<=%d gvar %d\n",i1,i2,i1<=i2);
	printf("#0450:code_bool %u<=%u gvar %d u\n",ui1,ui2,ui1<=ui2);
	printf("#0451:code_bool %u==%u gvar %d u\n",ui1,ui2,ui1==ui2);
	printf("#0452:code_bool %u!=%u gvar %d\n",i1,i2,i1!=i2);
	ui2++;
    }
    ui1l = ui1;
    i1l = i1;
    ui2l = ui1-3;
    for(i2l=i1-3;i2l<i1l+3;i2l++) {
	printf("#0459:code_bool %d>%d lvar %d\n",i1l,i2l,i1l>i2l);
	printf("#0460:code_bool %u>%u lvar %d u\n",ui1l,ui2l,ui1l>ui2l);
	printf("#0461:code_bool %d>=%d lvar %d\n",i1l,i2l,i1l>=i2l);
	printf("#0462:code_bool %u>=%u lvar %d u\n",ui1l,ui2l,ui1l>=ui2l);
	printf("#0463:code_bool %d<%d lvar %d\n",i1l,i2l,i1l<i2l);
	printf("#0464:code_bool %u<%u lvar %d u\n",ui1l,ui2l,ui1l<ui2l);
	printf("#0465:code_bool %d<=%d lvar %d\n",i1l,i2l,i1l<=i2l);
	printf("#0466:code_bool %u<=%u lvar %d u\n",ui1l,ui2l,ui1l<=ui2l);
	printf("#0467:code_bool %u==%u lvar %d u\n",ui1l,ui2l,ui1l==ui2l);
	printf("#0468:code_bool %u!=%u lvar %d\n",i1l,i2l,i1l!=i2l);
	ui2l++;
    }
}

void
code_cmp()
{
    char c1,c2;
    unsigned char uc1,uc2;
    int i1,i2; 
    short s1,s2; 
    unsigned short us1,us2; 

    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    i1 && printf("#0485:code_bool local 1\n");
    s1 && printf("#0486:code_bool local 2\n");
    us1 && printf("#0487:code_bool local 3\n");
    c1 && printf("#0488:code_bool local 4\n");
    uc1 && printf("#0489:code_bool local 5\n");

}
void
code_cmp_global()
{
    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    i1 && printf("#0498:code_bool global 1\n");
    s1 && printf("#0499:code_bool global 2\n");
    us1 && printf("#0500:code_bool global 3\n");
    c1 && printf("#0501:code_bool global 4\n");
    uc1 && printf("#0502:code_bool global 5\n");
}

void
code_cmp_register()
{
    register char c1,c2;
    register unsigned char uc1,uc2;
    register int i1,i2; 
    register short s1,s2; 
    register unsigned short us1,us2; 

    i1 = 1; i2 = -2; 
    s1 = -1; s2 = -3; us1 = 65535; us2 = 65535;
    c1 = -1; c2 = -3; uc1 = 200; uc2 = 202;
    i1 && printf("#0517:code_bool register 1\n");
    s1 && printf("#0518:code_bool register 2\n");
    us1 && printf("#0519:code_bool register 3\n");
    c1 && printf("#0520:code_bool register 4\n");
    uc1 && printf("#0521:code_bool register 5\n");

}


// code_string(int e1,int creg)

void
code_string()
{
    printf("#0531:code_string test\n");
}

// struct_push(int e4,int t,int arg) 

struct aa
  struct_push0(int i,struct aa a)
{
    a.a[55]++;
    if (i==0) {
	return struct_push0(1,a0);
    }
    return a0;
}

void
struct_push()
{
    a0.a[55]=3;
    a0 = struct_push0(0,a0);
    printf("#0551:struct_push %d\n",a0.a[55]);
}

// code_jmp(char *s) 
// code_indirect_jmp(int e2) 

// code_rindirect(int e1, int offset, int us);
void
code_rindirect()
{
    int i1,i2; 
    unsigned int ui1,ui2; 
    int *pi1,*pi2; 
    unsigned int *pui1,*pui2; 

    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;
    printf("#0572:code_rindirect %d %d %u %u\n",*pi1,*pi2,*pui1,*pui2);
}

// code_crindirect(int e1, int offset, int us);
void
code_crindirect()
{
    char i1,i2; 
    unsigned char ui1,ui2; 
    char *pi1,*pi2; 
    unsigned char *pui1,*pui2; 

    i1 = -55; i2= 55;
    ui1 = 200; ui2= 128;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;
    printf("#0590:code_cindirect %d %d %u %u\n",*pi1,*pi2,*pui1,*pui2);
}

// code_srindirect(int e1, int offset, int us);
void
code_srindirect()
{
    short i1,i2; 
    unsigned short ui1,ui2; 
    short *pi1,*pi2; 
    unsigned short *pui1,*pui2; 

    i1 = -55; i2= 55;
    ui1 = 200; ui2= 128;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;
    printf("#0608:code_sindirect %d %d %u %u\n",*pi1,*pi2,*pui1,*pui2);
}

#if FLOAT_CODE
// code_drindirect(int e1, int offset, int d);
void
code_drindirect()
{
    float i1,i2; 
    double ui1,ui2; 
    float *pi1,*pi2; 
    double *pui1,*pui2; 

    i1 = -55; i2= 55;
    ui1 = 200; ui2= 128;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;
    printf("#0627:code_dindirect %g %g %g %g\n",*pi1,*pi2,*pui1,*pui2);
}

#endif
    
#if LONGLONG_CODE
// code_lrindirect(int e1, int offset, int us);
void
code_lrindirect()
{
    long long i1,i2; 
    unsigned long long ui1,ui2; 
    long long *pi1,*pi2; 
    unsigned long long *pui1,*pui2; 

    i1 = -55; i2= 55;
    ui1 = 200; ui2= 128;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;
    printf("#0648:code_lrindirect %llx %llx %llx %llx\n",*pi1,*pi2,*pui1,*pui2);
    printf("#0649:code_lrindirect %lld %lld %llu %llu\n",*pi1,*pi2,*pui1,*pui2);
}

#endif

// code_assign_gvar(int e2,int creg,int byte) 
// code_assign_lvar(int e2,int creg,int byte) 
// code_assign_register(int e2,int byte,int creg) 
// code_assign(int e2,int byte,int creg) 

void
code_assign()
{
    int i1,i2; 
    unsigned int ui1,ui2; 
    int *pi1,*pi2; 
    unsigned int *pui1,*pui2; 

    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#0676:code_rindirect %d %d %u %u\n",*pi1,*pi2,*pui1,*pui2);
}

void
code_assign_register()
{
    int i1,i2; 
    unsigned int ui1,ui2; 
    register int *pi1,*pi2; 
    register unsigned int *pui1,*pui2; 

    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#0696:code_rindirect %d %d %u %u\n",*pi1,*pi2,*pui1,*pui2);
}

// code_register_assop(int e2,int op,int byte) 
void
code_register_assop()
{
    register int i1; 
    register unsigned int ui1; 
    int a = 3;
    i1 = -555;
    ui1 = 632423423;

    i1 += a;
    printf("#0710:code_assop 1 %d\n",i1);
    i1 -= a;
    printf("#0712:code_assop 2 %d\n",i1);
    i1 /= a;
    printf("#0714:code_assop 3 %d\n",i1);
    i1 *= a;
    printf("#0716:code_assop 4 %d\n",i1);
    i1 |= a;
    printf("#0718:code_assop 5 %d\n",i1);
    i1 &= a;
    printf("#0720:code_assop 6 %d\n",i1);
    i1 ^= a;
    printf("#0722:code_assop 7 %d\n",i1);
    i1 <<= a;
    printf("#0724:code_assop 8 %d\n",i1);
    i1 >>= a;
    printf("#0726:code_assop 9 %d\n",i1);

    ui1 += a;
    printf("#0729:code_assop 1 %u\n",ui1);
    ui1 -= a;
    printf("#0731:code_assop 2 %u\n",ui1);
    ui1 /= a;
    printf("#0733:code_assop 3 %u\n",ui1);
    ui1 *= a;
    printf("#0735:code_assop 4 %u\n",ui1);
    ui1 |= a;
    printf("#0737:code_assop 5 %u\n",ui1);
    ui1 &= a;
    printf("#0739:code_assop 6 %u\n",ui1);
    ui1 ^= a;
    printf("#0741:code_assop 7 %u\n",ui1);
    ui1 <<= a;
    printf("#0743:code_assop 8 %u\n",ui1);
    ui1 >>= a;
    printf("#0745:code_assop 9 %u\n",ui1);
}

// code_assop(int op,int byte,int sign) 
void
code_assop()
{
    int i1,i2; 
    unsigned int ui1,ui2; 
    int a = 3;
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += a;
    printf("#0759:code_assop 1 %d\n",i1);
    i1 -= a;
    printf("#0761:code_assop 2 %d\n",i1);
    i1 /= a;
    printf("#0763:code_assop 3 %d\n",i1);
    i1 *= a;
    printf("#0765:code_assop 4 %d\n",i1);
    i1 |= a;
    printf("#0767:code_assop 5 %d\n",i1);
    i1 &= a;
    printf("#0769:code_assop 6 %d\n",i1);
    i1 ^= a;
    printf("#0771:code_assop 7 %d\n",i1);
    i1 <<= a;
    printf("#0773:code_assop 8 %d\n",i1);
    i1 >>= a;
    printf("#0775:code_assop 9 %d\n",i1);

    ui1 += a;
    printf("#0778:code_assop 1 %u\n",ui1);
    ui1 -= a;
    printf("#0780:code_assop 2 %u\n",ui1);
    ui1 /= a;
    printf("#0782:code_assop 3 %u\n",ui1);
    ui1 *= a;
    printf("#0784:code_assop 4 %u\n",ui1);
    ui1 |= a;
    printf("#0786:code_assop 5 %u\n",ui1);
    ui1 &= a;
    printf("#0788:code_assop 6 %u\n",ui1);
    ui1 ^= a;
    printf("#0790:code_assop 7 %u\n",ui1);
    ui1 <<= a;
    printf("#0792:code_assop 8 %u\n",ui1);
    ui1 >>= a;
    printf("#0794:code_assop 9 %u\n",ui1);
}


// code_register_assop(int e2,int op,int byte) 
void
code_register_assop_const()
{
    register int i1; 
    register unsigned int ui1; 
    i1 = -555;
    ui1 = 632423423;

    i1 += 3;
    printf("#0808:code_assop c 1 %d\n",i1);
    i1 -= 3;
    printf("#0810:code_assop c 2 %d\n",i1);
    i1 /= 3;
    printf("#0812:code_assop c 3 %d\n",i1);
    i1 *= 3;
    printf("#0814:code_assop c 4 %d\n",i1);
    i1 |= 234;
    printf("#0816:code_assop c 5 %d\n",i1);
    i1 &= 23244234;
    printf("#0818:code_assop c 6 %d\n",i1);
    i1 ^= 55244234;
    printf("#0820:code_assop c 7 %d\n",i1);
    i1 <<= 3;
    printf("#0822:code_assop c 8 %d\n",i1);
    i1 >>= 3;
    printf("#0824:code_assop c 9 %d\n",i1);

    ui1 += 3;
    printf("#0827:code_assop c 1 %u\n",ui1);
    ui1 -= 3;
    printf("#0829:code_assop c 2 %u\n",ui1);
    ui1 /= 3;
    printf("#0831:code_assop c 3 %u\n",ui1);
    ui1 *= 3;
    printf("#0833:code_assop c 4 %u\n",ui1);
    ui1 |= 234;
    printf("#0835:code_assop c 5 %u\n",ui1);
    ui1 &= 23234234;
    printf("#0837:code_assop c 6 %u\n",ui1);
    ui1 ^= 55234234;
    printf("#0839:code_assop c 7 %u\n",ui1);
    ui1 <<= 3;
    printf("#0841:code_assop c 8 %u\n",ui1);
    ui1 >>= 3;
    printf("#0843:code_assop c 9 %u\n",ui1);
}

// code_assop(int op,int byte,int sign) 
void
code_assop_const()
{
    int i1,i2; 
    unsigned int ui1,ui2; 
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += 3;
    printf("#0856:code_assop c 1 %d\n",i1);
    i1 -= 3;
    printf("#0858:code_assop c 2 %d\n",i1);
    i1 /= 3;
    printf("#0860:code_assop c 3 %d\n",i1);
    i1 *= 3;
    printf("#0862:code_assop c 4 %d\n",i1);
    i1 |= 234;
    printf("#0864:code_assop c 5 %d\n",i1);
    i1 &= 23234234;
    printf("#0866:code_assop c 6 %d\n",i1);
    i1 ^= 55444234;
    printf("#0868:code_assop c 7 %d\n",i1);
    i1 <<= 3;
    printf("#0870:code_assop c 8 %d\n",i1);
    i1 >>= 3;
    printf("#0872:code_assop c 9 %d\n",i1);

    ui1 += 3;
    printf("#0875:code_assop c 1 %u\n",ui1);
    ui1 -= 3;
    printf("#0877:code_assop c 2 %u\n",ui1);
    ui1 /= 3;
    printf("#0879:code_assop c 3 %u\n",ui1);
    ui1 *= 3;
    printf("#0881:code_assop c 4 %u\n",ui1);
    ui1 |= 234;
    printf("#0883:code_assop c 5 %u\n",ui1);
    ui1 &= 23234234;
    printf("#0885:code_assop c 6 %u\n",ui1);
    ui1 ^= 54234234;
    printf("#0887:code_assop c 7 %u\n",ui1);
    ui1 <<= 3;
    printf("#0889:code_assop c 8 %u\n",ui1);
    ui1 >>= 3;
    printf("#0891:code_assop c 9 %u\n",ui1);
}


// tosop(int op,int oreg)
void
tosop()
{
    int i1,i2,i; 
    unsigned int u1,u2,u; 
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;

    i = i1 + i2;
    printf("#0905:tosop 1 %d\n",i);
    i = i1 - i2;
    printf("#0907:tosop 2 %d\n",i);
    i = i1 / i2;
    printf("#0909:tosop 3 %d\n",i);
    i = i1 * i2;
    printf("#0911:tosop 4 %d\n",i);
    i = i1 | i2;
    printf("#0913:tosop 5 %d\n",i);
    i = i1 & i2;
    printf("#0915:tosop 6 %d\n",i);
    i = i1 ^ i2;
    printf("#0917:tosop 7 %d\n",i);
    i = i1 << i2;
    printf("#0919:tosop 8 %d\n",i);
    i = i1 >> i2;
    printf("#0921:tosop 9 %d\n",i);
    i = i1 % i2;
    printf("#0923:tosop 10 %d\n",i);

    u = u1 + u2;
    printf("#0926:tosop 1 %u\n",u);
    u = u1 - u2;
    printf("#0928:tosop 2 %u\n",u);
    u = u1 / u2;
    printf("#0930:tosop 3 %u\n",u);
    u = u1 * u2;
    printf("#0932:tosop 4 %u\n",u);
    u = u1 | u2;
    printf("#0934:tosop 5 %u\n",u);
    u = u1 & u2;
    printf("#0936:tosop 6 %u\n",u);
    u = u1 ^ u2;
    printf("#0938:tosop 7 %u\n",u);
    u = u1 << u2;
    printf("#0940:tosop 8 %u\n",u);
    u = u1 >> u2;
    printf("#0942:tosop 9 %u\n",u);
    u = u1 % u2;
    printf("#0944:tosop 10 %u\n",u);
}

// oprtc(int op,int v)
void
oprtc()
{
    int i1,i; 
    unsigned int u1,u; 
    i1 = -555; 
    u1 = 632423423; 

    i = i1 + 3;
    printf("#0957:oprtc 1 %d\n",i);
    i = i1 - 3;
    printf("#0959:oprtc 2 %d\n",i);
    i = i1 / 3;
    printf("#0961:oprtc 3 %d\n",i);
    i = i1 * 3;
    printf("#0963:oprtc 4 %d\n",i);
    i = i1 | 234234234;
    printf("#0965:oprtc 5 %d\n",i);
    i = i1 & 23234234;
    printf("#0967:oprtc 6 %d\n",i);
    i = i1 ^ 23234234;
    printf("#0969:oprtc 7 %d\n",i);
    i = i1 << 5;
    printf("#0971:oprtc 8 %d\n",i);
    i = i1 >> 5;
    printf("#0973:oprtc 9 %d\n",i);
    i = i1 % 5;
    printf("#0975:oprtc 10 %d\n",i);

    u = u1 + 3;
    printf("#0978:oprtc 1 %u\n",u);
    u = u1 - 3;
    printf("#0980:oprtc 2 %u\n",u);
    u = u1 / 3;
    printf("#0982:oprtc 3 %u\n",u);
    u = u1 * 3;
    printf("#0984:oprtc 4 %u\n",u);
    u = u1 | 234234234;
    printf("#0986:oprtc 5 %u\n",u);
    u = u1 & 234234234;
    printf("#0988:oprtc 6 %u\n",u);
    u = u1 ^ 234234234;
    printf("#0990:oprtc 7 %u\n",u);
    u = u1 << 5;
    printf("#0992:oprtc 8 %u\n",u);
    u = u1 >> 5;
    printf("#0994:oprtc 9 %u\n",u);
    u = u1 % 5;
    printf("#0996:oprtc 10 %u\n",u);
}


// tosop(int op,int oreg)
void
register_tosop()
{
    register int i1,i2,i; 
    register unsigned int u1,u2,u; 
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;

    i = i1 + i2;
    printf("#1010:tosop r 1 %d\n",i);
    i = i1 - i2;
    printf("#1012:tosop r 2 %d\n",i);
    i = i1 / i2;
    printf("#1014:tosop r 3 %d\n",i);
    i = i1 * i2;
    printf("#1016:tosop r 4 %d\n",i);
    i = i1 | i2;
    printf("#1018:tosop r 5 %d\n",i);
    i = i1 & i2;
    printf("#1020:tosop r 6 %d\n",i);
    i = i1 ^ i2;
    printf("#1022:tosop r 7 %d\n",i);
    i = i1 << i2;
    printf("#1024:tosop r 8 %d\n",i);
    i = i1 >> i2;
    printf("#1026:tosop r 9 %d\n",i);
    i = i1 % i2;
    printf("#1028:tosop r 10 %d\n",i);

    u = u1 + u2;
    printf("#1031:tosop r 1 %u\n",u);
    u = u1 - u2;
    printf("#1033:tosop r 2 %u\n",u);
    u = u1 / u2;
    printf("#1035:tosop r 3 %u\n",u);
    u = u1 * u2;
    printf("#1037:tosop r 4 %u\n",u);
    u = u1 | u2;
    printf("#1039:tosop r 5 %u\n",u);
    u = u1 & u2;
    printf("#1041:tosop r 6 %u\n",u);
    u = u1 ^ u2;
    printf("#1043:tosop r 7 %u\n",u);
    u = u1 << u2;
    printf("#1045:tosop r 8 %u\n",u);
    u = u1 >> u2;
    printf("#1047:tosop r 9 %u\n",u);
    u = u1 % u2;
    printf("#1049:tosop r 10 %u\n",u);
}

// oprtc(int op,int v)
void
register_oprtc()
{
    register int i1,i; 
    register unsigned int u1,u; 
    i1 = -555; 
    u1 = 632423423; 

    i = i1 + 3;
    printf("#1062:oprtc r 1 %d\n",i);
    i = i1 - 3;
    printf("#1064:oprtc r 2 %d\n",i);
    i = i1 / 3;
    printf("#1066:oprtc r 3 %d\n",i);
    i = i1 * 3;
    printf("#1068:oprtc r 4 %d\n",i);
    i = i1 | 234234234;
    printf("#1070:oprtc r 5 %d\n",i);
    i = i1 & 23234234;
    printf("#1072:oprtc r 6 %d\n",i);
    i = i1 ^ 23234234;
    printf("#1074:oprtc r 7 %d\n",i);
    i = i1 << 5;
    printf("#1076:oprtc r 8 %d\n",i);
    i = i1 >> 5;
    printf("#1078:oprtc r 9 %d\n",i);
    i = i1 % 5;
    printf("#1080:oprtc r 10 %d\n",i);

    u = u1 + 3;
    printf("#1083:oprtc r 1 %u\n",u);
    u = u1 - 3;
    printf("#1085:oprtc r 2 %u\n",u);
    u = u1 / 3;
    printf("#1087:oprtc r 3 %u\n",u);
    u = u1 * 3;
    printf("#1089:oprtc r 4 %u\n",u);
    u = u1 | 234234234;
    printf("#1091:oprtc r 5 %u\n",u);
    u = u1 & 234234234;
    printf("#1093:oprtc r 6 %u\n",u);
    u = u1 ^ 234234234;
    printf("#1095:oprtc r 7 %u\n",u);
    u = u1 << 5;
    printf("#1097:oprtc r 8 %u\n",u);
    u = u1 >> 5;
    printf("#1099:oprtc r 9 %u\n",u);
    u = u1 % 5;
    printf("#1101:oprtc r 10 %u\n",u);
}


#if FLOAT_CODE
// code_cmp_dregister(int e2,int d)
void
code_cmp_dregister()
{
    register float f0,f1;
    register double d0,d1;
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    f0 && printf("#1114:code_bool register 6\n");
    d0 && printf("#1115:code_bool register 7\n");

}

// code_dregister(int e2,int freg,int d)
void
code_dregister()
{
    register float f0,f1;
    register double d0,d1;
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    printf("#1127:code_lvar float r %f %f %g %g\n",f0,f1,d0,d1);
}

// code_dassign_gvar(int e2,int freg,int d)
// code_dassign_lvar(int e2,int freg,int d)
// code_dassign_dregister(int e2,int d,int freg) 

// code_dassign(int e2,int freg,int d)
void
code_dassign()
{
    int i1,i2; 
    float f1,f2; 
    double ui1,ui2; 
    float *pi1,*pi2; 
    double *pui1,*pui2; 

    i1 = -555; i2= 555;
    f1 = -555; f2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &f1;
    pi2 = &f2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#1154:code_dassign %g %g %g %g\n",*pi1,*pi2,*pui1,*pui2);
}

void
code_register_dassign()
{
    int i1,i2; 
    float f1,f2; 
    double ui1,ui2; 
    register float *pi1,*pi2; 
    register double *pui1,*pui2; 

    i1 = -555; i2= 555;
    f1 = -555; f2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &f1;
    pi2 = &f2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#1176:code_dassign %g %g %g %g\n",*pi1,*pi2,*pui1,*pui2);
}

// code_dconst(int e2,int freg,int d)
// code_dneg(int freg,int d)
// code_dneg(int creg) 
void
code_dneg()
{
    float i,j;
    double di,dj;
    i = 123123123;j = -32423;
    di = 123123123;dj = -32423;
    printf("#1189:code_dneg %g %g\n",-i,-j);
    printf("#1190:code_dneg %g %g\n",-di,-dj);
}

// code_d2i(int freg0)
void
code_d2i()
{
    double d,z;
    int i;
    d = 0.1;
    z = 555;
    i = d;
    printf("#1202:code_d2i %d\n",i);
}
// code_i2d(int creg0)
void
code_i2d()
{
    double d;
    int i,z;
    i = 242342342;
    z = -1;
    d = i;
    printf("#1213:code_i2d %g\n",d);
}
// code_d2u(int freg0)
void
code_d2u()
{
    double d,z;
    unsigned int i;
    d = 0.1;
    z = 555;
    i = d;
    printf("#1224:code_d2u %ud\n",i);
}
// code_u2d(int creg0)
void
code_u2d()
{
    double d;
    unsigned int i,z;
    i = 242342342;
    z = 3;
    d = i;
    printf("#1235:code_u2d %g\n",d);
}
// code_f2i(int freg0)
void
code_f2i()
{
    float d,z;
    int i;
    d = 0.1;
    z = 555;
    i = d;
    printf("#1246:code_d2i %d\n",i);
}
// code_i2f(int creg0)
void
code_i2f()
{
    float d;
    int i,z;
    i = 24234342;
    z = 555;
    d = i;
    printf("#1257:code_i2f %g\n",d);
}
// code_f2u(int freg0)
void
code_f2u()
{
    float d,z;
    unsigned int i;
    d = 0.1;
    z = 555;
    i = d;
    printf("#1268:code_f2u %ud\n",i);
}
// code_u2f(int creg0)
void
code_u2f()
{
    float d;
    unsigned int i,z;
    i = 242342342;
    z = 555;
    d = i;
    printf("#1279:code_u2f %g\n",d);
}


// code_drgvar(int e2,int d,int freg)
void
code_dgvar()
{
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    printf("#1289:code_gvar float 1 %f %f %g %g\n",f0,f1,d0,d1);
    s_f0 = 0.0; s_f1 = 0.2;
    s_d0 = 10; s_d1 = 10e10;
    printf("#1292:code_gvar float 2 %f %f %g %g\n",s_f0,s_f1,s_d0,s_d1);
}

// code_drlvar(int e2,int d,int freg)
void
code_dlvar()
{
    float f0,f1;
    double d0,d1;
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    printf("#1303:code_lvar float %f %f %g %g\n",f0,f1,d0,d1);
    printf("#1304:code_bool > lvar float %d %d %d %d\n",
	f0>f1,f0>=f1,f0==f1,f0!=f1);
    printf("#1306:code_bool > lvar double %d %d %d %d\n",
	d0>d1,d0>=d1,d0==d1,d0!=d1);
    printf("#1308:code_bool < lvar float %d %d %d %d\n",
	f0<f1,f0<=f1,f0==f1,f0!=f1);
    printf("#1310:code_bool < lvar double %d %d %d %d\n",
	d0<d1,d0<=d1,d0==d1,d0!=d1);
}


// code_cmp_drgvar(int e2,int d)
void
code_cmp_d_global()
{
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    f0 && printf("#1321:code_bool global 6\n");
    d0 && printf("#1322:code_bool global 7\n");
}


// code_cmp_drlvar(int e2,int d)
void
code_cmp_d()
{
    float f0,f1;
    double d0,d1;
    f0 = 0.0; f1 = 0.2;
    d0 = 10; d1 = 10e10;
    f0 && printf("#1334:code_bool local 6\n");
    d0 && printf("#1335:code_bool local 7\n");
}

// dtosop(int op,int e1)
void
dtosop()
{
    double i1,i2,i; 
    float u1,u2,u; 
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;

    i = i1 + i2;
    printf("#1348:dtosop 1 %g\n",i);
    i = i1 - i2;
    printf("#1350:dtosop 2 %g\n",i);
    i = i1 / i2;
    printf("#1352:dtosop 3 %g\n",i);
    i = i1 * i2;
    printf("#1354:dtosop 4 %g\n",i);
    u = u1 + u2;
    printf("#1356:dtosop 1 %g\n",u);
    u = u1 - u2;
    printf("#1358:dtosop 2 %g\n",u);
    u = u1 / u2;
    printf("#1360:dtosop 3 %g\n",u);
    u = u1 * u2;
    printf("#1362:dtosop 4 %g\n",u);
}


// dtosop(int op,int e1)
void
dtosop_register()
{
    register double i1,i2,i; 
    register float u1,u2,u; 
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;

    i = i1 + i2;
    printf("#1376:dtosop 1 %g\n",i);
    i = i1 - i2;
    printf("#1378:dtosop 2 %g\n",i);
    i = i1 / i2;
    printf("#1380:dtosop 3 %g\n",i);
    i = i1 * i2;
    printf("#1382:dtosop 4 %g\n",i);
    u = u1 + u2;
    printf("#1384:dtosop 1 %g\n",u);
    u = u1 - u2;
    printf("#1386:dtosop 2 %g\n",u);
    u = u1 / u2;
    printf("#1388:dtosop 3 %g\n",u);
    u = u1 * u2;
    printf("#1390:dtosop 4 %g\n",u);
}


// code_dassop(int op,int d) 
void
code_dassop()
{
    double i1,i2; 
    float ui1,ui2; 
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += 3;
    printf("#1404:code_dassop 1 %g\n",i1);
    i1 -= 3;
    printf("#1406:code_dassop 2 %g\n",i1);
    i1 /= 3;
    printf("#1408:code_dassop 3 %g\n",i1);
    i1 *= 3;
    printf("#1410:code_dassop 4 %g\n",i1);

    ui1 += 3;
    printf("#1413:code_dassop f 1 %g\n",ui1);
    ui1 -= 3;
    printf("#1415:code_dassop f 2 %g\n",ui1);
    ui1 /= 3;
    printf("#1417:code_dassop f 3 %g\n",ui1);
    ui1 *= 3;
    printf("#1419:code_dassop f 4 %g\n",ui1);
}

// code_dassop(int op,int d) 
void
code_register_dassop()
{
    register double i1,i2; 
    register float ui1,ui2; 
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += 3;
    printf("#1432:code_dassop r 1 %g\n",i1);
    i1 -= 3;
    printf("#1434:code_dassop r 2 %g\n",i1);
    i1 /= 3;
    printf("#1436:code_dassop r 3 %g\n",i1);
    i1 *= 3;
    printf("#1438:code_dassop r 4 %g\n",i1);

    ui1 += 3;
    printf("#1441:code_dassop f r 1 %g\n",ui1);
    ui1 -= 3;
    printf("#1443:code_dassop f r 2 %g\n",ui1);
    ui1 /= 3;
    printf("#1445:code_dassop f r 3 %g\n",ui1);
    ui1 *= 3;
    printf("#1447:code_dassop f r 4 %g\n",ui1);
}


// code_dpreinc(int e1,int e2,int d,int reg) 
void
code_dpreinc()
{
    double i,j;
    float ui,uj;
    i = 123123123;j = 0;
    printf("#1458:code_dpreinc d %g %g",++i,--j);
    printf("#1459: %g %g\n",i,j);
    ui = 123123123;uj = 0;
    printf("#1461:code_dpreinc f %g %g",++ui,--uj);
    printf("#1462: %g %g\n",ui,uj);
}

// code_dpostinc(int e1,int e2,int d,int reg) 
void
code_dpostinc()
{
    double i,j;
    float ui,uj;
    i = 123123;j = 0;
    printf("#1472:code_dpostinc d %g %g",i--,j--);
    printf("#1473: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1475:code_dpostinc f %g %g",ui++,uj--);
    printf("#1476: %g %g\n",ui,uj);
}

// code_dpreinc(int e1,int e2,int d,int reg) 
void
code_register_dpreinc()
{
    register double i,j;
    register float ui,uj;
    i = 123123;j = 0;
    printf("#1486:code_dpreinc r d %g %g",++i,--j);
    printf("#1487: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1489:code_dpreinc r f %g %g",++ui,--uj);
    printf("#1490: %g %g\n",ui,uj);
}

// code_dpostinc(int e1,int e2,int d,int reg) 
void
code_register_dpostinc()
{
    register double i,j;
    register float ui,uj;
    i = 123123;j = 0;
    printf("#1500:code_dpostinc r d %g %g",i--,j--);
    printf("#1501: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1503:code_dpostinc r f %g %g",ui++,uj--);
    printf("#1504: %g %g\n",ui,uj);
}

// drexpr(int e1, int e2,int l1, int op)

// 	case DOP+GE:
// 	case FOP+GE:
// 	case DOP+GT:
// 	case FOP+GT:
// 	case DOP+EQ:
// 	case FOP+EQ:
// 	case DOP+NEQ:
// 	case FOP+NEQ:
// code_gt(int cond) 

void
code_dgt()
{
    double reg;
    if (d0>d1)
	printf("#1524:code_dgt 1\n");
    else
	printf("#1526:code_dgt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#1529:reg=%g code_dgt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#1533:reg=%g code_dgt -2<reg && reg <0\n",reg);
    }
}

// code_ugt(int cond) 
void
code_fgt()
{
    float reg;
    if (f0>f1)
	printf("#1543:code_fgt 1\n");
    else
	printf("#1545:code_fgt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#1548:reg=%g code_fgt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#1552:reg=%g code_fgt -2<reg && reg <0\n",reg);
    }
}

// code_ge(int cond) 
void
code_dge()
{
    double reg;
    if (d0>=d1)
	printf("#1562:code_dge 1\n");
    else
	printf("#1564:code_dge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#1567:reg=%g code_dge  0<reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#1571:reg=%g code_dge -2<reg && reg <=0\n",reg);
    }
}

// code_uge(int cond) 
void
code_fge()
{
    float reg;
    if (f0>=f1)
	printf("#1581:code_fge 1\n");
    else
	printf("#1583:code_fge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#1586:reg=%g code_fge  0<=reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#1590:reg=%g code_fge -2<=reg && reg <=0\n",reg);
    }
}

// code_eq(int cond) 
void
code_deq()
{
    if (f0==f1)
	printf("#1599:code_feq 1\n");
    else
	printf("#1601:code_feq 0\n");
    if (d0!=d1)
	printf("#1603:code_deq 1\n");
    else
	printf("#1605:code_deq 0\n");
}

// code_dbool(int e1) 

void
code_dbool()
{
    float i1l,i2l;
    double ui1l,ui2l;

    d1 = d0-3;
    for(f1=f0-3;f1<f0+3;f1++) {
	printf("#1618:code_dbool %g>%g gvar %d\n",f0,f1,f0>f1);
	printf("#1619:code_dbool %g>%g gvar %d d\n",d0,d1,d0>d1);
	printf("#1620:code_dbool %g>=%g gvar %d\n",f0,f1,f0>=f1);
	printf("#1621:code_dbool %g>=%g gvar %d d\n",d0,d1,d0>=d1);
	printf("#1622:code_dbool %g<%g gvar %d\n",f0,f1,f0<f1);
	printf("#1623:code_dbool %g<%g gvar %d d\n",d0,d1,d0<d1);
	printf("#1624:code_dbool %g<=%g gvar %d\n",f0,f1,f0<=f1);
	printf("#1625:code_dbool %g<=%g gvar %d d\n",d0,d1,d0<=d1);
	printf("#1626:code_dbool %g==%g gvar %d d\n",d0,d1,d0==d1);
	printf("#1627:code_dbool %g!=%g gvar %d\n",f0,f1,f0!=f1);
	d1++;
    }
    ui1l = d0;
    i1l = f0;
    ui2l = d0-3;
    for(i2l=f0-3;i2l<i1l+3;i2l++) {
	printf("#1634:code_dbool %g>%g lvar %d\n",i1l,i2l,i1l>i2l);
	printf("#1635:code_dbool %g>%g lvar %d d\n",ui1l,ui2l,ui1l>ui2l);
	printf("#1636:code_dbool %g>=%g lvar %d\n",i1l,i2l,i1l>=i2l);
	printf("#1637:code_dbool %g>=%g lvar %d d\n",ui1l,ui2l,ui1l>=ui2l);
	printf("#1638:code_dbool %g<%g lvar %d\n",i1l,i2l,i1l<i2l);
	printf("#1639:code_dbool %g<%g lvar %d d\n",ui1l,ui2l,ui1l<ui2l);
	printf("#1640:code_dbool %g<=%g lvar %d\n",i1l,i2l,i1l<=i2l);
	printf("#1641:code_dbool %g<=%g lvar %d d\n",ui1l,ui2l,ui1l<=ui2l);
	printf("#1642:code_dbool %g==%g lvar %d d\n",ui1l,ui2l,ui1l==ui2l);
	printf("#1643:code_dbool %g!=%g lvar %d\n",i1l,i2l,i1l!=i2l);
	ui2l++;
    }
}

#endif


#if LONGLONG_CODE
// lrexpr(int e1, int e2,int l1, int op)
void
code_lbool()
{
    long long l0l,l1l;
    unsigned long long ul0l,ul1l;

    printf("#1659:code_bool > long long %d %d %d %d %d %d\n",
	l1>l0,ul1>ul0,l1>=l0,ul1>=ul0,ul1==ul0,l1!=l0);
    printf("#1661:code_bool < long long %d %d %d %d %d %d\n",
	l1<l0,ul1<ul0,l1<=l0,ul1<=ul0,ul1==ul0,l1!=l0);

    l0l=l1l=l0;
    ul0l=ul1l=ul0;

    printf("#1667:code_bool eq > long long %d %d %d %d %d %d\n",
	l1l>l0l,ul1l>ul0l,l1l>=l0l,ul1l>=ul0l,ul1l==ul0l,l1l!=l0l);
    printf("#1669:code_bool eq < long long %d %d %d %d %d %d\n",
	l1l<l0l,ul1l<ul0l,l1l<=l0l,ul1l<=ul0l,ul1l==ul0l,l1l!=l0l);

}

// int lpop_register()
// code_lregister(int e2,int reg)
void
code_lregister()
{
    register long long l0,l1;
    register unsigned long long ul0,ul1;
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    printf("#1685:code_lvar long long %llu %llu %llu %llu\n",l0,l1,ul0,ul1);
}

// code_cmp_lregister(int reg)
void
code_cmp_lregister()
{
    register long long l0,l1;
    register unsigned long long ul0,ul1;
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    l0 && printf("#1698:code_bool register 8\n");
    ul0 && printf("#1699:code_bool register 9\n");
}

// code_cmp_lrgvar(int e1,int e2)
void
code_cmp_lrgvar()
{
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    l0 && printf("#1710:code_bool global 8\n");
    ul0 && printf("#1711:code_bool global 9\n");
}
// code_cmp_lrlvar(int e1,int e2)
void
code_cmp_lrlvar()
{
    long long l0,l1;
    unsigned long long ul0,ul1;
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    l0 && printf("#1723:code_bool local 8\n");
    ul0 && printf("#1724:code_bool local 9\n");
}

// code_lassign(int e1,int e2)
// code_lassign_gvar(int e1,int e2)
// code_lassign_lvar(int e1,int e2)
// code_lassign_lregister(int e2,int reg)
void
code_lassign()
{
    long long i1,i2; 
    unsigned long long ui1,ui2; 
    long long *pi1,*pi2; 
    unsigned long long *pui1,*pui2; 

    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#1748:code_rindirect %lld %lld %llu %llu\n",*pi1,*pi2,*pui1,*pui2);
}

void
code_lassign_register()
{
    long long i1,i2; 
    unsigned long long ui1,ui2; 
    register long long *pi1,*pi2; 
    register unsigned long long *pui1,*pui2; 

    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;
    pi1 = &i1;
    pi2 = &i2;
    pui1 = &ui1;
    pui2 = &ui2;

    *(pi2+i1+i2) = 3;
    *(pui2+i1+i2) = 3;
    printf("#1768:code_rindirect %lld %lld %llu %llu\n",*pi1,*pi2,*pui1,*pui2);
}

// code_lconst(int e1,int e2)
// code_lneg(int e1,int e2)
void
code_lneg()
{
    long long i,j;
    i = 123123123;j = -32423;
    printf("#1778:code_neg %lld %lld\n",-i,-j);
}

// code_lrgvar(int e1,int e2)
void
code_lrgvar()
{
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    printf("#1789:code_lrgvar long long %lld %lld %llu %llu\n",l0,l1,ul0,ul1);
    s_l0 = 123123123LL;
    s_l1 = 123123123LL;
    s_ul0 = 123123123LL;
    s_ul1 = 123123123LL;
    printf("#1794:code_lrgvar long long %lld %lld %llu %llu\n",s_l0,s_l1,s_ul0,s_ul1);
}

// code_lrlvar(int e1,int e2)
void
code_lrlvar()
{
    long long l0,l1;
    unsigned long long ul0,ul1;
    l0 = 123123123LL;
    l1 = 123123123LL;
    ul0 = 123123123LL;
    ul1 = 123123123LL;
    printf("#1807:code_lvar long long %lld %lld %llu %llu\n",l0,l1,ul0,ul1);
    printf("#1808:code_bool lvar > long long %d %d %d %d %d %d\n",
	l1>l0,ul1>ul0,l1>=l0,ul1>=ul0,ul1==ul0,l1!=l0);
    printf("#1810:code_bool lvar < long long %d %d %d %d %d %d\n",
	l1<l0,ul1<ul0,l1<=l0,ul1<=ul0,ul1==ul0,l1!=l0);
}

// ltosop(int e1,int e2)
void
ltosop()
{
    long long i1,i2,i; 
    unsigned long long u1,u2,u; 
    int ii2;
    unsigned int uu2;
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;
    ii2 = -33;
    uu2 = 33;
    u = 0;

    i = i1 + i2;
    printf("#1829:ltosop 1 %lld\n",i);
    i = i1 - i2;
    printf("#1831:ltosop 2 %lld\n",i);
    i = i1 / i2;
    printf("#1833:ltosop 3 %lld\n",i);
    i = i1 * i2;
    printf("#1835:ltosop 4 %lld\n",i);
    i = i1 | i2;
    printf("#1837:ltosop 5 %lld\n",i);
    i = i1 & i2;
    printf("#1839:ltosop 6 %lld\n",i);
    i = i1 ^ i2;
    printf("#1841:ltosop 7 %lld\n",i);
    i = i1 << i2;
    printf("#1843:ltosop 8 %lld\n",i);
    i = i1 >> i2;
    printf("#1845:ltosop 9 %lld\n",i);
    i = i1 % i2;
    printf("#1847:ltosop 10 %lld\n",i);

    u = u1 + u2;
    printf("#1850:ltosop u 1 %llu\n",u);
    u = u1 - u2;
    printf("#1852:ltosop u 2 %llu\n",u);
    u = u1 / u2;
    printf("#1854:ltosop u 3 %llu\n",u);
    u = u1 * u2;
    printf("#1856:ltosop u 4 %llu\n",u);
    u = u1 | u2;
    printf("#1858:ltosop u 5 %llu\n",u);
    u = u1 & u2;
    printf("#1860:ltosop u 6 %llu\n",u);
    u = u1 ^ u2;
    printf("#1862:ltosop u 7 %llu\n",u);
    u2 = 3;
    u = u1 << u2;
    printf("#1865:ltosop u 8 %llu\n",u);
    u = u1 >> u2;
    printf("#1867:ltosop u 9 %llu\n",u);
    u = u1 % u2;
    printf("#1869:ltosop u 10 %llu\n",u);

    i = i1 + ii2;
    printf("#1872:litosop 1 %lld\n",i);
    i = i1 - ii2;
    printf("#1874:litosop 2 %lld\n",i);
    i = i1 / ii2;
    printf("#1876:litosop 3 %lld\n",i);
    i = i1 * ii2;
    printf("#1878:litosop 4 %lld\n",i);
    i = i1 | ii2;
    printf("#1880:litosop 5 %lld\n",i);
    i = i1 & ii2;
    printf("#1882:litosop 6 %lld\n",i);
    i = i1 ^ ii2;
    printf("#1884:litosop 7 %lld\n",i);
    ii2 = 3;
    i = i1 << ii2;
    printf("#1887:litosop 8 %lld\n",i);
    i = i1 >> ii2;
    printf("#1889:litosop 9 %lld\n",i);
    i = i1 % ii2;
    printf("#1891:litosop 10 %lld\n",i);

    u = u1 + uu2;
    printf("#1894:litosop u 1 %llu\n",u);
    u = u1 - uu2;
    printf("#1896:litosop u 2 %llu\n",u);
    u = u1 / uu2;
    printf("#1898:litosop u 3 %llu\n",u);
    u = u1 * uu2;
    printf("#1900:litosop u 4 %llu\n",u);
    u = u1 | uu2;
    printf("#1902:litosop u 5 %llu\n",u);
    u = u1 & uu2;
    printf("#1904:litosop u 6 %llu\n",u);
    u = u1 ^ uu2;
    printf("#1906:litosop u 7 %llu\n",u);
    uu2 = 3;
    u = u1 << uu2;
    printf("#1909:litosop u 8 %llu\n",u);
    u = u1 >> uu2;
    printf("#1911:litosop u 9 %llu\n",u);
    u = u1 % uu2;
    printf("#1913:litosop u 10 %llu\n",u);
}

// loprtc(int op,int v)
void
loprtc()
{
    long long i1,i; 
    unsigned long long u1,u; 
    i1 = -555; 
    u1 = 632423423; 

    i = i1 + 3;
    printf("#1926:loprtc 1 %lld\n",i);
    i = i1 - 3;
    printf("#1928:loprtc 2 %lld\n",i);
    i = i1 / 32323423423LL;
    printf("#1930:loprtc 3 %lld\n",i);
    i = i1 * 323423423423LL;
    printf("#1932:loprtc 4 %lld\n",i);
    i = i1 | 234234234;
    printf("#1934:loprtc 5 %lld\n",i);
    i = i1 & 23234234;
    printf("#1936:loprtc 6 %lld\n",i);
    i = i1 ^ 23234234;
    printf("#1938:loprtc 7 %lld\n",i);
    i = i1 << 5;
    printf("#1940:loprtc 8 %lld\n",i);
    i = i1 >> 5;
    printf("#1942:loprtc 9 %lld\n",i);
    i = i1 << 38;
    printf("#1944:loprtc 8 %lld\n",i);
    i = i1 >> 38;
    printf("#1946:loprtc 9 %lld\n",i);
    i = i1 % 5;
    printf("#1948:loprtc 10 %lld\n",i);
    i = i1 / 8;
    printf("#1950:loprtc 3 %lld\n",i);
    i = i1 / 256;
    printf("#1952:loprtc 3 %lld\n",i);
    i = i1 % 8;
    printf("#1954:loprtc 3 %lld\n",i);
    i = i1 % 256;
    printf("#1956:loprtc 3 %lld\n",i);
    i = i1 * 8;
    printf("#1958:loprtc 3 %lld\n",i);
    i = i1 * 256;
    printf("#1960:loprtc 3 %lld\n",i);

    u = u1 + 3;
    printf("#1963:loprtc 1 u %llu\n",u);
    u = u1 - 3;
    printf("#1965:loprtc 2 u %llu\n",u);
    u = u1 / 32342342344234LL;
    printf("#1967:loprtc 3 u %llu\n",u);
    u = u1 * 243234234232324LL;
    printf("#1969:loprtc 4 u %llu\n",u);
    u = u1 | 234234234;
    printf("#1971:loprtc 5 u %llu\n",u);
    u = u1 & 234234234;
    printf("#1973:loprtc 6 u %llu\n",u);
    u = u1 ^ 234234234;
    printf("#1975:loprtc 7 u %llu\n",u);
    u = u1 << 5;
    printf("#1977:loprtc 8 u %llu\n",u);
    u = u1 >> 5;
    printf("#1979:loprtc 9 u %llu\n",u);
    u = u1 << 38;
    printf("#1981:loprtc 8 u %llu\n",u);
    u = u1 >> 38;
    printf("#1983:loprtc 9 u %llu\n",u);
    u = u1 % 5;
    printf("#1985:loprtc 10 u %llu\n",u);
    u = u1 / 8;
    printf("#1987:loprtc 3 %lld\n",i);
    u = u1 / 256;
    printf("#1989:loprtc 3 %lld\n",i);
    u = u1 / 8;
    printf("#1991:loprtc 3 %lld\n",i);
    u = u1 / 256;
    printf("#1993:loprtc 3 %lld\n",i);
    u = u1 % 8;
    printf("#1995:loprtc 3 %lld\n",i);
    u = u1 % 256;
    printf("#1997:loprtc 3 %lld\n",i);
    u = u1 * 8;
    printf("#1999:loprtc 3 %lld\n",i);
    u = u1 * 256;
    printf("#2001:loprtc 3 %lld\n",i);
}


// ltosop(int e1,int e2)
void
ltosop_register()
{
    register long long i1,i2,i; 
    register unsigned long long u1,u2,u; 
    register int ii2;
    register unsigned int uu2;
    i1 = -555; i2= 555;
    u1 = 632423423; u2= 32394234;
    ii2 = -33;
    uu2 = 33;
    u = 0;

    i = i1 + i2;
    printf("#2020:ltosop r 1 %lld\n",i);
    i = i1 - i2;
    printf("#2022:ltosop r 2 %lld\n",i);
    i = i1 / i2;
    printf("#2024:ltosop r 3 %lld\n",i);
    i = i1 * i2;
    printf("#2026:ltosop r 4 %lld\n",i);
    i = i1 | i2;
    printf("#2028:ltosop r 5 %lld\n",i);
    i = i1 & i2;
    printf("#2030:ltosop r 6 %lld\n",i);
    i = i1 ^ i2;
    printf("#2032:ltosop r 7 %lld\n",i);
    i2 = 3;
    i = i1 << i2;
    printf("#2035:ltosop r 8 %lld\n",i);
    i = i1 >> i2;
    printf("#2037:ltosop r 9 %lld\n",i);
    i = i1 % i2;
    printf("#2039:ltosop r 10 %lld\n",i);

    u = u1 + u2;
    printf("#2042:ltosop r u 1 %llu\n",u);
    u = u1 - u2;
    printf("#2044:ltosop r u 2 %llu\n",u);
    u = u1 / u2;
    printf("#2046:ltosop r u 3 %llu\n",u);
    u = u1 * u2;
    printf("#2048:ltosop r u 4 %llu\n",u);
    u = u1 | u2;
    printf("#2050:ltosop r u 5 %llu\n",u);
    u = u1 & u2;
    printf("#2052:ltosop r u 6 %llu\n",u);
    u = u1 ^ u2;
    printf("#2054:ltosop r u 7 %llu\n",u);
    u2 = 3;
    u = u1 << u2;
    printf("#2057:ltosop r u 8 %llu\n",u);
    u = u1 >> u2;
    printf("#2059:ltosop r u 9 %llu\n",u);
    u = u1 % u2;
    printf("#2061:ltosop r u 10 %llu\n",u);

    i = i1 + ii2;
    printf("#2064:litosop r 1 %lld\n",i);
    i = i1 - ii2;
    printf("#2066:litosop r 2 %lld\n",i);
    i = i1 / ii2;
    printf("#2068:litosop r 3 %lld\n",i);
    i = i1 * ii2;
    printf("#2070:litosop r 4 %lld\n",i);
    i = i1 | ii2;
    printf("#2072:litosop r 5 %lld\n",i);
    i = i1 & ii2;
    printf("#2074:litosop r 6 %lld\n",i);
    i = i1 ^ ii2;
    printf("#2076:litosop r 7 %lld\n",i);
    ii2 = 3;
    i = i1 << ii2;
    printf("#2079:litosop r 8 %lld\n",i);
    i = i1 >> ii2;
    printf("#2081:litosop r 9 %lld\n",i);
    i = i1 % ii2;
    printf("#2083:litosop r 10 %lld\n",i);

    u = u1 + uu2;
    printf("#2086:litosop r u 1 %llu\n",u);
    u = u1 - uu2;
    printf("#2088:litosop r u 2 %llu\n",u);
    u = u1 / uu2;
    printf("#2090:litosop r u 3 %llu\n",u);
    u = u1 * uu2;
    printf("#2092:litosop r u 4 %llu\n",u);
    u = u1 | uu2;
    printf("#2094:litosop r u 5 %llu\n",u);
    u = u1 & uu2;
    printf("#2096:litosop r u 6 %llu\n",u);
    u = u1 ^ uu2;
    printf("#2098:litosop r u 7 %llu\n",u);
    uu2 = 3;
    u = u1 << uu2;
    printf("#2101:litosop r u 8 %llu\n",u);
    u = u1 >> uu2;
    printf("#2103:litosop r u 9 %llu\n",u);
    u = u1 % uu2;
    printf("#2105:litosop r u 10 %llu\n",u);
}

// loprtc(int op,int v)
void
loprtc_register()
{
    register long long i1,i; 
    register unsigned long long u1,u; 
    i1 = -555; 
    u1 = 632423423; 

    i = i1 + 3;
    printf("#2118:loprtc r 1 %lld\n",i);
    i = i1 - 3;
    printf("#2120:loprtc r 2 %lld\n",i);
    i = i1 / 32323423423LL;
    printf("#2122:loprtc r 3 %lld\n",i);
    i = i1 * 323423423423LL;
    printf("#2124:loprtc r 4 %lld\n",i);
    i = i1 | 234234234;
    printf("#2126:loprtc r 5 %lld\n",i);
    i = i1 & 23234234;
    printf("#2128:loprtc r 6 %lld\n",i);
    i = i1 ^ 23234234;
    printf("#2130:loprtc r 7 %lld\n",i);
    i = i1 << 5;
    printf("#2132:loprtc r 8 %lld\n",i);
    i = i1 >> 5;
    printf("#2134:loprtc r 9 %lld\n",i);
    i = i1 << 38;
    printf("#2136:loprtc r 8 %lld\n",i);
    i = i1 >> 38;
    printf("#2138:loprtc r 9 %lld\n",i);
    i = i1 % 5;
    printf("#2140:loprtc r 10 %lld\n",i);
    i = i1 / 8;
    printf("#2142:loprtc r 10 %lld\n",i);
    i = i1 / 256;
    printf("#2144:loprtc r 10 %lld\n",i);
    i = i1 * 8;
    printf("#2146:loprtc r 10 %lld\n",i);
    i = i1 * 256;
    printf("#2148:loprtc r 10 %lld\n",i);

    u = u1 + 3;
    printf("#2151:loprtc r 1 u %llu\n",u);
    u = u1 - 3;
    printf("#2153:loprtc r 2 u %llu\n",u);
    u = u1 / 32342342344234LL;
    printf("#2155:loprtc r 3 u %llu\n",u);
    u = u1 * 243234234232324LL;
    printf("#2157:loprtc r 4 u %llu\n",u);
    u = u1 | 234234234;
    printf("#2159:loprtc r 5 u %llu\n",u);
    u = u1 & 234234234;
    printf("#2161:loprtc r 6 u %llu\n",u);
    u = u1 ^ 234234234;
    printf("#2163:loprtc r 7 u %llu\n",u);
    u = u1 << 5;
    printf("#2165:loprtc r 8 u %llu\n",u);
    u = u1 >> 5;
    printf("#2167:loprtc r 9 u %llu\n",u);
    u = u1 << 38;
    printf("#2169:loprtc r 8 u %llu\n",u);
    u = u1 >> 38;
    printf("#2171:loprtc r 9 u %llu\n",u);
    u = u1 % 5;
    printf("#2173:loprtc r 10 u %llu\n",u);
    u = u1 / 8;
    printf("#2175:loprtc r 10 u %lld\n",u);
    u = u1 / 256;
    printf("#2177:loprtc r 10 u %lld\n",u);
    u = u1 * 8;
    printf("#2179:loprtc r 10 u %lld\n",u);
    u = u1 * 256;
    printf("#2181:loprtc r 10 u %lld\n",u);
}


// code_i2ll(int creg)
void
code_i2ll()
{
    long long d;
    int i;
    i = 23442342;
    d = i;
    printf("#2193:code_i2ll %lld\n",d);
}
// code_i2ull(int creg)
void
code_i2ull()
{
    unsigned long long d;
    int i;
    i = 23442342;
    d = i;
    printf("#2203:code_i2ull %lld\n",d);
}
// code_u2ll(int creg)
void
code_u2ll()
{
    long long d;
    unsigned int i;
    i = 23442342;
    d = i;
    printf("#2213:code_u2ll %lld\n",d);
}
// code_u2ull(int creg)
void
code_u2ull()
{
    unsigned long long d;
    unsigned int i;
    i = 23342342;
    d = i;
    printf("#2223:code_u2ull %llu\n",d);
}
// code_ll2i(int creg)
void
code_ll2i()
{
    long long d;
    int i;
    d = 2342342342LL;
    i = d;
    printf("#2233:code_ll2i %d\n",i);
}
// code_ll2u(int creg)
void
code_ll2u()
{
    long long d;
    unsigned int i;
    d = 2342342342LL;
    i = d;
    printf("#2243:code_ll2i %ud\n",i);
}
// code_ull2i(int creg)
void
code_ull2i()
{
    unsigned long long d;
    int i;
    d = 2342342342LL;
    i = d;
    printf("#2253:code_ull2i %d\n",i);
}
// code_ull2u(int creg)
void
code_ull2u()
{
    unsigned long long d;
    unsigned int i;
    d = 2342342342LL;
    i = d;
    printf("#2263:code_ll2i %ud\n",i);
}
#if FLOAT_CODE
// code_d2ll(int creg)
void
code_d2ll()
{
    long long d;
    double i;
    i = 2342342342LL;
    d = i;
    printf("#2274:code_d2ll %lld\n",d);
}
// code_d2ull(int creg)
void
code_d2ull()
{
    unsigned long long d;
    double i;
    i = 2342342342LL;
    d = i;
    printf("#2284:code_d2ll %llu\n",d);
}
// code_f2ll(int creg)
void
code_f2ll()
{
    long long d;
    float i;
    i = 2342342342LL;
    d = i;
    printf("#2294:code_f2ll %lld\n",d);
}
// code_f2ull(int creg)
void
code_f2ull()
{
    unsigned long long d;
    float i;
    i = 2342342342LL;
    d = i;
    printf("#2304:code_f2ull %llu\n",d);
}
// code_ll2d(int creg)
void
code_ll2d()
{
    long long d;
    double i;
    d = 2342342342LL;
    i = d;
    printf("#2314:code_ll2d %g\n",i);
}
// code_ll2f(int creg)
void
code_ll2f()
{
    long long d;
    float i;
    d = 2342342342LL;
    i = d;
    printf("#2324:code_ll2f %g\n",i);
}
// code_ull2d(int creg)
void
code_ull2d()
{
    long long d;
    double i;
    d = 2342342342LL;
    i = d;
    printf("#2334:code_ull2f %g\n",i);
}
// code_ull2f(int creg)
void
code_ull2f()
{
    long long d;
    float i;
    d = 2342342342LL;
    i = d;
    printf("#2344:code_ull2f %g\n",i);
}
#endif

// code_lpreinc(int e1,int e2,int reg)
void
code_lpreinc()
{
    long long i,j;
    i = 123123123;j = 0;
    printf("#2354:code_preinc l %lld %lld",++i,--j);
    printf("#2355: %lld %lld\n",i,j);
}

// code_lpostinc(int e1,int e2,int reg)
void
code_lpostinc()
{
    long long i,j;
    i = 123123123;j = 0;
    printf("#2364:code_postinc l %lld %lld",i++,j--);
    printf("#2365: %lld %lld\n",i,j);
}

// code_lpreinc(int e1,int e2,int reg)
void
code_lupreinc()
{
    register unsigned long long i,j;
    i = 123123123;j = 0;
    printf("#2374:code_preinc l %llu %llu",++i,--j);
    printf("#2375: %lld %lld\n",i,j);
}

// code_lpostinc(int e1,int e2,int reg)
void
code_lupostinc()
{
    register unsigned long long i,j;
    i = 123123123;j = 0;
    printf("#2384:code_postinc lu %llu %llu",i++,j--);
    printf("#2385: %lld %lld\n",i,j);
}

// code_lpreinc(int e1,int e2,int reg)
void
code_register_lpreinc()
{
    register long long i,j;
    i = 123123123;j = 0;
    printf("#2394:code_preinc l r %lld %lld",++i,--j);
    printf("#2395: %lld %lld\n",i,j);
}

// code_lpostinc(int e1,int e2,int reg)
void
code_register_lpostinc()
{
    register long long i,j;
    i = 123123123;j = 0;
    printf("#2404:code_postinc l r %lld %lld",i++,j--);
    printf("#2405: %lld %lld\n",i,j);
}

// code_lpreinc(int e1,int e2,int reg)
void
code_register_lupreinc()
{
    register unsigned long long i,j;
    i = 123123123;j = 0;
    printf("#2414:code_preinc l r %llu %llu",++i,--j);
    printf("#2415: %lld %lld\n",i,j);
}

// code_lpostinc(int e1,int e2,int reg)
void
code_register_lupostinc()
{
    register unsigned long long i,j;
    i = 123123123;j = 0;
    printf("#2424:code_postinc lu r %llu %llu",i++,j--);
    printf("#2425: %lld %lld\n",i,j);
}

// code_lassop(int op)

// code_register_assop(int e2,int op,int byte) 
void
code_register_lassop()
{
    register long long i1; 
    register unsigned long long ui1; 
    long long a = 3;
    i1 = -555;
    ui1 = 632423423;

    i1 += a;
    printf("#2441:code_register_lassop 1 %lld\n",i1);
    i1 -= a;
    printf("#2443:code_register_lassop 2 %lld\n",i1);
    i1 /= a;
    printf("#2445:code_register_lassop 3 %lld\n",i1);
    i1 *= a;
    printf("#2447:code_register_lassop 4 %lld\n",i1);
    i1 |= a;
    printf("#2449:code_register_lassop 5 %lld\n",i1);
    i1 &= a;
    printf("#2451:code_register_lassop 6 %lld\n",i1);
    i1 ^= a;
    printf("#2453:code_register_lassop 7 %lld\n",i1);
    i1 <<= a;
    printf("#2455:code_register_lassop 8 %lld\n",i1);
    i1 >>= a;
    printf("#2457:code_register_lassop 9 %lld\n",i1);

    ui1 += a;
    printf("#2460:code_register_lassop 1 %llu\n",ui1);
    ui1 -= a;
    printf("#2462:code_register_lassop 2 %llu\n",ui1);
    ui1 /= a;
    printf("#2464:code_register_lassop 3 %llu\n",ui1);
    ui1 *= a;
    printf("#2466:code_register_lassop 4 %llu\n",ui1);
    ui1 |= a;
    printf("#2468:code_register_lassop 5 %llu\n",ui1);
    ui1 &= a;
    printf("#2470:code_register_lassop 6 %llu\n",ui1);
    ui1 ^= a;
    printf("#2472:code_register_lassop 7 %llu\n",ui1);
    ui1 <<= a;
    printf("#2474:code_register_lassop 8 %llu\n",ui1);
    ui1 >>= a;
    printf("#2476:code_register_lassop 9 %llu\n",ui1);
}

// code_lassop(int op,int byte,int sign) 
void
code_lassop()
{
    long long i1,i2; 
    unsigned long long ui1,ui2; 
    long long a = 3;
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += a;
    printf("#2490:code_lassop 1 %lld\n",i1);
    i1 -= a;
    printf("#2492:code_lassop 2 %lld\n",i1);
    i1 /= a;
    printf("#2494:code_lassop 3 %lld\n",i1);
    i1 *= a;
    printf("#2496:code_lassop 4 %lld\n",i1);
    i1 |= a;
    printf("#2498:code_lassop 5 %lld\n",i1);
    i1 &= a;
    printf("#2500:code_lassop 6 %lld\n",i1);
    i1 ^= a;
    printf("#2502:code_lassop 7 %lld\n",i1);
    i1 <<= a;
    printf("#2504:code_lassop 8 %lld\n",i1);
    i1 >>= a;
    printf("#2506:code_lassop 9 %lld\n",i1);

    ui1 += a;
    printf("#2509:code_lassop 1 %llu\n",ui1);
    ui1 -= a;
    printf("#2511:code_lassop 2 %llu\n",ui1);
    ui1 /= a;
    printf("#2513:code_lassop 3 %llu\n",ui1);
    ui1 *= a;
    printf("#2515:code_lassop 4 %llu\n",ui1);
    ui1 |= a;
    printf("#2517:code_lassop 5 %llu\n",ui1);
    ui1 &= a;
    printf("#2519:code_lassop 6 %llu\n",ui1);
    ui1 ^= a;
    printf("#2521:code_lassop 7 %llu\n",ui1);
    ui1 <<= a;
    printf("#2523:code_lassop 8 %llu\n",ui1);
    ui1 >>= a;
    printf("#2525:code_lassop 9 %llu\n",ui1);
}

// code_register_assop(int e2,int op,int byte) 
void
code_register_lassop_const()
{
    register long long i1; 
    register unsigned long long ui1; 
    i1 = -555;
    ui1 = 632423423;

    i1 += 3;
    printf("#2538:code_register_lassop c 1 %lld\n",i1);
    i1 -= 3;
    printf("#2540:code_register_lassop c 2 %lld\n",i1);
    i1 /= 3;
    printf("#2542:code_register_lassop c 3 %lld\n",i1);
    i1 *= 3;
    printf("#2544:code_register_lassop c 4 %lld\n",i1);
    i1 |= 234;
    printf("#2546:code_register_lassop c 5 %lld\n",i1);
    i1 &= 2324234234234234LL;
    printf("#2548:code_register_lassop c 6 %lld\n",i1);
    i1 ^= 5523234234234234LL;
    printf("#2550:code_register_lassop c 7 %lld\n",i1);
    i1 <<= 3;
    printf("#2552:code_register_lassop c 8 %lld\n",i1);
    i1 >>= 3;
    printf("#2554:code_register_lassop c 9 %lld\n",i1);

    ui1 += 3;
    printf("#2557:code_register_lassop c 1 %llu\n",ui1);
    ui1 -= 3;
    printf("#2559:code_register_lassop c 2 %llu\n",ui1);
    ui1 /= 3;
    printf("#2561:code_register_lassop c 3 %llu\n",ui1);
    ui1 *= 3;
    printf("#2563:code_register_lassop c 4 %llu\n",ui1);
    ui1 |= 234;
    printf("#2565:code_register_lassop c 5 %llu\n",ui1);
    ui1 &= 2324234234234234LL;
    printf("#2567:code_register_lassop c 6 %llu\n",ui1);
    ui1 ^= 5523234234234234LL;
    printf("#2569:code_register_lassop c 7 %llu\n",ui1);
    ui1 <<= 3;
    printf("#2571:code_register_lassop c 8 %llu\n",ui1);
    ui1 >>= 3;
    printf("#2573:code_register_lassop c 9 %llu\n",ui1);
}

// code_lassop(int op,int byte,int sign) 
void
code_lassop_const()
{
    long long i1,i2; 
    unsigned long long ui1,ui2; 
    i1 = -555; i2= 555;
    ui1 = 632423423; ui2= 32394234;

    i1 += 3;
    printf("#2586:code_lassop c 1 %lld\n",i1);
    i1 -= 3;
    printf("#2588:code_lassop c 2 %lld\n",i1);
    i1 /= 3;
    printf("#2590:code_lassop c 3 %lld\n",i1);
    i1 *= 3;
    printf("#2592:code_lassop c 4 %lld\n",i1);
    i1 |= 234;
    printf("#2594:code_lassop c 5 %lld\n",i1);
    i1 &= 2324234234234234LL;
    printf("#2596:code_lassop c 6 %lld\n",i1);
    i1 ^= 5523234234234234LL;
    printf("#2598:code_lassop c 7 %lld\n",i1);
    i1 <<= 3;
    printf("#2600:code_lassop c 8 %lld\n",i1);
    i1 >>= 3;
    printf("#2602:code_lassop c 9 %lld\n",i1);

    ui1 += 3;
    printf("#2605:code_lassop c 1 %llu\n",ui1);
    ui1 -= 3;
    printf("#2607:code_lassop c 2 %llu\n",ui1);
    ui1 /= 3;
    printf("#2609:code_lassop c 3 %llu\n",ui1);
    ui1 *= 3;
    printf("#2611:code_lassop c 4 %llu\n",ui1);
    ui1 |= 234;
    printf("#2613:code_lassop c 5 %llu\n",ui1);
    ui1 &= 2324234234234234LL;
    printf("#2615:code_lassop c 6 %llu\n",ui1);
    ui1 ^= 5523234234234234LL;
    printf("#2617:code_lassop c 7 %llu\n",ui1);
    ui1 <<= 3;
    printf("#2619:code_lassop c 8 %llu\n",ui1);
    ui1 >>= 3;
    printf("#2621:code_lassop c 9 %llu\n",ui1);
}

// code_lgt(int cond) 

void
code_lgt()
{
    long long reg;
    if (l0>l1)
	printf("#2631:code_lgt 1\n");
    else
	printf("#2633:code_lgt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#2636:reg=%lld code_lgt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#2640:reg=%lld code_lgt -2<reg && reg <0\n",reg);
    }
}

// code_lugt(int cond) 
void
code_lugt()
{
    unsigned long long reg;
    if (ul0>ul1)
	printf("#2650:code_lugt 1\n");
    else
	printf("#2652:code_lugt 0\n");
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#2655:reg=%llu code_lugt  2<reg && reg <4\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#2659:reg=%llu code_lugt  2<reg && reg <4\n",reg);
    }
}

// code_lge(int cond) 
void
code_lge()
{
    long long reg;
    if (l0>=l1)
	printf("#2669:code_lge 1\n");
    else
	printf("#2671:code_lge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#2674:reg=%lld code_lge  0<=reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#2678:reg=%lld code_lge -2<=reg && reg <=0\n",reg);
    }
}

// code_luge(int cond) 
void
code_luge()
{
    unsigned long long reg;
    if (ul0>=ul1)
	printf("#2688:code_luge 1\n");
    else
	printf("#2690:code_luge 0\n");
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#2693:reg=%llu code_luge  2<reg && reg <4\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#2697:reg=%llu code_luge  2<reg && reg <4\n",reg);
    }
}

// code_leq(int cond) 
void
code_leq()
{
    if (ul0==ul1)
	printf("#2706:code_leq 1\n");
    else
	printf("#2708:code_leq 0\n");
    if (l0!=l1)
	printf("#2710:code_lneq 1\n");
    else
	printf("#2712:code_lneq 0\n");
}

#if 0
void
code_lswitch()
{
    long long i;
    for(i=0;i<6;i++) {
	switch(i) {
	case 1: printf("#2722:code_lswitch 1 %d\n",i); break;
	case 2: printf("#2723:code_lswitch 2 %d\n",i); break;
	case 3: printf("#2724:code_lswitch 3 %d\n",i);
	case 4: printf("#2725:code_lswitch 4 %d\n",i); break;
	default: printf("#2726:code_lswitch d %d\n",i);
	}
    }
}
#endif


#endif

void
code_switch()
{
    int i;
    for(i=0;i<10;i++) {
	switch(i) {
	case 1: printf("#2741:code_switch 1 %d\n",i); break;
	case 2: printf("#2742:code_switch 2 %d\n",i); break;
	case 3: printf("#2743:code_switch 3 %d\n",i);
	case 4: printf("#2744:code_switch 4 %d\n",i); break;
        case 7:
	case 5: printf("#2746:code_switch 5 %d\n",i); break;
	case 6: printf("#2747:code_switch 6 %d\n",i); break;
	default: printf("#2748:code_switch d %d\n",i);
	}
    }
    for(i=0;i<10;i++) {
	switch(i) {
	case 1: printf("#2753:code_switch 1 %d\n",i); break;
	case 2: 
	    i = i* 100;
	    switch(i) {
	    case 100: printf("#2757:code_switch n 1 %d\n",i); break;
	    case 200: 
    for(i=-100;i<10;i++) {
	switch(i) {
	case 1234: printf("#2761:code_switch 1 nn %d\n",i); break;
	case 2233: printf("#2762:code_switch 2 nn %d\n",i); break;
	case 3333: printf("#2763:code_switch 3 nn %d\n",i);
	case -4: printf("#2764:code_switch 4 nn %d\n",i); break;
        case 733:
	case -5: printf("#2766:code_switch 5 nn %d\n",i); break;
	case -326: printf("#2767:code_switch 6 nn %d\n",i); 
	}
    }
	    case 300: printf("#2770:code_switch n 3 %d\n",i);
	    case 400: printf("#2771:code_switch n 4 %d\n",i); break;
	    case 700:
	    case 500: printf("#2773:code_switch n 5 %d\n",i); break;
	    case 600: printf("#2774:code_switch n 6 %d\n",i); break;
	    default: printf("#2775:code_switch n d %d\n",i);
	    }
	case 3: printf("#2777:code_switch 3 %d\n",i);
	case 4: printf("#2778:code_switch 4 %d\n",i); break;
        case 7:
	case 5: printf("#2780:code_switch 5 %d\n",i); break;
	case 6: printf("#2781:code_switch 6 %d\n",i); break;
	default: printf("#2782:code_switch d %d\n",i);
	}
    }
}




/* end */