2002-08-28 Dave Brolley <brolley@redhat.com>
authorDave Brolley <brolley@redhat.com>
Wed, 28 Aug 2002 16:01:31 +0000 (16:01 +0000)
committerDave Brolley <brolley@redhat.com>
Wed, 28 Aug 2002 16:01:31 +0000 (16:01 +0000)
* gen-support.c (gen_support_h): Generate
'#define semantic_illegal <PREFIX>_semantic_illegal'.

sim/igen/ChangeLog
sim/igen/gen-support.c

index 436ba3b85342310adea41be78602697d7270b4d0..9484c2226ef69236b6ce134403b1dbd054aee584 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-28  Dave Brolley  <brolley@redhat.com>
+
+       * gen-support.c (gen_support_h): Generate
+       '#define semantic_illegal <PREFIX>_semantic_illegal'.
+
 2002-08-22  Chris Demetriou  <cgd@broadcom.com>
 
        * compare_igen_models: New script.
index 93efaa74f725182c4fde2dd3a8b7fb56ee4e17c2..e2663ac5fc66957e24ca58168f73f4c9ffa4cc0c 100644 (file)
@@ -141,10 +141,14 @@ gen_support_h (lf *file,
   lf_printf(file, "#define _SD SD_ /* deprecated */\n");
   lf_printf(file, "\n");
 
-  /* Map <PREFIX>_instruction_word and <PREFIX>_idecode_issue onto the
-     shorter instruction_word and idecode_issue.  Map defined here as,
-     name space problems are created when the name is defined in
-     idecode.h */
+  /* Map <PREFIX>_xxxx onto the shorter xxxx for the following names:
+
+       instruction_word
+       idecode_issue
+       semantic_illegal
+
+     Map defined here as name space problems are created when the name is
+     defined in idecode.h  */
   if (strcmp (options.module.idecode.prefix.l, "") != 0)
     {
       lf_indent_suppress (file);
@@ -159,6 +163,12 @@ gen_support_h (lf *file,
                 options.module.idecode.prefix.l,
                 "idecode_issue");
       lf_printf (file, "\n");
+      lf_indent_suppress (file);
+      lf_printf (file, "#define %s %s%s\n",
+                "semantic_illegal",
+                options.module.idecode.prefix.l,
+                "semantic_illegal");
+      lf_printf (file, "\n");
     }
 
   /* output a declaration for all functions */