# HG changeset patch # User kono # Date 1100968041 -32400 # Node ID f2d2e27a00a091140cb04ae1ee75bd84cbc2b9fe # Parent 86b04fb4562e41cd3eddb8230cf2e6c5bc4bce3e minor fix diff -r 86b04fb4562e -r f2d2e27a00a0 mc-code-ia32.c --- a/mc-code-ia32.c Sun Nov 21 00:42:42 2004 +0900 +++ b/mc-code-ia32.c Sun Nov 21 01:27:21 2004 +0900 @@ -513,7 +513,7 @@ /* process in reverse order */ n = (NMTBL*)caddr(args); type = n->ty; -printf("# %s %d %d\n",n->nm,n->dsp,n->ty); +// printf("# %s %d %d\n",n->nm,n->dsp,n->ty); if (scalar(type)) { if ((reg = get_input_register_var(reg_var,n,is_code0))) { n->sc = REGISTER; @@ -2650,11 +2650,9 @@ break; case LOP+EQ: pcond(code_eq(0),(cond?l2:l1)); - pcond(code_eq(cond),l1); break; case LOP+NEQ: pcond(code_eq(0),(cond?l1:l2)); - pcond(code_eq(!cond),l1); break; default: error(-1); @@ -2665,6 +2663,8 @@ case LOP+GE: pcond(code_ge(cond), l1); break; case LOP+UGT: pcond(code_ugt(cond), l1); break; case LOP+UGE: pcond(code_uge(cond), l1); break; + case LOP+EQ: pcond(code_eq(cond),l1); break; + case LOP+NEQ: pcond(code_eq(!cond),l1); break; } fwddef(l2); return l1;