Add a junk operand. With no operands, the parser breaks.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 21 Mar 2007 21:09:24 +0000 (21:09 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 21 Mar 2007 21:09:24 +0000 (21:09 +0000)
--HG--
extra : convert_revision : 7410fd3681ed3d9b1293d982ed5f3553a6c75f3f

src/arch/x86/isa/operands.isa

index 4b144dce07d571e9d34f13e546e90f6854dd1e06..20376f38f0f01d26ffc2b5a34ab6bc4824bdb218 100644 (file)
@@ -96,4 +96,7 @@ def operand_types {{
 }};
 
 def operands {{
+        # This is just copied from SPARC, because having no operands confuses
+        # the parser.
+        'Rd':               ('IntReg', 'udw', 'RD', 'IsInteger', 1)
 }};