view test/code-gen.c @ 489:79fef53141b4

fix clear_ptr_cache in MIPS/ARM.
author kono
date Mon, 19 Dec 2005 22:42:12 +0900
parents cc5ea30efe0c
children 95fcc858fd1c
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);
    s_i1 = 1; s_i2 = -2; 
}

// 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; 

    s_i1 = 1; s_i2 = -2;  // check ptr cache clear

    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,mthree=-3,seven=7,mtwo=-2,zero=0,three=3;
    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);
    }
    for (reg=mthree;reg<seven;reg++) {
        if (zero<reg && reg<three)
	   printf("#0361:reg=%d code_gt  0<reg && reg <3\n",reg);
    }
    for (reg=mthree;reg<seven;reg++) {
        if (mtwo<reg && reg<zero)
	   printf("#0365:reg=%d code_gt -2<reg && reg <0\n",reg);
    }
    
}

// code_ugt(int cond) 
void
code_ugt()
{
    unsigned reg,zero=0,one=1,seven=7,three=3,five=5;
    if (ui1>ui2)
	printf("#0376:code_ugt 1\n");
    else
	printf("#0378:code_ugt 0\n");
    for (reg=0;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#0381:reg=%d code_ugt  0<reg && reg <3\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (1<reg && reg<5)
	   printf("#0385:reg=%d code_ugt  1<reg && reg <5\n",reg);
    }
    for (reg=zero;reg<seven;reg++) {
        if (zero<reg && reg<three)
	   printf("#0389:reg=%d code_ugt  0<reg && reg <3\n",reg);
    }
    for (reg=zero;reg<seven;reg++) {
        if (one<reg && reg<five)
	   printf("#0393:reg=%d code_ugt  1<reg && reg <5\n",reg);
    }
}

// code_ge(int cond) 
void
code_ge()
{
    int reg,mthree=-3,seven=7,mtwo=-2,zero=0,three=3;
    if (i1>=i2)
	printf("#0403:code_ge 1\n");
    else
	printf("#0405:code_ge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#0408:reg=%d code_ge  0<=reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#0412:reg=%d code_ge -2<=reg && reg <=0\n",reg);
    }
    for (reg=mthree;reg<seven;reg++) {
        if (zero<=reg && reg<=three)
	   printf("#0416:reg=%d code_ge  0<=reg && reg <=3\n",reg);
    }
    for (reg=mthree;reg<seven;reg++) {
        if (mtwo<=reg && reg<=zero)
	   printf("#0420:reg=%d code_ge -2<=reg && reg <=0\n",reg);
    }
}

// code_uge(int cond) 
void
code_uge()
{
    unsigned reg,zero=0,one=1,seven=7,three=3,five=5;
    if (ui1>=ui2)
	printf("#0430:code_uge 1\n");
    else
	printf("#0432:code_uge 0\n");
    for (reg=0;reg<7;reg++) {
        if (0<=reg && reg<=3)
           printf("#0435:reg=%d code_uge  0<=reg && reg <=3\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (1<=reg && reg<=5)
           printf("#0439:reg=%d code_uge  1<=reg && reg <=5\n",reg);
    }
    for (reg=zero;reg<seven;reg++) {
        if (zero<=reg && reg<=three)
	   printf("#0443:reg=%d code_uge  0<=reg && reg <=3\n",reg);
    }
    for (reg=zero;reg<seven;reg++) {
        if (one<=reg && reg<=five)
	   printf("#0447:reg=%d code_uge  1<=reg && reg <=5\n",reg);
    }
}

// code_eq(int cond) 
void
code_eq()
{
    unsigned int ui3 = 3;
    int i3 = 3;

    if (ui1==ui2)
	printf("#0459:code_eq 1\n");
    else
	printf("#0461:code_eq 0\n");
    if (i1!=i2)
	printf("#0463:code_neq 1\n");
    else
	printf("#0465:code_neq 0\n");

    if (3==ui3)
	printf("#0468:code_eq 1\n");
    else
	printf("#0470:code_eq 0\n");
    if (3!=i3)
	printf("#0472:code_neq 1\n");
    else
	printf("#0474: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("#0487:code_bool %d>%d gvar %d\n",i1,i2,i1>i2);
	printf("#0488:code_bool %u>%u gvar %d u\n",ui1,ui2,ui1>ui2);
	printf("#0489:code_bool %d>=%d gvar %d\n",i1,i2,i1>=i2);
	printf("#0490:code_bool %u>=%u gvar %d u\n",ui1,ui2,ui1>=ui2);
	printf("#0491:code_bool %d<%d gvar %d\n",i1,i2,i1<i2);
	printf("#0492:code_bool %u<%u gvar %d u\n",ui1,ui2,ui1<ui2);
	printf("#0493:code_bool %d<=%d gvar %d\n",i1,i2,i1<=i2);
	printf("#0494:code_bool %u<=%u gvar %d u\n",ui1,ui2,ui1<=ui2);
	printf("#0495:code_bool %u==%u gvar %d u\n",ui1,ui2,ui1==ui2);
	printf("#0496: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("#0503:code_bool %d>%d lvar %d\n",i1l,i2l,i1l>i2l);
	printf("#0504:code_bool %u>%u lvar %d u\n",ui1l,ui2l,ui1l>ui2l);
	printf("#0505:code_bool %d>=%d lvar %d\n",i1l,i2l,i1l>=i2l);
	printf("#0506:code_bool %u>=%u lvar %d u\n",ui1l,ui2l,ui1l>=ui2l);
	printf("#0507:code_bool %d<%d lvar %d\n",i1l,i2l,i1l<i2l);
	printf("#0508:code_bool %u<%u lvar %d u\n",ui1l,ui2l,ui1l<ui2l);
	printf("#0509:code_bool %d<=%d lvar %d\n",i1l,i2l,i1l<=i2l);
	printf("#0510:code_bool %u<=%u lvar %d u\n",ui1l,ui2l,ui1l<=ui2l);
	printf("#0511:code_bool %u==%u lvar %d u\n",ui1l,ui2l,ui1l==ui2l);
	printf("#0512:code_bool %u!=%u lvar %d\n",i1l,i2l,i1l!=i2l);
	ui2l++;
    }
}

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

    ui2 = ui1-3;
    for(i2=i1-3;i2<i1+3;i2++) {
	printf("#0525:code_bool_const %d>%d gvar %d\n",-4,i2,-4>i2);
	printf("#0526:code_bool_const %u>%u gvar %d u\n",0,ui2,0>ui2);
	printf("#0527:code_bool_const %d>=%d gvar %d\n",-4,i2,-4>=i2);
	printf("#0528:code_bool_const %u>=%u gvar %d u\n",0,ui2,0>=ui2);
	printf("#0529:code_bool_const %d<%d gvar %d\n",-4,i2,-4<i2);
	printf("#0530:code_bool_const %u<%u gvar %d u\n",0,ui2,0<ui2);
	printf("#0531:code_bool_const %d<=%d gvar %d\n",-4,i2,-4<=i2);
	printf("#0532:code_bool_const %u<=%u gvar %d u\n",0,ui2,0<=ui2);
	printf("#0533:code_bool_const %u==%u gvar %d u\n",0,ui2,0==ui2);
	printf("#0534:code_bool_const %u!=%u gvar %d\n",-4,i2,-4!=i2);
	printf("#0535:code_bool_const %d>%d gvar %d\n",-3,i2,-3>i2);
	printf("#0536:code_bool_const %u>%u gvar %d u\n",1,ui2,1>ui2);
	printf("#0537:code_bool_const %d>=%d gvar %d\n",-3,i2,-3>=i2);
	printf("#0538:code_bool_const %u>=%u gvar %d u\n",1,ui2,1>=ui2);
	printf("#0539:code_bool_const %d<%d gvar %d\n",-3,i2,-3<i2);
	printf("#0540:code_bool_const %u<%u gvar %d u\n",1,ui2,1<ui2);
	printf("#0541:code_bool_const %d<=%d gvar %d\n",-3,i2,-3<=i2);
	printf("#0542:code_bool_const %u<=%u gvar %d u\n",1,ui2,1<=ui2);
	printf("#0543:code_bool_const %u==%u gvar %d u\n",1,ui2,1==ui2);
	printf("#0544:code_bool_const %u!=%u gvar %d\n",-3,i2,-3!=i2);
	printf("#0545:code_bool_const %d>%d gvar %d\n",-2,i2,-2>i2);
	printf("#0546:code_bool_const %u>%u gvar %d u\n",2,ui2,2>ui2);
	printf("#0547:code_bool_const %d>=%d gvar %d\n",-2,i2,-2>=i2);
	printf("#0548:code_bool_const %u>=%u gvar %d u\n",2,ui2,2>=ui2);
	printf("#0549:code_bool_const %d<%d gvar %d\n",-2,i2,-2<i2);
	printf("#0550:code_bool_const %u<%u gvar %d u\n",2,ui2,2<ui2);
	printf("#0551:code_bool_const %d<=%d gvar %d\n",-2,i2,-2<=i2);
	printf("#0552:code_bool_const %u<=%u gvar %d u\n",2,ui2,2<=ui2);
	printf("#0553:code_bool_const %u==%u gvar %d u\n",2,ui2,2==ui2);
	printf("#0554:code_bool_const %u!=%u gvar %d\n",-2,i2,-2!=i2);
	printf("#0555:code_bool_const %d>%d gvar %d\n",-1,i2,-1>i2);
	printf("#0556:code_bool_const %u>%u gvar %d u\n",3,ui2,3>ui2);
	printf("#0557:code_bool_const %d>=%d gvar %d\n",-1,i2,-1>=i2);
	printf("#0558:code_bool_const %u>=%u gvar %d u\n",3,ui2,3>=ui2);
	printf("#0559:code_bool_const %d<%d gvar %d\n",-1,i2,-1<i2);
	printf("#0560:code_bool_const %u<%u gvar %d u\n",3,ui2,3<ui2);
	printf("#0561:code_bool_const %d<=%d gvar %d\n",-1,i2,-1<=i2);
	printf("#0562:code_bool_const %u<=%u gvar %d u\n",3,ui2,3<=ui2);
	printf("#0563:code_bool_const %u==%u gvar %d u\n",3,ui2,3==ui2);
	printf("#0564:code_bool_const %u!=%u gvar %d\n",-1,i2,-1!=i2);
	printf("#0565:code_bool_const %d>%d gvar %d\n",0,i2,0>i2);
	printf("#0566:code_bool_const %u>%u gvar %d u\n",4,ui2,4>ui2);
	printf("#0567:code_bool_const %d>=%d gvar %d\n",0,i2,0>=i2);
	printf("#0568:code_bool_const %u>=%u gvar %d u\n",4,ui2,4>=ui2);
	printf("#0569:code_bool_const %d<%d gvar %d\n",0,i2,0<i2);
	printf("#0570:code_bool_const %u<%u gvar %d u\n",4,ui2,4<ui2);
	printf("#0571:code_bool_const %d<=%d gvar %d\n",0,i2,0<=i2);
	printf("#0572:code_bool_const %u<=%u gvar %d u\n",4,ui2,4<=ui2);
	printf("#0573:code_bool_const %u==%u gvar %d u\n",4,ui2,4==ui2);
	printf("#0574:code_bool_const %u!=%u gvar %d\n",0,i2,0!=i2);
	printf("#0575:code_bool_const %d>%d gvar %d\n",1,i2,1>i2);
	printf("#0576:code_bool_const %u>%u gvar %d u\n",5,ui2,5>ui2);
	printf("#0577:code_bool_const %d>=%d gvar %d\n",1,i2,1>=i2);
	printf("#0578:code_bool_const %u>=%u gvar %d u\n",5,ui2,5>=ui2);
	printf("#0579:code_bool_const %d<%d gvar %d\n",1,i2,1<i2);
	printf("#0580:code_bool_const %u<%u gvar %d u\n",5,ui2,5<ui2);
	printf("#0581:code_bool_const %d<=%d gvar %d\n",1,i2,1<=i2);
	printf("#0582:code_bool_const %u<=%u gvar %d u\n",5,ui2,5<=ui2);
	printf("#0583:code_bool_const %u==%u gvar %d u\n",5,ui2,5==ui2);
	printf("#0584:code_bool_const %u!=%u gvar %d\n",1,i2,1!=i2);
	printf("#0585:code_bool_const %d>%d gvar %d\n",2,i2,2>i2);
	printf("#0586:code_bool_const %u>%u gvar %d u\n",6,ui2,6>ui2);
	printf("#0587:code_bool_const %d>=%d gvar %d\n",2,i2,2>=i2);
	printf("#0588:code_bool_const %u>=%u gvar %d u\n",6,ui2,6>=ui2);
	printf("#0589:code_bool_const %d<%d gvar %d\n",2,i2,2<i2);
	printf("#0590:code_bool_const %u<%u gvar %d u\n",6,ui2,6<ui2);
	printf("#0591:code_bool_const %d<=%d gvar %d\n",2,i2,2<=i2);
	printf("#0592:code_bool_const %u<=%u gvar %d u\n",6,ui2,6<=ui2);
	printf("#0593:code_bool_const %u==%u gvar %d u\n",6,ui2,6==ui2);
	printf("#0594:code_bool_const %u!=%u gvar %d\n",2,i2,2!=i2);
	printf("#0595:code_bool_const %d>%d gvar %d\n",3,i2,3>i2);
	printf("#0596:code_bool_const %u>%u gvar %d u\n",7,ui2,7>ui2);
	printf("#0597:code_bool_const %d>=%d gvar %d\n",3,i2,3>=i2);
	printf("#0598:code_bool_const %u>=%u gvar %d u\n",7,ui2,7>=ui2);
	printf("#0599:code_bool_const %d<%d gvar %d\n",3,i2,3<i2);
	printf("#0600:code_bool_const %u<%u gvar %d u\n",7,ui2,7<ui2);
	printf("#0601:code_bool_const %d<=%d gvar %d\n",3,i2,3<=i2);
	printf("#0602:code_bool_const %u<=%u gvar %d u\n",7,ui2,7<=ui2);
	printf("#0603:code_bool_const %u==%u gvar %d u\n",7,ui2,7==ui2);
	printf("#0604:code_bool_const %u!=%u gvar %d\n",3,i2,3!=i2);
	ui2++;
    }
    ui1l = ui1;
    i1l = i1;
    ui2l = ui1-3;
    for(i2l=i1-3;i2l<i1l+3;i2l++) {
	printf("#0611:code_bool_const %d>%d gvar %d\n",-4,i2l,-4>i2l);
	printf("#0612:code_bool_const %u>%u gvar %d u\n",0,ui2l,0>ui2l);
	printf("#0613:code_bool_const %d>=%d gvar %d\n",-4,i2l,-4>=i2l);
	printf("#0614:code_bool_const %u>=%u gvar %d u\n",0,ui2l,0>=ui2l);
	printf("#0615:code_bool_const %d<%d gvar %d\n",-4,i2l,-4<i2l);
	printf("#0616:code_bool_const %u<%u gvar %d u\n",0,ui2l,0<ui2l);
	printf("#0617:code_bool_const %d<=%d gvar %d\n",-4,i2l,-4<=i2l);
	printf("#0618:code_bool_const %u<=%u gvar %d u\n",0,ui2l,0<=ui2l);
	printf("#0619:code_bool_const %u==%u gvar %d u\n",0,ui2l,0==ui2l);
	printf("#0620:code_bool_const %u!=%u gvar %d\n",-4,i2l,-4!=i2l);
	printf("#0621:code_bool_const %d>%d gvar %d\n",-3,i2l,-3>i2l);
	printf("#0622:code_bool_const %u>%u gvar %d u\n",1,ui2l,1>ui2l);
	printf("#0623:code_bool_const %d>=%d gvar %d\n",-3,i2l,-3>=i2l);
	printf("#0624:code_bool_const %u>=%u gvar %d u\n",1,ui2l,1>=ui2l);
	printf("#0625:code_bool_const %d<%d gvar %d\n",-3,i2l,-3<i2l);
	printf("#0626:code_bool_const %u<%u gvar %d u\n",1,ui2l,1<ui2l);
	printf("#0627:code_bool_const %d<=%d gvar %d\n",-3,i2l,-3<=i2l);
	printf("#0628:code_bool_const %u<=%u gvar %d u\n",1,ui2l,1<=ui2l);
	printf("#0629:code_bool_const %u==%u gvar %d u\n",1,ui2l,1==ui2l);
	printf("#0630:code_bool_const %u!=%u gvar %d\n",-3,i2l,-3!=i2l);
	printf("#0631:code_bool_const %d>%d gvar %d\n",-2,i2l,-2>i2l);
	printf("#0632:code_bool_const %u>%u gvar %d u\n",2,ui2l,2>ui2l);
	printf("#0633:code_bool_const %d>=%d gvar %d\n",-2,i2l,-2>=i2l);
	printf("#0634:code_bool_const %u>=%u gvar %d u\n",2,ui2l,2>=ui2l);
	printf("#0635:code_bool_const %d<%d gvar %d\n",-2,i2l,-2<i2l);
	printf("#0636:code_bool_const %u<%u gvar %d u\n",2,ui2l,2<ui2l);
	printf("#0637:code_bool_const %d<=%d gvar %d\n",-2,i2l,-2<=i2l);
	printf("#0638:code_bool_const %u<=%u gvar %d u\n",2,ui2l,2<=ui2l);
	printf("#0639:code_bool_const %u==%u gvar %d u\n",2,ui2l,2==ui2l);
	printf("#0640:code_bool_const %u!=%u gvar %d\n",-2,i2l,-2!=i2l);
	printf("#0641:code_bool_const %d>%d gvar %d\n",-1,i2l,-1>i2l);
	printf("#0642:code_bool_const %u>%u gvar %d u\n",3,ui2l,3>ui2l);
	printf("#0643:code_bool_const %d>=%d gvar %d\n",-1,i2l,-1>=i2l);
	printf("#0644:code_bool_const %u>=%u gvar %d u\n",3,ui2l,3>=ui2l);
	printf("#0645:code_bool_const %d<%d gvar %d\n",-1,i2l,-1<i2l);
	printf("#0646:code_bool_const %u<%u gvar %d u\n",3,ui2l,3<ui2l);
	printf("#0647:code_bool_const %d<=%d gvar %d\n",-1,i2l,-1<=i2l);
	printf("#0648:code_bool_const %u<=%u gvar %d u\n",3,ui2l,3<=ui2l);
	printf("#0649:code_bool_const %u==%u gvar %d u\n",3,ui2l,3==ui2l);
	printf("#0650:code_bool_const %u!=%u gvar %d\n",-1,i2l,-1!=i2l);
	printf("#0651:code_bool_const %d>%d gvar %d\n",0,i2l,0>i2l);
	printf("#0652:code_bool_const %u>%u gvar %d u\n",4,ui2l,4>ui2l);
	printf("#0653:code_bool_const %d>=%d gvar %d\n",0,i2l,0>=i2l);
	printf("#0654:code_bool_const %u>=%u gvar %d u\n",4,ui2l,4>=ui2l);
	printf("#0655:code_bool_const %d<%d gvar %d\n",0,i2l,0<i2l);
	printf("#0656:code_bool_const %u<%u gvar %d u\n",4,ui2l,4<ui2l);
	printf("#0657:code_bool_const %d<=%d gvar %d\n",0,i2l,0<=i2l);
	printf("#0658:code_bool_const %u<=%u gvar %d u\n",4,ui2l,4<=ui2l);
	printf("#0659:code_bool_const %u==%u gvar %d u\n",4,ui2l,4==ui2l);
	printf("#0660:code_bool_const %u!=%u gvar %d\n",0,i2l,0!=i2l);
	printf("#0661:code_bool_const %d>%d gvar %d\n",1,i2l,1>i2l);
	printf("#0662:code_bool_const %u>%u gvar %d u\n",5,ui2l,5>ui2l);
	printf("#0663:code_bool_const %d>=%d gvar %d\n",1,i2l,1>=i2l);
	printf("#0664:code_bool_const %u>=%u gvar %d u\n",5,ui2l,5>=ui2l);
	printf("#0665:code_bool_const %d<%d gvar %d\n",1,i2l,1<i2l);
	printf("#0666:code_bool_const %u<%u gvar %d u\n",5,ui2l,5<ui2l);
	printf("#0667:code_bool_const %d<=%d gvar %d\n",1,i2l,1<=i2l);
	printf("#0668:code_bool_const %u<=%u gvar %d u\n",5,ui2l,5<=ui2l);
	printf("#0669:code_bool_const %u==%u gvar %d u\n",5,ui2l,5==ui2l);
	printf("#0670:code_bool_const %u!=%u gvar %d\n",1,i2l,1!=i2l);
	printf("#0671:code_bool_const %d>%d gvar %d\n",2,i2l,2>i2l);
	printf("#0672:code_bool_const %u>%u gvar %d u\n",6,ui2l,6>ui2l);
	printf("#0673:code_bool_const %d>=%d gvar %d\n",2,i2l,2>=i2l);
	printf("#0674:code_bool_const %u>=%u gvar %d u\n",6,ui2l,6>=ui2l);
	printf("#0675:code_bool_const %d<%d gvar %d\n",2,i2l,2<i2l);
	printf("#0676:code_bool_const %u<%u gvar %d u\n",6,ui2l,6<ui2l);
	printf("#0677:code_bool_const %d<=%d gvar %d\n",2,i2l,2<=i2l);
	printf("#0678:code_bool_const %u<=%u gvar %d u\n",6,ui2l,6<=ui2l);
	printf("#0679:code_bool_const %u==%u gvar %d u\n",6,ui2l,6==ui2l);
	printf("#0680:code_bool_const %u!=%u gvar %d\n",2,i2l,2!=i2l);
	printf("#0681:code_bool_const %d>%d gvar %d\n",3,i2l,3>i2l);
	printf("#0682:code_bool_const %u>%u gvar %d u\n",7,ui2l,7>ui2l);
	printf("#0683:code_bool_const %d>=%d gvar %d\n",3,i2l,3>=i2l);
	printf("#0684:code_bool_const %u>=%u gvar %d u\n",7,ui2l,7>=ui2l);
	printf("#0685:code_bool_const %d<%d gvar %d\n",3,i2l,3<i2l);
	printf("#0686:code_bool_const %u<%u gvar %d u\n",7,ui2l,7<ui2l);
	printf("#0687:code_bool_const %d<=%d gvar %d\n",3,i2l,3<=i2l);
	printf("#0688:code_bool_const %u<=%u gvar %d u\n",7,ui2l,7<=ui2l);
	printf("#0689:code_bool_const %u==%u gvar %d u\n",7,ui2l,7==ui2l);
	printf("#0690:code_bool_const %u!=%u gvar %d\n",3,i2l,3!=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("#0707:code_bool local 1\n");
    s1 && printf("#0708:code_bool local 2\n");
    us1 && printf("#0709:code_bool local 3\n");
    c1 && printf("#0710:code_bool local 4\n");
    uc1 && printf("#0711: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("#0720:code_bool global 1\n");
    s1 && printf("#0721:code_bool global 2\n");
    us1 && printf("#0722:code_bool global 3\n");
    c1 && printf("#0723:code_bool global 4\n");
    uc1 && printf("#0724: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("#0739:code_bool register 1\n");
    s1 && printf("#0740:code_bool register 2\n");
    us1 && printf("#0741:code_bool register 3\n");
    c1 && printf("#0742:code_bool register 4\n");
    uc1 && printf("#0743:code_bool register 5\n");

}


// code_string(int e1,int creg)

void
code_string()
{
    printf("#0753: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("#0773: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("#0794: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("#0812: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("#0830: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("#0849: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("#0870:code_lrindirect %llx %llx %llx %llx\n",*pi1,*pi2,*pui1,*pui2);
    printf("#0871: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("#0898: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("#0918: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("#0932:code_assop 1 %d\n",i1);
    i1 -= a;
    printf("#0934:code_assop 2 %d\n",i1);
    i1 /= a;
    printf("#0936:code_assop 3 %d\n",i1);
    i1 *= a;
    printf("#0938:code_assop 4 %d\n",i1);
    i1 |= a;
    printf("#0940:code_assop 5 %d\n",i1);
    i1 &= a;
    printf("#0942:code_assop 6 %d\n",i1);
    i1 ^= a;
    printf("#0944:code_assop 7 %d\n",i1);
    i1 <<= a;
    printf("#0946:code_assop 8 %d\n",i1);
    i1 >>= a;
    printf("#0948:code_assop 9 %d\n",i1);

    ui1 += a;
    printf("#0951:code_assop 1 %u\n",ui1);
    ui1 -= a;
    printf("#0953:code_assop 2 %u\n",ui1);
    ui1 /= a;
    printf("#0955:code_assop 3 %u\n",ui1);
    ui1 *= a;
    printf("#0957:code_assop 4 %u\n",ui1);
    ui1 |= a;
    printf("#0959:code_assop 5 %u\n",ui1);
    ui1 &= a;
    printf("#0961:code_assop 6 %u\n",ui1);
    ui1 ^= a;
    printf("#0963:code_assop 7 %u\n",ui1);
    ui1 <<= a;
    printf("#0965:code_assop 8 %u\n",ui1);
    ui1 >>= a;
    printf("#0967:code_assop 9 %u\n",ui1);
}

// iassop_l(int op,int byte,int sign) 
void
code_iassop_l()
{
    struct hoge { int i1,i2; 
	unsigned int ui1,ui2; 
    } s, *p;
    int a = 3;
    p = &s;

    p->i1 = -555; p->i2= 555;
    p->ui1 = 632423423; p->ui2= 32394234;

    p->i1 += a;
    printf("#0984:iassop 1 %d\n",p->i1);
    p->i1 -= a;
    printf("#0986:iassop 2 %d\n",p->i1);
    p->i1 /= a;
    printf("#0988:iassop 3 %d\n",p->i1);
    p->i1 *= a;
    printf("#0990:iassop 4 %d\n",p->i1);
    p->i1 |= a;
    printf("#0992:iassop 5 %d\n",p->i1);
    p->i1 &= a;
    printf("#0994:iassop 6 %d\n",p->i1);
    p->i1 ^= a;
    printf("#0996:iassop 7 %d\n",p->i1);
    p->i1 <<= a;
    printf("#0998:iassop 8 %d\n",p->i1);
    p->i1 >>= a;
    printf("#1000:iassop 9 %d\n",p->i1);

    p->ui1 += a;
    printf("#1003:iassop 1 %u\n",p->ui1);
    p->ui1 -= a;
    printf("#1005:iassop 2 %u\n",p->ui1);
    p->ui1 /= a;
    printf("#1007:iassop 3 %u\n",p->ui1);
    p->ui1 *= a;
    printf("#1009:iassop 4 %u\n",p->ui1);
    p->ui1 |= a;
    printf("#1011:iassop 5 %u\n",p->ui1);
    p->ui1 &= a;
    printf("#1013:iassop 6 %u\n",p->ui1);
    p->ui1 ^= a;
    printf("#1015:iassop 7 %u\n",p->ui1);
    p->ui1 <<= a;
    printf("#1017:iassop 8 %u\n",p->ui1);
    p->ui1 >>= a;
    printf("#1019:iassop 9 %u\n",p->ui1);
}

// iassop_l(int op,int byte,int sign) 

struct ghoge { int i1,i2; 
    unsigned int ui1,ui2; 
} gs, *gp;

void
code_iassop_g()
{
    int a = 3;
    gp = &gs;

    gp->i1 = -555; gp->i2= 555;
    gp->ui1 = 632423423; gp->ui2= 32394234;

    gp->i1 += a;
    printf("#1038:iassop 1 %d\n",gp->i1);
    gp->i1 -= a;
    printf("#1040:iassop 2 %d\n",gp->i1);
    gp->i1 /= a;
    printf("#1042:iassop 3 %d\n",gp->i1);
    gp->i1 *= a;
    printf("#1044:iassop 4 %d\n",gp->i1);
    gp->i1 |= a;
    printf("#1046:iassop 5 %d\n",gp->i1);
    gp->i1 &= a;
    printf("#1048:iassop 6 %d\n",gp->i1);
    gp->i1 ^= a;
    printf("#1050:iassop 7 %d\n",gp->i1);
    gp->i1 <<= a;
    printf("#1052:iassop 8 %d\n",gp->i1);
    gp->i1 >>= a;
    printf("#1054:iassop 9 %d\n",gp->i1);

    gp->ui1 += a;
    printf("#1057:iassop 1 %u\n",gp->ui1);
    gp->ui1 -= a;
    printf("#1059:iassop 2 %u\n",gp->ui1);
    gp->ui1 /= a;
    printf("#1061:iassop 3 %u\n",gp->ui1);
    gp->ui1 *= a;
    printf("#1063:iassop 4 %u\n",gp->ui1);
    gp->ui1 |= a;
    printf("#1065:iassop 5 %u\n",gp->ui1);
    gp->ui1 &= a;
    printf("#1067:iassop 6 %u\n",gp->ui1);
    gp->ui1 ^= a;
    printf("#1069:iassop 7 %u\n",gp->ui1);
    gp->ui1 <<= a;
    printf("#1071:iassop 8 %u\n",gp->ui1);
    gp->ui1 >>= a;
    printf("#1073:iassop 9 %u\n",gp->ui1);
}

void
code_iassop_g_c()
{
    const int a = 3;
    gp = &gs;

    gp->i1 = -555; gp->i2= 555;
    gp->ui1 = 632423423; gp->ui2= 32394234;

    gp->i1 += a;
    printf("#1086:iassop 1 %d\n",gp->i1);
    gp->i1 -= a;
    printf("#1088:iassop 2 %d\n",gp->i1);
    gp->i1 /= a;
    printf("#1090:iassop 3 %d\n",gp->i1);
    gp->i1 *= a;
    printf("#1092:iassop 4 %d\n",gp->i1);
    gp->i1 |= a;
    printf("#1094:iassop 5 %d\n",gp->i1);
    gp->i1 &= a;
    printf("#1096:iassop 6 %d\n",gp->i1);
    gp->i1 ^= a;
    printf("#1098:iassop 7 %d\n",gp->i1);
    gp->i1 <<= a;
    printf("#1100:iassop 8 %d\n",gp->i1);
    gp->i1 >>= a;
    printf("#1102:iassop 9 %d\n",gp->i1);

    gp->ui1 += a;
    printf("#1105:iassop 1 %u\n",gp->ui1);
    gp->ui1 -= a;
    printf("#1107:iassop 2 %u\n",gp->ui1);
    gp->ui1 /= a;
    printf("#1109:iassop 3 %u\n",gp->ui1);
    gp->ui1 *= a;
    printf("#1111:iassop 4 %u\n",gp->ui1);
    gp->ui1 |= a;
    printf("#1113:iassop 5 %u\n",gp->ui1);
    gp->ui1 &= a;
    printf("#1115:iassop 6 %u\n",gp->ui1);
    gp->ui1 ^= a;
    printf("#1117:iassop 7 %u\n",gp->ui1);
    gp->ui1 <<= a;
    printf("#1119:iassop 8 %u\n",gp->ui1);
    gp->ui1 >>= a;
    printf("#1121:iassop 9 %u\n",gp->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("#1136:code_assop 1 %d\n",i1);
    i1 -= a;
    printf("#1138:code_assop 2 %d\n",i1);
    i1 /= a;
    printf("#1140:code_assop 3 %d\n",i1);
    i1 *= a;
    printf("#1142:code_assop 4 %d\n",i1);
    i1 |= a;
    printf("#1144:code_assop 5 %d\n",i1);
    i1 &= a;
    printf("#1146:code_assop 6 %d\n",i1);
    i1 ^= a;
    printf("#1148:code_assop 7 %d\n",i1);
    i1 <<= a;
    printf("#1150:code_assop 8 %d\n",i1);
    i1 >>= a;
    printf("#1152:code_assop 9 %d\n",i1);

    ui1 += a;
    printf("#1155:code_assop 1 %u\n",ui1);
    ui1 -= a;
    printf("#1157:code_assop 2 %u\n",ui1);
    ui1 /= a;
    printf("#1159:code_assop 3 %u\n",ui1);
    ui1 *= a;
    printf("#1161:code_assop 4 %u\n",ui1);
    ui1 |= a;
    printf("#1163:code_assop 5 %u\n",ui1);
    ui1 &= a;
    printf("#1165:code_assop 6 %u\n",ui1);
    ui1 ^= a;
    printf("#1167:code_assop 7 %u\n",ui1);
    ui1 <<= a;
    printf("#1169:code_assop 8 %u\n",ui1);
    ui1 >>= a;
    printf("#1171: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("#1185:code_assop c 1 %d\n",i1);
    i1 -= 3;
    printf("#1187:code_assop c 2 %d\n",i1);
    i1 /= 3;
    printf("#1189:code_assop c 3 %d\n",i1);
    i1 *= 3;
    printf("#1191:code_assop c 4 %d\n",i1);
    i1 |= 234;
    printf("#1193:code_assop c 5 %d\n",i1);
    i1 &= 23244234;
    printf("#1195:code_assop c 6 %d\n",i1);
    i1 ^= 55244234;
    printf("#1197:code_assop c 7 %d\n",i1);
    i1 <<= 3;
    printf("#1199:code_assop c 8 %d\n",i1);
    i1 >>= 3;
    printf("#1201:code_assop c 9 %d\n",i1);

    ui1 += 3;
    printf("#1204:code_assop c 1 %u\n",ui1);
    ui1 -= 3;
    printf("#1206:code_assop c 2 %u\n",ui1);
    ui1 /= 3;
    printf("#1208:code_assop c 3 %u\n",ui1);
    ui1 *= 3;
    printf("#1210:code_assop c 4 %u\n",ui1);
    ui1 |= 234;
    printf("#1212:code_assop c 5 %u\n",ui1);
    ui1 &= 23234234;
    printf("#1214:code_assop c 6 %u\n",ui1);
    ui1 ^= 55234234;
    printf("#1216:code_assop c 7 %u\n",ui1);
    ui1 <<= 3;
    printf("#1218:code_assop c 8 %u\n",ui1);
    ui1 >>= 3;
    printf("#1220: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("#1233:code_assop c 1 %d\n",i1);
    i1 -= 3;
    printf("#1235:code_assop c 2 %d\n",i1);
    i1 /= 3;
    printf("#1237:code_assop c 3 %d\n",i1);
    i1 *= 3;
    printf("#1239:code_assop c 4 %d\n",i1);
    i1 |= 234;
    printf("#1241:code_assop c 5 %d\n",i1);
    i1 &= 23234234;
    printf("#1243:code_assop c 6 %d\n",i1);
    i1 ^= 55444234;
    printf("#1245:code_assop c 7 %d\n",i1);
    i1 <<= 3;
    printf("#1247:code_assop c 8 %d\n",i1);
    i1 >>= 3;
    printf("#1249:code_assop c 9 %d\n",i1);

    ui1 += 3;
    printf("#1252:code_assop c 1 %u\n",ui1);
    ui1 -= 3;
    printf("#1254:code_assop c 2 %u\n",ui1);
    ui1 /= 3;
    printf("#1256:code_assop c 3 %u\n",ui1);
    ui1 *= 3;
    printf("#1258:code_assop c 4 %u\n",ui1);
    ui1 |= 234;
    printf("#1260:code_assop c 5 %u\n",ui1);
    ui1 &= 23234234;
    printf("#1262:code_assop c 6 %u\n",ui1);
    ui1 ^= 54234234;
    printf("#1264:code_assop c 7 %u\n",ui1);
    ui1 <<= 3;
    printf("#1266:code_assop c 8 %u\n",ui1);
    ui1 >>= 3;
    printf("#1268: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("#1282:tosop 1 %d\n",i);
    i = i1 - i2;
    printf("#1284:tosop 2 %d\n",i);
    i = i1 / i2;
    printf("#1286:tosop 3 %d\n",i);
    i = i1 * i2;
    printf("#1288:tosop 4 %d\n",i);
    i = i1 | i2;
    printf("#1290:tosop 5 %d\n",i);
    i = i1 & i2;
    printf("#1292:tosop 6 %d\n",i);
    i = i1 ^ i2;
    printf("#1294:tosop 7 %d\n",i);
    i = i1 << i2;
    printf("#1296:tosop 8 %d\n",i);
    i = i1 >> i2;
    printf("#1298:tosop 9 %d\n",i);
    i = i1 % i2;
    printf("#1300:tosop 10 %d\n",i);

    u = u1 + u2;
    printf("#1303:tosop 1 %u\n",u);
    u = u1 - u2;
    printf("#1305:tosop 2 %u\n",u);
    u = u1 / u2;
    printf("#1307:tosop 3 %u\n",u);
    u = u1 * u2;
    printf("#1309:tosop 4 %u\n",u);
    u = u1 | u2;
    printf("#1311:tosop 5 %u\n",u);
    u = u1 & u2;
    printf("#1313:tosop 6 %u\n",u);
    u = u1 ^ u2;
    printf("#1315:tosop 7 %u\n",u);
    u = u1 << u2;
    printf("#1317:tosop 8 %u\n",u);
    u = u1 >> u2;
    printf("#1319:tosop 9 %u\n",u);
    u = u1 % u2;
    printf("#1321: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("#1334:oprtc 1 %d\n",i);
    i = i1 - 3;
    printf("#1336:oprtc 2 %d\n",i);
    i = i1 / 3;
    printf("#1338:oprtc 3 %d\n",i);
    i = i1 * 3;
    printf("#1340:oprtc 4 %d\n",i);
    i = i1 | 234234234;
    printf("#1342:oprtc 5 %d\n",i);
    i = i1 & 23234234;
    printf("#1344:oprtc 6 %d\n",i);
    i = i1 ^ 23234234;
    printf("#1346:oprtc 7 %d\n",i);
    i = i1 << 5;
    printf("#1348:oprtc 8 %d\n",i);
    i = i1 >> 5;
    printf("#1350:oprtc 9 %d\n",i);
    i = i1 % 5;
    printf("#1352:oprtc 10 %d\n",i);

    u = u1 + 3;
    printf("#1355:oprtc 1 %u\n",u);
    u = u1 - 3;
    printf("#1357:oprtc 2 %u\n",u);
    u = u1 / 3;
    printf("#1359:oprtc 3 %u\n",u);
    u = u1 * 3;
    printf("#1361:oprtc 4 %u\n",u);
    u = u1 | 234234234;
    printf("#1363:oprtc 5 %u\n",u);
    u = u1 & 234234234;
    printf("#1365:oprtc 6 %u\n",u);
    u = u1 ^ 234234234;
    printf("#1367:oprtc 7 %u\n",u);
    u = u1 << 5;
    printf("#1369:oprtc 8 %u\n",u);
    u = u1 >> 5;
    printf("#1371:oprtc 9 %u\n",u);
    u = u1 % 5;
    printf("#1373: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("#1387:tosop r 1 %d\n",i);
    i = i1 - i2;
    printf("#1389:tosop r 2 %d\n",i);
    i = i1 / i2;
    printf("#1391:tosop r 3 %d\n",i);
    i = i1 * i2;
    printf("#1393:tosop r 4 %d\n",i);
    i = i1 | i2;
    printf("#1395:tosop r 5 %d\n",i);
    i = i1 & i2;
    printf("#1397:tosop r 6 %d\n",i);
    i = i1 ^ i2;
    printf("#1399:tosop r 7 %d\n",i);
    i = i1 << i2;
    printf("#1401:tosop r 8 %d\n",i);
    i = i1 >> i2;
    printf("#1403:tosop r 9 %d\n",i);
    i = i1 % i2;
    printf("#1405:tosop r 10 %d\n",i);

    u = u1 + u2;
    printf("#1408:tosop r 1 %u\n",u);
    u = u1 - u2;
    printf("#1410:tosop r 2 %u\n",u);
    u = u1 / u2;
    printf("#1412:tosop r 3 %u\n",u);
    u = u1 * u2;
    printf("#1414:tosop r 4 %u\n",u);
    u = u1 | u2;
    printf("#1416:tosop r 5 %u\n",u);
    u = u1 & u2;
    printf("#1418:tosop r 6 %u\n",u);
    u = u1 ^ u2;
    printf("#1420:tosop r 7 %u\n",u);
    u = u1 << u2;
    printf("#1422:tosop r 8 %u\n",u);
    u = u1 >> u2;
    printf("#1424:tosop r 9 %u\n",u);
    u = u1 % u2;
    printf("#1426: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("#1439:oprtc r 1 %d\n",i);
    i = i1 - 3;
    printf("#1441:oprtc r 2 %d\n",i);
    i = i1 / 3;
    printf("#1443:oprtc r 3 %d\n",i);
    i = i1 * 3;
    printf("#1445:oprtc r 4 %d\n",i);
    i = i1 | 234234234;
    printf("#1447:oprtc r 5 %d\n",i);
    i = i1 & 23234234;
    printf("#1449:oprtc r 6 %d\n",i);
    i = i1 ^ 23234234;
    printf("#1451:oprtc r 7 %d\n",i);
    i = i1 << 5;
    printf("#1453:oprtc r 8 %d\n",i);
    i = i1 >> 5;
    printf("#1455:oprtc r 9 %d\n",i);
    i = i1 % 5;
    printf("#1457:oprtc r 10 %d\n",i);

    u = u1 + 3;
    printf("#1460:oprtc r 1 %u\n",u);
    u = u1 - 3;
    printf("#1462:oprtc r 2 %u\n",u);
    u = u1 / 3;
    printf("#1464:oprtc r 3 %u\n",u);
    u = u1 * 3;
    printf("#1466:oprtc r 4 %u\n",u);
    u = u1 | 234234234;
    printf("#1468:oprtc r 5 %u\n",u);
    u = u1 & 234234234;
    printf("#1470:oprtc r 6 %u\n",u);
    u = u1 ^ 234234234;
    printf("#1472:oprtc r 7 %u\n",u);
    u = u1 << 5;
    printf("#1474:oprtc r 8 %u\n",u);
    u = u1 >> 5;
    printf("#1476:oprtc r 9 %u\n",u);
    u = u1 % 5;
    printf("#1478: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("#1491:code_bool register 6\n");
    d0 && printf("#1492: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("#1504: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("#1531: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("#1553: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("#1566:code_dneg %g %g\n",-i,-j);
    printf("#1567: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("#1579:code_d2i %d\n",i);
}
// code_i2d(int creg0)
void
code_i2d()
{
    double d;
    int i,z;
    i = 242342342;
    z = -1;
    d = i;
    printf("#1590: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("#1601: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("#1612: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("#1623:code_d2i %d\n",i);
}
// code_i2f(int creg0)
void
code_i2f()
{
    float d;
    int i,z;
    i = 24234342;
    z = 555;
    d = i;
    printf("#1634: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("#1645: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("#1656: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("#1666: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("#1669: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("#1680:code_lvar float %f %f %g %g\n",f0,f1,d0,d1);
    printf("#1681:code_bool > lvar float %d %d %d %d\n",
	f0>f1,f0>=f1,f0==f1,f0!=f1);
    printf("#1683:code_bool > lvar double %d %d %d %d\n",
	d0>d1,d0>=d1,d0==d1,d0!=d1);
    printf("#1685:code_bool < lvar float %d %d %d %d\n",
	f0<f1,f0<=f1,f0==f1,f0!=f1);
    printf("#1687: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("#1698:code_bool global 6\n");
    d0 && printf("#1699: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("#1711:code_bool local 6\n");
    d0 && printf("#1712: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("#1725:dtosop 1 %g\n",i);
    i = i1 - i2;
    printf("#1727:dtosop 2 %g\n",i);
    i = i1 / i2;
    printf("#1729:dtosop 3 %g\n",i);
    i = i1 * i2;
    printf("#1731:dtosop 4 %g\n",i);
    u = u1 + u2;
    printf("#1733:dtosop 1 %g\n",u);
    u = u1 - u2;
    printf("#1735:dtosop 2 %g\n",u);
    u = u1 / u2;
    printf("#1737:dtosop 3 %g\n",u);
    u = u1 * u2;
    printf("#1739: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("#1753:dtosop 1 %g\n",i);
    i = i1 - i2;
    printf("#1755:dtosop 2 %g\n",i);
    i = i1 / i2;
    printf("#1757:dtosop 3 %g\n",i);
    i = i1 * i2;
    printf("#1759:dtosop 4 %g\n",i);
    u = u1 + u2;
    printf("#1761:dtosop 1 %g\n",u);
    u = u1 - u2;
    printf("#1763:dtosop 2 %g\n",u);
    u = u1 / u2;
    printf("#1765:dtosop 3 %g\n",u);
    u = u1 * u2;
    printf("#1767: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("#1781:code_dassop 1 %g\n",i1);
    i1 -= 3;
    printf("#1783:code_dassop 2 %g\n",i1);
    i1 /= 3;
    printf("#1785:code_dassop 3 %g\n",i1);
    i1 *= 3;
    printf("#1787:code_dassop 4 %g\n",i1);

    ui1 += 3;
    printf("#1790:code_dassop f 1 %g\n",ui1);
    ui1 -= 3;
    printf("#1792:code_dassop f 2 %g\n",ui1);
    ui1 /= 3;
    printf("#1794:code_dassop f 3 %g\n",ui1);
    ui1 *= 3;
    printf("#1796: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("#1809:code_dassop r 1 %g\n",i1);
    i1 -= 3;
    printf("#1811:code_dassop r 2 %g\n",i1);
    i1 /= 3;
    printf("#1813:code_dassop r 3 %g\n",i1);
    i1 *= 3;
    printf("#1815:code_dassop r 4 %g\n",i1);

    ui1 += 3;
    printf("#1818:code_dassop f r 1 %g\n",ui1);
    ui1 -= 3;
    printf("#1820:code_dassop f r 2 %g\n",ui1);
    ui1 /= 3;
    printf("#1822:code_dassop f r 3 %g\n",ui1);
    ui1 *= 3;
    printf("#1824: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("#1835:code_dpreinc d %g %g",++i,--j);
    printf("#1836: %g %g\n",i,j);
    ui = 123123123;uj = 0;
    printf("#1838:code_dpreinc f %g %g",++ui,--uj);
    printf("#1839: %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("#1849:code_dpostinc d %g %g",i--,j--);
    printf("#1850: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1852:code_dpostinc f %g %g",ui++,uj--);
    printf("#1853: %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("#1863:code_dpreinc r d %g %g",++i,--j);
    printf("#1864: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1866:code_dpreinc r f %g %g",++ui,--uj);
    printf("#1867: %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("#1877:code_dpostinc r d %g %g",i--,j--);
    printf("#1878: %g %g\n",i,j);
    ui = 123123;uj = 0;
    printf("#1880:code_dpostinc r f %g %g",ui++,uj--);
    printf("#1881: %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("#1901:code_dgt 1\n");
    else
	printf("#1903:code_dgt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#1906:reg=%g code_dgt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#1910:reg=%g code_dgt -2<reg && reg <0\n",reg);
    }
}

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

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

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

// code_eq(int cond) 
void
code_deq()
{
    if (f0==f1)
	printf("#1976:code_feq 1\n");
    else
	printf("#1978:code_feq 0\n");
    if (d0!=d1)
	printf("#1980:code_deq 1\n");
    else
	printf("#1982: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("#1995:code_dbool %g>%g gvar %d\n",f0,f1,f0>f1);
	printf("#1996:code_dbool %g>%g gvar %d d\n",d0,d1,d0>d1);
	printf("#1997:code_dbool %g>=%g gvar %d\n",f0,f1,f0>=f1);
	printf("#1998:code_dbool %g>=%g gvar %d d\n",d0,d1,d0>=d1);
	printf("#1999:code_dbool %g<%g gvar %d\n",f0,f1,f0<f1);
	printf("#2000:code_dbool %g<%g gvar %d d\n",d0,d1,d0<d1);
	printf("#2001:code_dbool %g<=%g gvar %d\n",f0,f1,f0<=f1);
	printf("#2002:code_dbool %g<=%g gvar %d d\n",d0,d1,d0<=d1);
	printf("#2003:code_dbool %g==%g gvar %d d\n",d0,d1,d0==d1);
	printf("#2004: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("#2011:code_dbool %g>%g lvar %d\n",i1l,i2l,i1l>i2l);
	printf("#2012:code_dbool %g>%g lvar %d d\n",ui1l,ui2l,ui1l>ui2l);
	printf("#2013:code_dbool %g>=%g lvar %d\n",i1l,i2l,i1l>=i2l);
	printf("#2014:code_dbool %g>=%g lvar %d d\n",ui1l,ui2l,ui1l>=ui2l);
	printf("#2015:code_dbool %g<%g lvar %d\n",i1l,i2l,i1l<i2l);
	printf("#2016:code_dbool %g<%g lvar %d d\n",ui1l,ui2l,ui1l<ui2l);
	printf("#2017:code_dbool %g<=%g lvar %d\n",i1l,i2l,i1l<=i2l);
	printf("#2018:code_dbool %g<=%g lvar %d d\n",ui1l,ui2l,ui1l<=ui2l);
	printf("#2019:code_dbool %g==%g lvar %d d\n",ui1l,ui2l,ui1l==ui2l);
	printf("#2020: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("#2036:code_bool > long long %d %d %d %d %d %d\n",
	l1>l0,ul1>ul0,l1>=l0,ul1>=ul0,ul1==ul0,l1!=l0);
    printf("#2038: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("#2044: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("#2046: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("#2062: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("#2075:code_bool register 8\n");
    ul0 && printf("#2076: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("#2087:code_bool global 8\n");
    ul0 && printf("#2088: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("#2100:code_bool local 8\n");
    ul0 && printf("#2101: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("#2125: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("#2145: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("#2155: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("#2166: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("#2171: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("#2184:code_lvar long long %lld %lld %llu %llu\n",l0,l1,ul0,ul1);
    printf("#2185: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("#2187: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("#2206:ltosop 1 %lld\n",i);
    i = i1 - i2;
    printf("#2208:ltosop 2 %lld\n",i);
    i = i1 / i2;
    printf("#2210:ltosop 3 %lld\n",i);
    i = i1 * i2;
    printf("#2212:ltosop 4 %lld\n",i);
    i = i1 | i2;
    printf("#2214:ltosop 5 %lld\n",i);
    i = i1 & i2;
    printf("#2216:ltosop 6 %lld\n",i);
    i = i1 ^ i2;
    printf("#2218:ltosop 7 %lld\n",i);
    i = i1 << i2;
    printf("#2220:ltosop 8 %lld\n",i);
    i = i1 >> i2;
    printf("#2222:ltosop 9 %lld\n",i);
    i = i1 % i2;
    printf("#2224:ltosop 10 %lld\n",i);

    u = u1 + u2;
    printf("#2227:ltosop u 1 %llu\n",u);
    u = u1 - u2;
    printf("#2229:ltosop u 2 %llu\n",u);
    u = u1 / u2;
    printf("#2231:ltosop u 3 %llu\n",u);
    u = u1 * u2;
    printf("#2233:ltosop u 4 %llu\n",u);
    u = u1 | u2;
    printf("#2235:ltosop u 5 %llu\n",u);
    u = u1 & u2;
    printf("#2237:ltosop u 6 %llu\n",u);
    u = u1 ^ u2;
    printf("#2239:ltosop u 7 %llu\n",u);
    u2 = 3;
    u = u1 << u2;
    printf("#2242:ltosop u 8 %llu\n",u);
    u = u1 >> u2;
    printf("#2244:ltosop u 9 %llu\n",u);
    u = u1 % u2;
    printf("#2246:ltosop u 10 %llu\n",u);

    i = i1 + ii2;
    printf("#2249:litosop 1 %lld\n",i);
    i = i1 - ii2;
    printf("#2251:litosop 2 %lld\n",i);
    i = i1 / ii2;
    printf("#2253:litosop 3 %lld\n",i);
    i = i1 * ii2;
    printf("#2255:litosop 4 %lld\n",i);
    i = i1 | ii2;
    printf("#2257:litosop 5 %lld\n",i);
    i = i1 & ii2;
    printf("#2259:litosop 6 %lld\n",i);
    i = i1 ^ ii2;
    printf("#2261:litosop 7 %lld\n",i);
    ii2 = 3;
    i = i1 << ii2;
    printf("#2264:litosop 8 %lld\n",i);
    i = i1 >> ii2;
    printf("#2266:litosop 9 %lld\n",i);
    i = i1 % ii2;
    printf("#2268:litosop 10 %lld\n",i);

    u = u1 + uu2;
    printf("#2271:litosop u 1 %llu\n",u);
    u = u1 - uu2;
    printf("#2273:litosop u 2 %llu\n",u);
    u = u1 / uu2;
    printf("#2275:litosop u 3 %llu\n",u);
    u = u1 * uu2;
    printf("#2277:litosop u 4 %llu\n",u);
    u = u1 | uu2;
    printf("#2279:litosop u 5 %llu\n",u);
    u = u1 & uu2;
    printf("#2281:litosop u 6 %llu\n",u);
    u = u1 ^ uu2;
    printf("#2283:litosop u 7 %llu\n",u);
    uu2 = 3;
    u = u1 << uu2;
    printf("#2286:litosop u 8 %llu\n",u);
    u = u1 >> uu2;
    printf("#2288:litosop u 9 %llu\n",u);
    u = u1 % uu2;
    printf("#2290: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("#2303:loprtc 1 %lld\n",i);
    i = i1 - 3;
    printf("#2305:loprtc 2 %lld\n",i);
    i = i1 / 32323423423LL;
    printf("#2307:loprtc 3 %lld\n",i);
    i = i1 * 323423423423LL;
    printf("#2309:loprtc 4 %lld\n",i);
    i = i1 | 234234234;
    printf("#2311:loprtc 5 %lld\n",i);
    i = i1 & 23234234;
    printf("#2313:loprtc 6 %lld\n",i);
    i = i1 ^ 23234234;
    printf("#2315:loprtc 7 %lld\n",i);
    i = i1 << 5;
    printf("#2317:loprtc 8 %lld\n",i);
    i = i1 >> 5;
    printf("#2319:loprtc 9 %lld\n",i);
    i = i1 << 38;
    printf("#2321:loprtc 8 %lld\n",i);
    i = i1 >> 38;
    printf("#2323:loprtc 9 %lld\n",i);
    i = i1 % 5;
    printf("#2325:loprtc 10 %lld\n",i);
    i = i1 / 8;
    printf("#2327:loprtc 3 %lld\n",i);
    i = i1 / 256;
    printf("#2329:loprtc 3 %lld\n",i);
    i = i1 % 8;
    printf("#2331:loprtc 3 %lld\n",i);
    i = i1 % 256;
    printf("#2333:loprtc 3 %lld\n",i);
    i = i1 * 8;
    printf("#2335:loprtc 3 %lld\n",i);
    i = i1 * 256;
    printf("#2337:loprtc 3 %lld\n",i);

    u = u1 + 3;
    printf("#2340:loprtc 1 u %llu\n",u);
    u = u1 - 3;
    printf("#2342:loprtc 2 u %llu\n",u);
    u = u1 / 32342342344234LL;
    printf("#2344:loprtc 3 u %llu\n",u);
    u = u1 * 243234234232324LL;
    printf("#2346:loprtc 4 u %llu\n",u);
    u = u1 | 234234234;
    printf("#2348:loprtc 5 u %llu\n",u);
    u = u1 & 234234234;
    printf("#2350:loprtc 6 u %llu\n",u);
    u = u1 ^ 234234234;
    printf("#2352:loprtc 7 u %llu\n",u);
    u = u1 << 5;
    printf("#2354:loprtc 8 u %llu\n",u);
    u = u1 >> 5;
    printf("#2356:loprtc 9 u %llu\n",u);
    u = u1 << 38;
    printf("#2358:loprtc 8 u %llu\n",u);
    u = u1 >> 38;
    printf("#2360:loprtc 9 u %llu\n",u);
    u = u1 % 5;
    printf("#2362:loprtc 10 u %llu\n",u);
    u = u1 / 8;
    printf("#2364:loprtc 3 %lld\n",i);
    u = u1 / 256;
    printf("#2366:loprtc 3 %lld\n",i);
    u = u1 / 8;
    printf("#2368:loprtc 3 %lld\n",i);
    u = u1 / 256;
    printf("#2370:loprtc 3 %lld\n",i);
    u = u1 % 8;
    printf("#2372:loprtc 3 %lld\n",i);
    u = u1 % 256;
    printf("#2374:loprtc 3 %lld\n",i);
    u = u1 * 8;
    printf("#2376:loprtc 3 %lld\n",i);
    u = u1 * 256;
    printf("#2378: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("#2397:ltosop r 1 %lld\n",i);
    i = i1 - i2;
    printf("#2399:ltosop r 2 %lld\n",i);
    i = i1 / i2;
    printf("#2401:ltosop r 3 %lld\n",i);
    i = i1 * i2;
    printf("#2403:ltosop r 4 %lld\n",i);
    i = i1 | i2;
    printf("#2405:ltosop r 5 %lld\n",i);
    i = i1 & i2;
    printf("#2407:ltosop r 6 %lld\n",i);
    i = i1 ^ i2;
    printf("#2409:ltosop r 7 %lld\n",i);
    i2 = 3;
    i = i1 << i2;
    printf("#2412:ltosop r 8 %lld\n",i);
    i = i1 >> i2;
    printf("#2414:ltosop r 9 %lld\n",i);
    i = i1 % i2;
    printf("#2416:ltosop r 10 %lld\n",i);

    u = u1 + u2;
    printf("#2419:ltosop r u 1 %llu\n",u);
    u = u1 - u2;
    printf("#2421:ltosop r u 2 %llu\n",u);
    u = u1 / u2;
    printf("#2423:ltosop r u 3 %llu\n",u);
    u = u1 * u2;
    printf("#2425:ltosop r u 4 %llu\n",u);
    u = u1 | u2;
    printf("#2427:ltosop r u 5 %llu\n",u);
    u = u1 & u2;
    printf("#2429:ltosop r u 6 %llu\n",u);
    u = u1 ^ u2;
    printf("#2431:ltosop r u 7 %llu\n",u);
    u2 = 3;
    u = u1 << u2;
    printf("#2434:ltosop r u 8 %llu\n",u);
    u = u1 >> u2;
    printf("#2436:ltosop r u 9 %llu\n",u);
    u = u1 % u2;
    printf("#2438:ltosop r u 10 %llu\n",u);

    i = i1 + ii2;
    printf("#2441:litosop r 1 %lld\n",i);
    i = i1 - ii2;
    printf("#2443:litosop r 2 %lld\n",i);
    i = i1 / ii2;
    printf("#2445:litosop r 3 %lld\n",i);
    i = i1 * ii2;
    printf("#2447:litosop r 4 %lld\n",i);
    i = i1 | ii2;
    printf("#2449:litosop r 5 %lld\n",i);
    i = i1 & ii2;
    printf("#2451:litosop r 6 %lld\n",i);
    i = i1 ^ ii2;
    printf("#2453:litosop r 7 %lld\n",i);
    ii2 = 3;
    i = i1 << ii2;
    printf("#2456:litosop r 8 %lld\n",i);
    i = i1 >> ii2;
    printf("#2458:litosop r 9 %lld\n",i);
    i = i1 % ii2;
    printf("#2460:litosop r 10 %lld\n",i);

    u = u1 + uu2;
    printf("#2463:litosop r u 1 %llu\n",u);
    u = u1 - uu2;
    printf("#2465:litosop r u 2 %llu\n",u);
    u = u1 / uu2;
    printf("#2467:litosop r u 3 %llu\n",u);
    u = u1 * uu2;
    printf("#2469:litosop r u 4 %llu\n",u);
    u = u1 | uu2;
    printf("#2471:litosop r u 5 %llu\n",u);
    u = u1 & uu2;
    printf("#2473:litosop r u 6 %llu\n",u);
    u = u1 ^ uu2;
    printf("#2475:litosop r u 7 %llu\n",u);
    uu2 = 3;
    u = u1 << uu2;
    printf("#2478:litosop r u 8 %llu\n",u);
    u = u1 >> uu2;
    printf("#2480:litosop r u 9 %llu\n",u);
    u = u1 % uu2;
    printf("#2482: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("#2495:loprtc r 1 %lld\n",i);
    i = i1 - 3;
    printf("#2497:loprtc r 2 %lld\n",i);
    i = i1 / 32323423423LL;
    printf("#2499:loprtc r 3 %lld\n",i);
    i = i1 * 323423423423LL;
    printf("#2501:loprtc r 4 %lld\n",i);
    i = i1 | 234234234;
    printf("#2503:loprtc r 5 %lld\n",i);
    i = i1 & 23234234;
    printf("#2505:loprtc r 6 %lld\n",i);
    i = i1 ^ 23234234;
    printf("#2507:loprtc r 7 %lld\n",i);
    i = i1 << 5;
    printf("#2509:loprtc r 8 %lld\n",i);
    i = i1 >> 5;
    printf("#2511:loprtc r 9 %lld\n",i);
    i = i1 << 38;
    printf("#2513:loprtc r 8 %lld\n",i);
    i = i1 >> 38;
    printf("#2515:loprtc r 9 %lld\n",i);
    i = i1 % 5;
    printf("#2517:loprtc r 10 %lld\n",i);
    i = i1 / 8;
    printf("#2519:loprtc r 10 %lld\n",i);
    i = i1 / 256;
    printf("#2521:loprtc r 10 %lld\n",i);
    i = i1 * 8;
    printf("#2523:loprtc r 10 %lld\n",i);
    i = i1 * 256;
    printf("#2525:loprtc r 10 %lld\n",i);

    u = u1 + 3;
    printf("#2528:loprtc r 1 u %llu\n",u);
    u = u1 - 3;
    printf("#2530:loprtc r 2 u %llu\n",u);
    u = u1 / 32342342344234LL;
    printf("#2532:loprtc r 3 u %llu\n",u);
    u = u1 * 243234234232324LL;
    printf("#2534:loprtc r 4 u %llu\n",u);
    u = u1 | 234234234;
    printf("#2536:loprtc r 5 u %llu\n",u);
    u = u1 & 234234234;
    printf("#2538:loprtc r 6 u %llu\n",u);
    u = u1 ^ 234234234;
    printf("#2540:loprtc r 7 u %llu\n",u);
    u = u1 << 5;
    printf("#2542:loprtc r 8 u %llu\n",u);
    u = u1 >> 5;
    printf("#2544:loprtc r 9 u %llu\n",u);
    u = u1 << 38;
    printf("#2546:loprtc r 8 u %llu\n",u);
    u = u1 >> 38;
    printf("#2548:loprtc r 9 u %llu\n",u);
    u = u1 % 5;
    printf("#2550:loprtc r 10 u %llu\n",u);
    u = u1 / 8;
    printf("#2552:loprtc r 10 u %lld\n",u);
    u = u1 / 256;
    printf("#2554:loprtc r 10 u %lld\n",u);
    u = u1 * 8;
    printf("#2556:loprtc r 10 u %lld\n",u);
    u = u1 * 256;
    printf("#2558:loprtc r 10 u %lld\n",u);
}


// code_i2ll(int creg)
void
code_i2ll()
{
    long long d;
    int i;
    i = 23442342;
    d = i;
    printf("#2570:code_i2ll %lld\n",d);
}
// code_i2ull(int creg)
void
code_i2ull()
{
    unsigned long long d;
    int i;
    i = 23442342;
    d = i;
    printf("#2580:code_i2ull %lld\n",d);
}
// code_u2ll(int creg)
void
code_u2ll()
{
    long long d;
    unsigned int i;
    i = 23442342;
    d = i;
    printf("#2590:code_u2ll %lld\n",d);
}
// code_u2ull(int creg)
void
code_u2ull()
{
    unsigned long long d;
    unsigned int i;
    i = 23342342;
    d = i;
    printf("#2600:code_u2ull %llu\n",d);
}
// code_ll2i(int creg)
void
code_ll2i()
{
    long long d;
    int i;
    d = 2342342342LL;
    i = d;
    printf("#2610:code_ll2i %d\n",i);
}
// code_ll2u(int creg)
void
code_ll2u()
{
    long long d;
    unsigned int i;
    d = 2342342342LL;
    i = d;
    printf("#2620:code_ll2i %ud\n",i);
}
// code_ull2i(int creg)
void
code_ull2i()
{
    unsigned long long d;
    int i;
    d = 2342342342LL;
    i = d;
    printf("#2630:code_ull2i %d\n",i);
}
// code_ull2u(int creg)
void
code_ull2u()
{
    unsigned long long d;
    unsigned int i;
    d = 2342342342LL;
    i = d;
    printf("#2640: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("#2651:code_d2ll %lld\n",d);
}
// code_d2ull(int creg)
void
code_d2ull()
{
    unsigned long long d;
    double i;
    i = 2342342342LL;
    d = i;
    printf("#2661:code_d2ll %llu\n",d);
}
// code_f2ll(int creg)
void
code_f2ll()
{
    long long d;
    float i;
    i = 2342342342LL;
    d = i;
    printf("#2671:code_f2ll %lld\n",d);
}
// code_f2ull(int creg)
void
code_f2ull()
{
    unsigned long long d;
    float i;
    i = 2342342342LL;
    d = i;
    printf("#2681:code_f2ull %llu\n",d);
}
// code_ll2d(int creg)
void
code_ll2d()
{
    long long d;
    double i;
    d = 2342342342LL;
    i = d;
    printf("#2691:code_ll2d %g\n",i);
}
// code_ll2f(int creg)
void
code_ll2f()
{
    long long d;
    float i;
    d = 2342342342LL;
    i = d;
    printf("#2701:code_ll2f %g\n",i);
}
// code_ull2d(int creg)
void
code_ull2d()
{
    long long d;
    double i;
    d = 2342342342LL;
    i = d;
    printf("#2711:code_ull2f %g\n",i);
}
// code_ull2f(int creg)
void
code_ull2f()
{
    long long d;
    float i;
    d = 2342342342LL;
    i = d;
    printf("#2721: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("#2731:code_preinc l %lld %lld",++i,--j);
    printf("#2732: %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("#2741:code_postinc l %lld %lld",i++,j--);
    printf("#2742: %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("#2751:code_preinc l %llu %llu",++i,--j);
    printf("#2752: %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("#2761:code_postinc lu %llu %llu",i++,j--);
    printf("#2762: %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("#2771:code_preinc l r %lld %lld",++i,--j);
    printf("#2772: %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("#2781:code_postinc l r %lld %lld",i++,j--);
    printf("#2782: %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("#2791:code_preinc l r %llu %llu",++i,--j);
    printf("#2792: %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("#2801:code_postinc lu r %llu %llu",i++,j--);
    printf("#2802: %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("#2818:code_register_lassop 1 %lld\n",i1);
    i1 -= a;
    printf("#2820:code_register_lassop 2 %lld\n",i1);
    i1 /= a;
    printf("#2822:code_register_lassop 3 %lld\n",i1);
    i1 *= a;
    printf("#2824:code_register_lassop 4 %lld\n",i1);
    i1 |= a;
    printf("#2826:code_register_lassop 5 %lld\n",i1);
    i1 &= a;
    printf("#2828:code_register_lassop 6 %lld\n",i1);
    i1 ^= a;
    printf("#2830:code_register_lassop 7 %lld\n",i1);
    i1 <<= a;
    printf("#2832:code_register_lassop 8 %lld\n",i1);
    i1 >>= a;
    printf("#2834:code_register_lassop 9 %lld\n",i1);

    ui1 += a;
    printf("#2837:code_register_lassop 1 %llu\n",ui1);
    ui1 -= a;
    printf("#2839:code_register_lassop 2 %llu\n",ui1);
    ui1 /= a;
    printf("#2841:code_register_lassop 3 %llu\n",ui1);
    ui1 *= a;
    printf("#2843:code_register_lassop 4 %llu\n",ui1);
    ui1 |= a;
    printf("#2845:code_register_lassop 5 %llu\n",ui1);
    ui1 &= a;
    printf("#2847:code_register_lassop 6 %llu\n",ui1);
    ui1 ^= a;
    printf("#2849:code_register_lassop 7 %llu\n",ui1);
    ui1 <<= a;
    printf("#2851:code_register_lassop 8 %llu\n",ui1);
    ui1 >>= a;
    printf("#2853: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("#2867:code_lassop 1 %lld\n",i1);
    i1 -= a;
    printf("#2869:code_lassop 2 %lld\n",i1);
    i1 /= a;
    printf("#2871:code_lassop 3 %lld\n",i1);
    i1 *= a;
    printf("#2873:code_lassop 4 %lld\n",i1);
    i1 |= a;
    printf("#2875:code_lassop 5 %lld\n",i1);
    i1 &= a;
    printf("#2877:code_lassop 6 %lld\n",i1);
    i1 ^= a;
    printf("#2879:code_lassop 7 %lld\n",i1);
    i1 <<= a;
    printf("#2881:code_lassop 8 %lld\n",i1);
    i1 >>= a;
    printf("#2883:code_lassop 9 %lld\n",i1);

    ui1 += a;
    printf("#2886:code_lassop 1 %llu\n",ui1);
    ui1 -= a;
    printf("#2888:code_lassop 2 %llu\n",ui1);
    ui1 /= a;
    printf("#2890:code_lassop 3 %llu\n",ui1);
    ui1 *= a;
    printf("#2892:code_lassop 4 %llu\n",ui1);
    ui1 |= a;
    printf("#2894:code_lassop 5 %llu\n",ui1);
    ui1 &= a;
    printf("#2896:code_lassop 6 %llu\n",ui1);
    ui1 ^= a;
    printf("#2898:code_lassop 7 %llu\n",ui1);
    ui1 <<= a;
    printf("#2900:code_lassop 8 %llu\n",ui1);
    ui1 >>= a;
    printf("#2902: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("#2915:code_register_lassop c 1 %lld\n",i1);
    i1 -= 3;
    printf("#2917:code_register_lassop c 2 %lld\n",i1);
    i1 /= 3;
    printf("#2919:code_register_lassop c 3 %lld\n",i1);
    i1 *= 3;
    printf("#2921:code_register_lassop c 4 %lld\n",i1);
    i1 |= 234;
    printf("#2923:code_register_lassop c 5 %lld\n",i1);
    i1 &= 2324234234234234LL;
    printf("#2925:code_register_lassop c 6 %lld\n",i1);
    i1 ^= 5523234234234234LL;
    printf("#2927:code_register_lassop c 7 %lld\n",i1);
    i1 <<= 3;
    printf("#2929:code_register_lassop c 8 %lld\n",i1);
    i1 >>= 3;
    printf("#2931:code_register_lassop c 9 %lld\n",i1);

    ui1 += 3;
    printf("#2934:code_register_lassop c 1 %llu\n",ui1);
    ui1 -= 3;
    printf("#2936:code_register_lassop c 2 %llu\n",ui1);
    ui1 /= 3;
    printf("#2938:code_register_lassop c 3 %llu\n",ui1);
    ui1 *= 3;
    printf("#2940:code_register_lassop c 4 %llu\n",ui1);
    ui1 |= 234;
    printf("#2942:code_register_lassop c 5 %llu\n",ui1);
    ui1 &= 2324234234234234LL;
    printf("#2944:code_register_lassop c 6 %llu\n",ui1);
    ui1 ^= 5523234234234234LL;
    printf("#2946:code_register_lassop c 7 %llu\n",ui1);
    ui1 <<= 3;
    printf("#2948:code_register_lassop c 8 %llu\n",ui1);
    ui1 >>= 3;
    printf("#2950: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("#2963:code_lassop c 1 %lld\n",i1);
    i1 -= 3;
    printf("#2965:code_lassop c 2 %lld\n",i1);
    i1 /= 3;
    printf("#2967:code_lassop c 3 %lld\n",i1);
    i1 *= 3;
    printf("#2969:code_lassop c 4 %lld\n",i1);
    i1 |= 234;
    printf("#2971:code_lassop c 5 %lld\n",i1);
    i1 &= 2324234234234234LL;
    printf("#2973:code_lassop c 6 %lld\n",i1);
    i1 ^= 5523234234234234LL;
    printf("#2975:code_lassop c 7 %lld\n",i1);
    i1 <<= 3;
    printf("#2977:code_lassop c 8 %lld\n",i1);
    i1 >>= 3;
    printf("#2979:code_lassop c 9 %lld\n",i1);

    ui1 += 3;
    printf("#2982:code_lassop c 1 %llu\n",ui1);
    ui1 -= 3;
    printf("#2984:code_lassop c 2 %llu\n",ui1);
    ui1 /= 3;
    printf("#2986:code_lassop c 3 %llu\n",ui1);
    ui1 *= 3;
    printf("#2988:code_lassop c 4 %llu\n",ui1);
    ui1 |= 234;
    printf("#2990:code_lassop c 5 %llu\n",ui1);
    ui1 &= 2324234234234234LL;
    printf("#2992:code_lassop c 6 %llu\n",ui1);
    ui1 ^= 5523234234234234LL;
    printf("#2994:code_lassop c 7 %llu\n",ui1);
    ui1 <<= 3;
    printf("#2996:code_lassop c 8 %llu\n",ui1);
    ui1 >>= 3;
    printf("#2998:code_lassop c 9 %llu\n",ui1);
}

// lassop_l(int op,int byte,int sign) 
void
code_lassop_l()
{
    struct hoge { long long i1,i2; 
	unsigned long long  ui1,ui2; 
    } s, *p;
    long long a = 3;
    p = &s;

    p->i1 = -555; p->i2= 555;
    p->ui1 = 632423423; p->ui2= 32394234;

    p->i1 += a;
    printf("#3015:lassop 1 %lld\n",p->i1);
    p->i1 -= a;
    printf("#3017:lassop 2 %lld\n",p->i1);
    p->i1 /= a;
    printf("#3019:lassop 3 %lld\n",p->i1);
    p->i1 *= a;
    printf("#3021:lassop 4 %lld\n",p->i1);
    p->i1 |= a;
    printf("#3023:lassop 5 %lld\n",p->i1);
    p->i1 &= a;
    printf("#3025:lassop 6 %lld\n",p->i1);
    p->i1 ^= a;
    printf("#3027:lassop 7 %lld\n",p->i1);
    p->i1 <<= a;
    printf("#3029:lassop 8 %lld\n",p->i1);
    p->i1 >>= a;
    printf("#3031:lassop 9 %lld\n",p->i1);

    p->ui1 += a;
    printf("#3034:lassop 1 %llu\n",p->ui1);
    p->ui1 -= a;
    printf("#3036:lassop 2 %llu\n",p->ui1);
    p->ui1 /= a;
    printf("#3038:lassop 3 %llu\n",p->ui1);
    p->ui1 *= a;
    printf("#3040:lassop 4 %llu\n",p->ui1);
    p->ui1 |= a;
    printf("#3042:lassop 5 %llu\n",p->ui1);
    p->ui1 &= a;
    printf("#3044:lassop 6 %llu\n",p->ui1);
    p->ui1 ^= a;
    printf("#3046:lassop 7 %llu\n",p->ui1);
    p->ui1 <<= a;
    printf("#3048:lassop 8 %llu\n",p->ui1);
    p->ui1 >>= a;
    printf("#3050:lassop 9 %llu\n",p->ui1);
}

// lassop_g(int op,int byte,int sign) 

struct lghoge { long long i1,i2; 
    unsigned long long ui1,ui2; 
} gls, *glp;

void
code_lassop_g()
{
    long long  a = 3;
    glp = &gls;

    glp->i1 = -555; glp->i2= 555;
    glp->ui1 = 632423423; glp->ui2= 32394234;

    glp->i1 += a;
    printf("#3069:lassop 1 %lld\n",glp->i1);
    glp->i1 -= a;
    printf("#3071:lassop 2 %lld\n",glp->i1);
    glp->i1 /= a;
    printf("#3073:lassop 3 %lld\n",glp->i1);
    glp->i1 *= a;
    printf("#3075:lassop 4 %lld\n",glp->i1);
    glp->i1 |= a;
    printf("#3077:lassop 5 %lld\n",glp->i1);
    glp->i1 ^= a;
    printf("#3079:lassop 7 %lld\n",glp->i1);
    glp->i1 <<= a;
    printf("#3081:lassop 8 %lld\n",glp->i1);
    glp->i1 >>= a;
    printf("#3083:lassop 9 %lld\n",glp->i1);
    glp->i1 &= a;
    printf("#3085:lassop 6 %lld\n",glp->i1);

    glp->ui1 += a;
    printf("#3088:lassop 1 %llu\n",glp->ui1);
    glp->ui1 -= a;
    printf("#3090:lassop 2 %llu\n",glp->ui1);
    glp->ui1 /= a;
    printf("#3092:lassop 3 %llu\n",glp->ui1);
    glp->ui1 *= a;
    printf("#3094:lassop 4 %llu\n",glp->ui1);
    glp->ui1 |= a;
    printf("#3096:lassop 5 %llu\n",glp->ui1);
    glp->ui1 ^= a;
    printf("#3098:lassop 7 %llu\n",glp->ui1);
    glp->ui1 <<= a;
    printf("#3100:lassop 8 %llu\n",glp->ui1);
    glp->ui1 >>= a;
    printf("#3102:lassop 9 %llu\n",glp->ui1);
    glp->ui1 &= a;
    printf("#3104:lassop 6 %llu\n",glp->ui1);
}

void
code_lassop_g_c()
{
    const int a = 3;
    glp = &gls;

    glp->i1 = -555; glp->i2= 555;
    glp->ui1 = 632423423; glp->ui2= 32394234;

    glp->i1 += a;
    printf("#3117:lassop_gc 1 %lld\n",glp->i1);
    glp->i1 -= a;
    printf("#3119:lassop_gc 2 %lld\n",glp->i1);
    glp->i1 /= a;
    printf("#3121:lassop_gc 3 %lld\n",glp->i1);
    glp->i1 *= a;
    printf("#3123:lassop_gc 4 %lld\n",glp->i1);
    glp->i1 |= a;
    printf("#3125:lassop_gc 5 %lld\n",glp->i1);
    glp->i1 ^= a;
    printf("#3127:lassop_gc 7 %lld\n",glp->i1);
    glp->i1 <<= a;
    printf("#3129:lassop_gc 8 %lld\n",glp->i1);
    glp->i1 >>= a;
    printf("#3131:lassop_gc 9 %lld\n",glp->i1);
    glp->i1 &= a;
    printf("#3133:lassop_gc 6 %lld\n",glp->i1);

    glp->ui1 += a;
    printf("#3136:lassop_gc 1 %llu\n",glp->ui1);
    glp->ui1 -= a;
    printf("#3138:lassop_gc 2 %llu\n",glp->ui1);
    glp->ui1 /= a;
    printf("#3140:lassop_gc 3 %llu\n",glp->ui1);
    glp->ui1 *= a;
    printf("#3142:lassop_gc 4 %llu\n",glp->ui1);
    glp->ui1 |= a;
    printf("#3144:lassop_gc 5 %llu\n",glp->ui1);
    glp->ui1 ^= a;
    printf("#3146:lassop_gc 7 %llu\n",glp->ui1);
    glp->ui1 <<= a;
    printf("#3148:lassop_gc 8 %llu\n",glp->ui1);
    glp->ui1 >>= a;
    printf("#3150:lassop_gc 9 %llu\n",glp->ui1);
    glp->ui1 &= a;
    printf("#3152:lassop_gc 6 %llu\n",glp->ui1);
}


// code_lgt(int cond) 

void
code_lgt()
{
    long long reg;
    if (l0>l1)
	printf("#3163:code_lgt 1\n");
    else
	printf("#3165:code_lgt 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<reg && reg<3)
	   printf("#3168:reg=%lld code_lgt  0<reg && reg <3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<reg && reg<0)
	   printf("#3172: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("#3182:code_lugt 1\n");
    else
	printf("#3184:code_lugt 0\n");
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#3187:reg=%llu code_lugt  2<reg && reg <4\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#3191:reg=%llu code_lugt  2<reg && reg <4\n",reg);
    }
}

// code_lge(int cond) 
void
code_lge()
{
    long long reg;
    if (l0>=l1)
	printf("#3201:code_lge 1\n");
    else
	printf("#3203:code_lge 0\n");
    for (reg=-3;reg<7;reg++) {
        if (0<=reg && reg<=3)
	   printf("#3206:reg=%lld code_lge  0<=reg && reg <=3\n",reg);
    }
    for (reg=-3;reg<7;reg++) {
        if (-2<=reg && reg<=0)
	   printf("#3210: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("#3220:code_luge 1\n");
    else
	printf("#3222:code_luge 0\n");
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#3225:reg=%llu code_luge  2<reg && reg <4\n",reg);
    }
    for (reg=0;reg<7;reg++) {
        if (2<reg && reg<4)
	   printf("#3229:reg=%llu code_luge  2<reg && reg <4\n",reg);
    }
}

// code_leq(int cond) 
void
code_leq()
{
    if (ul0==ul1)
	printf("#3238:code_leq 1\n");
    else
	printf("#3240:code_leq 0\n");
    if (l0!=l1)
	printf("#3242:code_lneq 1\n");
    else
	printf("#3244:code_lneq 0\n");
}

#if 0
void
code_lswitch()
{
    long long i;
    for(i=0;i<6;i++) {
	switch(i) {
	case 1: printf("#3254:code_lswitch 1 %d\n",i); break;
	case 2: printf("#3255:code_lswitch 2 %d\n",i); break;
	case 3: printf("#3256:code_lswitch 3 %d\n",i);
	case 4: printf("#3257:code_lswitch 4 %d\n",i); break;
	default: printf("#3258:code_lswitch d %d\n",i);
	}
    }
}
#endif


#endif

void
code_switch()
{
    int i;
    for(i=0;i<10;i++) {
	switch(i) {
	case 1: printf("#3273:code_switch 1 %d\n",i); break;
	case 2: printf("#3274:code_switch 2 %d\n",i); break;
	case 3: printf("#3275:code_switch 3 %d\n",i);
	case 4: printf("#3276:code_switch 4 %d\n",i); break;
        case 7:
	case 5: printf("#3278:code_switch 5 %d\n",i); break;
	case 6: printf("#3279:code_switch 6 %d\n",i); break;
	default: printf("#3280:code_switch d %d\n",i);
	}
    }
    for(i=0;i<10;i++) {
	switch(i) {
	case 1: printf("#3285:code_switch 1 %d\n",i); break;
	case 2: 
	    i = i* 100;
	    switch(i) {
	    case 100: printf("#3289:code_switch n 1 %d\n",i); break;
	    case 200: 
    for(i=-100;i<10;i++) {
	switch(i) {
	case 1234: printf("#3293:code_switch 1 nn %d\n",i); break;
	case 2233: printf("#3294:code_switch 2 nn %d\n",i); break;
	case 3333: printf("#3295:code_switch 3 nn %d\n",i);
        case -200: return;
	case -4: printf("#3297:code_switch 4 nn %d\n",i); break;
        case 733:
	case -5: printf("#3299:code_switch 5 nn %d\n",i); break;
	case -326: printf("#3300:code_switch 6 nn %d\n",i); 
	}
    }
	    case 300: printf("#3303:code_switch n 3 %d\n",i);
	    case 400: printf("#3304:code_switch n 4 %d\n",i); break;
	    case 700:
	    case 500: printf("#3306:code_switch n 5 %d\n",i); break;
	    case 600: printf("#3307:code_switch n 6 %d\n",i); break;
	    default: printf("#3308:code_switch n d %d\n",i);
	    }
	case 3: printf("#3310:code_switch 3 %d\n",i);
	case 4: printf("#3311:code_switch 4 %d\n",i); break;
        case 7:
	case 5: printf("#3313:code_switch 5 %d\n",i); break;
	case 6: printf("#3314:code_switch 6 %d\n",i); break;
	default: printf("#3315:code_switch d %d\n",i);
	}
    }
}




/* end */