On 09/04/2013 12:51 AM, nathan binkert wrote:
On Tue, Sep 3, 2013 at 3:39 PM, Steve Reinhardt <[email protected]> wrote:
On Tue, Sep 3, 2013 at 2:19 PM, Andreas Sandberg <[email protected]>wrote:

I was planning to add more features to it, but I got distracted thinking
about efficient ways to implement test cases (it's hard to get FP stuff
right!) instead. I had some ideas about using the KVM CPU to verify test
cases running on the simulated CPU, but it's all a bit half-baked at the
moment. I did that manually for the instructions I added, but I'd like to
streamline the process a bit.

On this front... didn't Gabe have some kind of tracing facility put
together where he could diff instruction effects between gem5 and a real
machine on an instruction-by-instruction basis?  I don't recall the details
though.  It seems like that could be really handy here.
Yes.  I believe that it is the statetrace stuff.  It uses ptrace to
single step through a real process on a host machine. Not sure how
ptrace interacts with KVM.  Should mostly work I'd imagine.


That looks like a very useful tool. I'll give it a spin an see if it can be used to automate my test cases.

//Andreas

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

Reply via email to