Fix respecting of instruction options (misunderstood default action behavior).
authorEric Anholt <eric@anholt.net>
Thu, 24 Aug 2006 21:47:21 +0000 (14:47 -0700)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:21 +0000 (15:54 +0000)
assembler/gram.y

index 6357044..e234fb5 100644 (file)
@@ -594,7 +594,10 @@ instoption_list: instoption instoption_list
 /* XXX: fill me in. alignctrl, comprctrl, threadctrl, depctrl, maskctrl,
  * debugctrl, sendctrl
  */
-instoption:    ALIGN1 | ALIGN16 | MASK_DISABLE | EOT
+instoption:    ALIGN1 { $$ = ALIGN1; }
+               | ALIGN16 { $$ = ALIGN16; }
+               | MASK_DISABLE { $$ = MASK_DISABLE; }
+               | EOT { $$ = EOT; }
 ;
 
 %%