* config/bfin-parse.y (check_macfunc): Loose the condition of
authorJie Zhang <jie.zhang@analog.com>
Sun, 28 May 2006 00:53:08 +0000 (00:53 +0000)
committerJie Zhang <jie.zhang@analog.com>
Sun, 28 May 2006 00:53:08 +0000 (00:53 +0000)
calling check_multiply_halfregs ().

gas/ChangeLog
gas/config/bfin-parse.y

index 039badef731e59426a14cc7ed3414fa01491b6b9..449f6359f7447e351e9e25832d5070d19d9de1a3 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-28  Jie Zhang  <jie.zhang@analog.com>
+       * config/bfin-parse.y (check_macfunc): Loose the condition of
+       calling check_multiply_halfregs ().
+
 2006-05-25  Jie Zhang  <jie.zhang@analog.com>
 
        * config/bfin-parse.y (asm_1): Better check and deal with
index a04b3f56e627770ab2f91f16e2256404579291a4..35c4c8103f0b84225da5186b72dedae3817dcdc2 100644 (file)
@@ -298,9 +298,10 @@ check_macfuncs (Macfunc *aa, Opt_mode *opa,
        return yyerror ("Vector AxMACs can't be same");
     }
 
-  /*  If both ops are != 3, we have multiply_halfregs in both
+  /*  If both ops are one of 0, 1, or 2, we have multiply_halfregs in both
   assignment_or_macfuncs.  */
-  if (aa->op == ab->op && aa->op != 3)
+  if (aa->op < 3 && aa->op >=0
+      && ab->op < 3 && ab->op >= 0)
     {
       if (check_multiply_halfregs (aa, ab) < 0)
        return -1;
This page took 0.028268 seconds and 4 git commands to generate.