This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: h8/300 sim tests


Kazu Hirata wrote:
> 
> Hi Michael,
> 
> > I've been working on some tests for the h8/300 simulator, and I've
> > decided they're ready for contribution.  I hope this framework will
> > make it easy for others to add tests (hint hint file i/o cmdline).
> > These are meant to go in a new directory sim/testsuite/sim/h8300.
> 
> This is cool, especially because the simulator are not good at
> simulating instructions that gcc does not output. :-(
> 
> > You'll immediately see from this that I'm also working on adding
> > the h8sx architecture.  Look for that submission shortly.  These
> > tests will work as is, without that submission, with just a few
> > failures (which probably represent existing bugs).
> 
> Would you mind sharing some of the failures you've found?

Heck, I'll even send you patches.  ;-)
You can run these tests yourself -- I think you'll see failures in
ldc/stc (patch to follow), and daa/das (not implemented yet), and
shal/shll (carry is wrong, patch to follow).

Install the patch in src/sim/testsuite/sim/h8300 (except for the
configure change, which goes in src/sim.  Run configure, build, 
install (required), and then cd build/sim/testsuite and run 
	make check RUNTESTFLAGS=allinsn.exp

It runs pretty quickly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]