home *** CD-ROM | disk | FTP | other *** search
- *** ../f77/src/f1/local2.c.orig Tue Oct 29 15:16:24 1985
- --- ../f77/src/f1/local2.c Tue Oct 29 15:21:37 1985
- ***************
- *** 77,82
- printf( "%s", q->opstring );
- /* tbl
- if( f == 'F' ) printf( "e" );
- else if( f == 'D' ) printf( "d" );
- tbl */
- /* tbl */
-
- --- 77,83 -----
- printf( "%s", q->opstring );
- /* tbl
- if( f == 'F' ) printf( "e" );
- + #ifndef GFLOAT
- else if( f == 'D' ) printf( "d" );
- #else GFLOAT
- else if( f == 'D' ) printf( "g" );
- ***************
- *** 78,83
- /* tbl
- if( f == 'F' ) printf( "e" );
- else if( f == 'D' ) printf( "d" );
- tbl */
- /* tbl */
- switch( f ) {
-
- --- 79,87 -----
- if( f == 'F' ) printf( "e" );
- #ifndef GFLOAT
- else if( f == 'D' ) printf( "d" );
- + #else GFLOAT
- + else if( f == 'D' ) printf( "g" );
- + #endif GFLOAT
- tbl */
- /* tbl */
- switch( f ) {
- ***************
- *** 84,89
- case 'L':
- case 'W':
- case 'B':
- case 'D':
- case 'F':
- printf("%c", tolower(f));
-
- --- 88,97 -----
- case 'L':
- case 'W':
- case 'B':
- + #ifdef GFLOAT
- + printf("%c", tolower(f));
- + break;
- + #endif GFLOAT
- case 'D':
- #ifdef GFLOAT
- printf("g");
- ***************
- *** 85,90
- case 'W':
- case 'B':
- case 'D':
- case 'F':
- printf("%c", tolower(f));
- break;
-
- --- 93,102 -----
- break;
- #endif GFLOAT
- case 'D':
- + #ifdef GFLOAT
- + printf("g");
- + break;
- + #endif GFLOAT
- case 'F':
- printf("%c", tolower(f));
- break;
- ***************
- *** 143,148
- tp = p->in.type;
- tq = q->in.type;
-
- return( (tp==FLOAT || tp==DOUBLE) !=
- (tq==FLOAT || tq==DOUBLE) );
- }
-
- --- 155,161 -----
- tp = p->in.type;
- tq = q->in.type;
-
- + #ifndef GFLOAT
- return( (tp==FLOAT || tp==DOUBLE) !=
- (tq==FLOAT || tq==DOUBLE) );
- #else GFLOAT
- ***************
- *** 145,150
-
- return( (tp==FLOAT || tp==DOUBLE) !=
- (tq==FLOAT || tq==DOUBLE) );
- }
-
- prtype(n) NODE *n;
-
- --- 158,167 -----
- #ifndef GFLOAT
- return( (tp==FLOAT || tp==DOUBLE) !=
- (tq==FLOAT || tq==DOUBLE) );
- + #else GFLOAT
- + return( ((tp==FLOAT || tp==DOUBLE) != (tq==FLOAT || tq==DOUBLE)) ||
- + (tp==FLOAT && tq==DOUBLE) || (tp==DOUBLE && tq==FLOAT) );
- + #endif GFLOAT
- }
-
- prtype(n) NODE *n;
- ***************
- *** 152,157
- switch (n->in.type)
- {
- case DOUBLE:
- printf("d");
- return;
-
-
- --- 169,175 -----
- switch (n->in.type)
- {
- case DOUBLE:
- + #ifndef GFLOAT
- printf("d");
- #else GFLOAT
- printf("g");
- ***************
- *** 153,158
- {
- case DOUBLE:
- printf("d");
- return;
-
- case FLOAT:
-
- --- 171,179 -----
- case DOUBLE:
- #ifndef GFLOAT
- printf("d");
- + #else GFLOAT
- + printf("g");
- + #endif GFLOAT
- return;
-
- case FLOAT:
- ***************
- *** 386,391
-
- if (xdebug) printf("->%d<-", ty);
-
- if ( ty==DOUBLE) printf("d");
- else if ( ty==FLOAT ) printf("f");
- else printf("l");
-
- --- 407,413 -----
-
- if (xdebug) printf("->%d<-", ty);
-
- + #ifndef GFLOAT
- if ( ty==DOUBLE) printf("d");
- #else GFLOAT
- if ( ty==DOUBLE) printf("g");
- ***************
- *** 387,392
- if (xdebug) printf("->%d<-", ty);
-
- if ( ty==DOUBLE) printf("d");
- else if ( ty==FLOAT ) printf("f");
- else printf("l");
- return;
-
- --- 409,417 -----
-
- #ifndef GFLOAT
- if ( ty==DOUBLE) printf("d");
- + #else GFLOAT
- + if ( ty==DOUBLE) printf("g");
- + #endif GFLOAT
- else if ( ty==FLOAT ) printf("f");
- else printf("l");
- return;
- ***************
- *** 483,488
-
- rmove( rt, rs, t ){
- printf( " %s %s,%s\n",
- (t==FLOAT ? "movf" : (t==DOUBLE ? "movd" : "movl")),
- rnames[rs], rnames[rt] );
- }
-
- --- 508,514 -----
-
- rmove( rt, rs, t ){
- printf( " %s %s,%s\n",
- + #ifndef GFLOAT
- (t==FLOAT ? "movf" : (t==DOUBLE ? "movd" : "movl")),
- #else GFLOAT
- (t==FLOAT ? "movf" : (t==DOUBLE ? "movg" : "movl")),
- ***************
- *** 484,489
- rmove( rt, rs, t ){
- printf( " %s %s,%s\n",
- (t==FLOAT ? "movf" : (t==DOUBLE ? "movd" : "movl")),
- rnames[rs], rnames[rt] );
- }
-
-
- --- 510,518 -----
- printf( " %s %s,%s\n",
- #ifndef GFLOAT
- (t==FLOAT ? "movf" : (t==DOUBLE ? "movd" : "movl")),
- + #else GFLOAT
- + (t==FLOAT ? "movf" : (t==DOUBLE ? "movg" : "movl")),
- + #endif GFLOAT
- rnames[rs], rnames[rt] );
- }
-
-