From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25003 invoked by alias); 8 Apr 2003 06:06:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24991 invoked from network); 8 Apr 2003 06:06:41 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Apr 2003 06:06:41 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h3866ee24208 for ; Tue, 8 Apr 2003 02:06:40 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h3866dW15936; Tue, 8 Apr 2003 02:06:39 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h3866c532309; Mon, 7 Apr 2003 23:06:38 -0700 Message-ID: <3E9266EE.6897739F@redhat.com> Date: Tue, 08 Apr 2003 06:06:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Kazu Hirata CC: gdb-patches@sources.redhat.com, dvenkat@noida.hcltech.com, avolkov@transas.com, cagney@redhat.com Subject: Re: h8/300 sim tests References: <3E917FF6.4699C121@redhat.com> <20030407.100240.21905392.kazu@cs.umass.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00123.txt.bz2 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.