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


Is it possible write some preprocessing macro that generates both the
enum and the quoted strings?

- Nilay Vaish


On April 23, 2014, 12:25 p.m., Andreas Hansson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/2254/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 12:25 p.m.)
> 
> 
> Review request for Default.
> 
> 
> Repository: gem5
> 
> 
> Description
> -------
> 
> Changeset 10206:de16831e938e
> ---------------------------
> 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
> 
> 
> Diffs
> -----
> 
>   src/cpu/static_inst.hh e40b35147270 
>   src/cpu/static_inst.cc 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