On Tue, 16 Sep 2008, wei wang wrote:
1. i just saw a rubycache class in Opal. why does Opal have its own cache
module, while we have Ruby modeling a complete memory sub-system? can i turn
the rubycache off when Opal and Ruby are both loaded? if this class is
necessary, should i make the cache configuration of rubycache the same as
Ruby?
Opal's rubycache is only meaniful in uniprocessor target systems, as it
doesn't do any cache coherence. Even then I would recommend running with
Ruby to simulate that target system, as it has more accurate memory
timings.
2. is there an option for Opal to control which type of instructions can be
seens by cache? like what "USER_MODE_DATA_ONLY" does in Ruby?
No.
Luke
|