changeset 443:f2d2e27a00a0 inline-before

minor fix
author kono
date Sun, 21 Nov 2004 01:27:21 +0900
parents 86b04fb4562e
children 8bec605d1701
files mc-code-ia32.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;