X86: Make the disassembly for halt conform with the other microops.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:58:27 +0000 (00:58 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 12 Jun 2008 04:58:27 +0000 (00:58 -0400)
src/arch/x86/isa/microops/specop.isa

index 6bcc7ff910aa765dc4a7df72fec5b8f2212ee51e..ad14b54a323524d51a1823e933116d53dab21b5d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (c) 2007 The Hewlett-Packard Development Company
+// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
 // All rights reserved.
 //
 // Redistribution and use of this software in source and binary forms,
@@ -95,6 +95,9 @@ output header {{
         }
 
         %(BasicExecDeclare)s
+
+        std::string generateDisassembly(Addr pc,
+                const SymbolTable *symtab) const;
     };
 }};
 
@@ -201,6 +204,16 @@ output decoder {{
 
         return response.str();
     }
+
+    std::string MicroHalt::generateDisassembly(Addr pc,
+            const SymbolTable *symtab) const
+    {
+        std::stringstream response;
+
+        printMnemonic(response, instMnem, mnemonic);
+
+        return response.str();
+    }
 }};
 
 let {{