-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2254/
-----------------------------------------------------------

(Updated May 2, 2014, 8 a.m.)


Review request for Default.


Repository: gem5


Description (updated)
-------

Changeset 10204:b2e59be375f0
---------------------------
cpu: Add flag name printing to StaticInst

This patch adds a the member function StaticInst::printFlags to allow all
of an instruction's flags to be printed without using the individual
is... member functions or resorting to exposing the 'flags' vector

It also replaces the enum definition StaticInst::Flags with a
Python-generated enumeration and adds to the enum generation mechanism
in src/python/m5/params.py to allow Enums to be placed in namespaces
other than Enums or, alternatively, in wrapper structs allowing them to
be inherited by other classes (so populating that class's name-space
with the enumeration element names).


Diffs (updated)
-----

  src/arch/x86/insts/microop.hh e40b35147270 
  src/cpu/SConscript e40b35147270 
  src/cpu/StaticInstFlags.py PRE-CREATION 
  src/cpu/static_inst.hh e40b35147270 
  src/cpu/static_inst.cc e40b35147270 
  src/python/m5/params.py e40b35147270 

Diff: http://reviews.gem5.org/r/2254/diff/


Testing
-------


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to