changeset 46f5d6391f99 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=46f5d6391f99
description:
        ISA parser: Set up op_src_decl and op_dest_decl for pc operands.

diffstat:

 src/arch/isa_parser.py |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r ec1eecca2f8f -r 46f5d6391f99 src/arch/isa_parser.py
--- a/src/arch/isa_parser.py    Tue Mar 22 23:38:09 2011 -0400
+++ b/src/arch/isa_parser.py    Thu Mar 24 13:55:16 2011 -0400
@@ -181,6 +181,12 @@
                       operands.concatSomeAttrStrings(is_src, 'op_src_decl')
             myDict['op_dest_decl'] = \
                       operands.concatSomeAttrStrings(is_dest, 'op_dest_decl')
+            if operands.readPC:
+                myDict['op_src_decl'] += \
+                    'TheISA::PCState __parserAutoPCState;\n'
+            if operands.setPC:
+                myDict['op_dest_decl'] += \
+                    'TheISA::PCState __parserAutoPCState;\n'
 
             myDict['op_rd'] = operands.concatAttrStrings('op_rd')
             if operands.readPC:
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to