Add acc[01] as src operands.
authorEric Anholt <eric@anholt.net>
Sat, 26 Aug 2006 00:44:55 +0000 (17:44 -0700)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:22 +0000 (15:54 +0000)
assembler/gram.y

index 9cca8dd..b5ffc1d 100644 (file)
@@ -507,8 +507,11 @@ imm32reg:  imm32 srcimmtype
                }
 ;
 
-/* XXX: accreg regtype */
 directsrcaccoperand:   directsrcoperand
+               | accreg regtype
+               {
+                 set_src_operand(&$$, &$1, $2);
+               }
 ;
 
 /* Returns a source operand in the src0 fields of an instruction. */