diff options
Diffstat (limited to 'src/cmd/8g/gsubr.c')
-rwxr-xr-x | src/cmd/8g/gsubr.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cmd/8g/gsubr.c b/src/cmd/8g/gsubr.c index 4f30c606b..314c8aba2 100755 --- a/src/cmd/8g/gsubr.c +++ b/src/cmd/8g/gsubr.c @@ -576,10 +576,6 @@ optoas(int op, Type *t) a = ADIVL; break; - case CASE(OEXTEND, TINT8): - a = ACBW; - break; - case CASE(OEXTEND, TINT16): a = ACWD; break; @@ -716,10 +712,10 @@ gclean(void) for(i=D_AL; i<=D_DI; i++) if(reg[i]) - yyerror("reg %R left allocated at %lux\n", i, regpc[i]); + yyerror("reg %R left allocated at %lux", i, regpc[i]); for(i=D_F0; i<=D_F7; i++) if(reg[i]) - yyerror("reg %R left allocated\n", i); + yyerror("reg %R left allocated", i); } /* @@ -760,7 +756,7 @@ regalloc(Node *n, Type *t, Node *o) try: if(o != N && o->op == OREGISTER) { i = o->val.u.reg; - if(i >= D_AX && i <= max) + if(i >= min && i <= max) goto out; } for(i=min; i<=max; i++) |