> Unless there's ever a reason why a user would want to set this low bit
> to something other than the log2 of the block size, then this value
> should just be calculated in C++, in my opinion.
I would agree with this.

> The reason it doesn't work is because math operations on proxy values
> have to be explicitly supported in the proxy code, and log isn't one
> that we support.  (Actually I'm not sure it's possible to support
> function calls on proxies, just operators.)  In theory we could add
> support for exp or log on proxies (if we defined an operator) but it
> would be easier to move it to C++ unless there's a real need here.

Yep.

  Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to