-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/277/#review415
-----------------------------------------------------------


Thanks, this is hugely improved.  Just a few little things I noticed still; the 
panic() thing is the only one I consider really necessary to take care of 
before committing.


src/mem/SConscript
<http://reviews.m5sim.org/r/277/#comment614>

    Nate and I agreed that it would be nice not to prefix all of these with 
"Ruby", though if other people feel this decision needs more discussion that's 
fine.



src/mem/protocol/MI_example-dir.sm
<http://reviews.m5sim.org/r/277/#comment613>

    Can some of these FooBarBazType_to_string() functions, like the one here 
and several more below, be converted to (or hidden behind) operator<<?  That's 
not strictly necessary but it would make these calls a lot less verbose.



src/mem/ruby/storebuffer/storebuffer.cc
<http://reviews.m5sim.org/r/277/#comment611>

    In these cases (and the ones below) where this is really a fatal error, I 
believe the whole ERROR_OUT/DEBUG_EXPR/ASSERT(0) sequence should be replaced by 
a single call to panic(), which takes the same arguments as cprintf().  I think 
if you're dying you don't want to only print relevant info if you had 
traceflags enabled too.



src/mem/slicc/ast/FuncCallExprAST.py
<http://reviews.m5sim.org/r/277/#comment612>

    What is this code doing?  It looks like it's inserting the location, but 
how does this work if the format string isn't changed?  Plus it would be nice 
to have a comment here in the SLICC code too.


- Steve


On 2010-10-24 08:59:56, Nilay Vaish wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/277/
> -----------------------------------------------------------
> 
> (Updated 2010-10-24 08:59:56)
> 
> 
> Review request for Default and Ruby Reviewers.
> 
> 
> Summary
> -------
> 
> Ruby currently uses GEMS debug support with the enum character string map to 
> enable certain debug messages.  Meanwhile, M5 has debug print support that 
> works with scons. Compiling the m5.fast binary, the M5 debug statements are 
> removed, but the Ruby ones are not unless RUBY_DEBUG is not defined. This 
> patch moves Ruby to M5's debug print support.
> 
> 
> Diffs
> -----
> 
>   src/cpu/testers/rubytest/CheckTable.cc f166f8bd8818 
>   src/mem/SConscript f166f8bd8818 
>   src/mem/protocol/MESI_CMP_directory-L1cache.sm f166f8bd8818 
>   src/mem/protocol/MESI_CMP_directory-L2cache.sm f166f8bd8818 
>   src/mem/protocol/MESI_CMP_directory-dir.sm f166f8bd8818 
>   src/mem/protocol/MI_example-cache.sm f166f8bd8818 
>   src/mem/protocol/MI_example-dir.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_directory-L1cache.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_directory-L2cache.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_directory-dir.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_directory-perfectDir.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_token-L1cache.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_token-L2cache.sm f166f8bd8818 
>   src/mem/protocol/MOESI_CMP_token-dir.sm f166f8bd8818 
>   src/mem/protocol/MOESI_hammer-cache.sm f166f8bd8818 
>   src/mem/protocol/MOESI_hammer-dir.sm f166f8bd8818 
>   src/mem/ruby/SConsopts f166f8bd8818 
>   src/mem/ruby/buffers/MessageBuffer.cc f166f8bd8818 
>   src/mem/ruby/common/Debug.hh f166f8bd8818 
>   src/mem/ruby/common/Debug.cc f166f8bd8818 
>   src/mem/ruby/common/NetDest.hh f166f8bd8818 
>   src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc 
> f166f8bd8818 
>   src/mem/ruby/network/garnet/fixed-pipeline/Switch_d.cc f166f8bd8818 
>   src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc 
> f166f8bd8818 
>   src/mem/ruby/network/garnet/flexible-pipeline/Router.cc f166f8bd8818 
>   src/mem/ruby/network/simple/PerfectSwitch.cc f166f8bd8818 
>   src/mem/ruby/network/simple/Throttle.cc f166f8bd8818 
>   src/mem/ruby/network/simple/Topology.cc f166f8bd8818 
>   src/mem/ruby/storebuffer/storebuffer.cc f166f8bd8818 
>   src/mem/ruby/system/CacheMemory.cc f166f8bd8818 
>   src/mem/ruby/system/DirectoryMemory.cc f166f8bd8818 
>   src/mem/ruby/system/SConscript f166f8bd8818 
>   src/mem/ruby/system/SparseMemory.cc f166f8bd8818 
>   src/mem/ruby/tester/RaceyPseudoThread.cc f166f8bd8818 
>   src/mem/slicc/ast/FuncCallExprAST.py f166f8bd8818 
>   src/mem/slicc/symbols/StateMachine.py f166f8bd8818 
> 
> Diff: http://reviews.m5sim.org/r/277/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Nilay
> 
>

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

Reply via email to