From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111335 invoked by alias); 30 Aug 2015 03:50:11 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 111322 invoked by uid 89); 30 Aug 2015 03:50:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: COL004-OMC1S18.hotmail.com Received: from col004-omc1s18.hotmail.com (HELO COL004-OMC1S18.hotmail.com) (65.55.34.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sun, 30 Aug 2015 03:50:07 +0000 Received: from COL130-W26 ([65.55.34.8]) by COL004-OMC1S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 29 Aug 2015 20:50:06 -0700 X-TMN: [Gw3/y1jDrZ9L04BgH5wK61br8MkmoSSm] Message-ID: From: Chen Gang To: Chris Metcalf , "walt@tilera.com" CC: Jeff Law , gcc-help , Mike Stump , Michael Eager , Richard Henderson , Peter Maydell , =?iso-8859-1?B?QW5kcmVhcyBG5HJiZXI=?= , "rth@twiddle.net" Subject: Re: [Consult] tile: How to construct testsuite for tile architecture without hardware. Date: Sun, 30 Aug 2015 03:50:00 -0000 In-Reply-To: <55E27DB9.6050606@hotmail.com> References: <54BA30F3.4080202@sunrus.com.cn> <54BD2C5E.1070804@ezchip.com> <54BDB71D.90703@sunrus.com.cn> <54C39ECA.3000603@sunrus.com.cn> ,<55E27DB9.6050606@hotmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00212.txt.bz2 Oh, sorry again, I did not finish qemu test within this month, again. Current status is: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D=3D=3D gcc Summary =3D=3D=3D =A0 # of expected passes =A0 =A0 =A0 =A0 =A0 =A076725 =A0 # of unexpected failures =A0 =A0 =A0 =A0790 =A0 # of unexpected successes =A0 =A0 =A0 7 =A0 # of expected failures =A0 =A0 =A0 =A0 =A0113 =A0 # of unresolved testcases =A0 =A0 =A0 142 =A0 # of unsupported tests =A0 =A0 =A0 =A0 =A01483 My main excuses are: =A0- We are lack of tilegx floating point insns related documents, we have =A0 =A0to 'guess' implementation details. At last, we found ways to process =A0 =A0it (we spent more than a half month free time resources for it). =A0- My related qemu code need be refactor before merging into qemu master =A0 =A0tree. At present, we are refactoring and merging tilegx code to qemu =A0 =A0master tree (mainly by qemu related members). Hope I can finish qemu tilegx gcc testsuite within next month (I guess, it should be done in time). =A0- Test the refactored and merged code again, based on it, I continue to =A0 =A0fix gcc testsuite related issues. =A0- Fix all 700+ gcc testsuite issues (10+ for pending issues, and the =A0 =A0others are for UN-implementation insns issues, I guess). Thanks. On 7/30/15 05:01, Chen Gang wrote: > On 7/20/15 06:26, Chen Gang wrote: >> Hello all: >> >> At present (after a half year), with the much help of QEMU members, >> tilegx linux-user can work (manually using busybox's sh, ls, cp, mv, vi >> are OK). >> >> Next, I shall start gcc testsuite with qemu tilegx linux-user, hope I >> can finish within this month (2015-07-31). >> > > Sorry, I can not finish the qemu test within this month. The reason is > my tilegx qemu is still lack of some instructions implementation, next, > I should finish them firstly (I implemented most insns, but not all). > > =3D=3D=3D gcc Summary =3D=3D=3D > > # of expected passes 69830 > # of unexpected failures 4312 > # of unexpected successes 2 > # of expected failures 108 > # of unresolved testcases 1776 > # of unsupported tests 1567 > > More than 4K failures are because tilegx qemu lacks of instruction's > implementation, and also more than 10 issues are for TIMEOUT (I guess, > my original tilegx qemu instruction's implementation still has bugs). > > I shall try to finish it within next month, although I am not quite sure > (it needs enough time resources on it, but I am lack of time resources: > I can only spend less 1 hour per work day and 2 hours per week end day). > > > > Thanks. > >> Thanks. >> >> On 1/24/15 21:31, Chen Gang S wrote: >>> Hello Maintainers: >>> >>> The result of gcc testsuite for tile without qemu is below, I guess the >>> environments construction is OK: >>> >>> =3D=3D=3D gcc Summary =3D=3D=3D >>> >>> # of expected passes 66650 >>> # of unexpected failures 42 >>> # of unexpected successes 1 >>> # of expected failures 107 >>> # of unresolved testcases 16558 >>> # of unsupported tests 1771 >>> >>> Based on normal testsuite and microblaze testsuite configuration, it is >>> easy to config gcc testsuite for tile. Thank gcc testsuit member and >>> microblaze member very much. :-) >>> >>> - Copy the original microblaze exp file as tile exp file. Export tile >>> ip to /etc/hosts. >>> >>> - Change the related compiler name and related patch to tile in tile >>> exp file. >>> >>> - Use tile cflag "-m64 -mcpu=3Dtilegx -mcmodel=3Dlarge -mlittle-endian" >>> instead of the original microblaze cflag, in tile exp file. >>> >>> If OK, I shall try to make a tile patch within this month. Next month, >>> I shall start tile qemu (I am preparing for it within this month). After >>> communicate with qemu members, I guess, it is possible to finish it. >>> >>> >>> Welcome any ideas, suggestions, and completions. >>> >>> Thanks. >>> >>> On 1/20/15 10:02, Chen Gang S wrote: >>>> On 1/20/15 00:10, Chris Metcalf wrote: >>>>> On 1/17/2015 4:52 AM, Chen Gang S wrote: >>>>>> Hello Maintainers: >>>>>> >>>>>> I am trying to make gcc patches for tile, and need testsuite without >>>>>> related hardware, so I consult: >>>>> >>>>> Unfortunately, at the current time, the simulator is only available a= s part of the commercial Multicore Development Environment package. A qemu = port for tile hardware would certainly be welcome, but to my knowledge, no = one has completed such a port yet. ISA and ABI documentation for tilegx are= available at www.tilera.com/scm. >>>>> >>>> >>>> OK, thank you very much, and the documentation is really valuable to m= e. >>>> >>>> After finish gcc tile testsuite (hope I can finish within this month), >>>> I shall continue for tile qemu, I should try my best for it, hope I can >>>> finish: "can run gcc testsuite with the tile qemu". >>>> >>>> At present, it is really very hard to me, but for me, it is my duty (I >>>> met it, and it was within my original boarder). >>>> >>>> >>>> For me, nothing is impossible, if God blessed. >>>> >>>> >>>> Thanks. >>>> >>> >> >> Thanks. >> > -- Chen Gang Open, share, and attitude like air, water, and life which God blessed =20=09=09=20=09=20=20=20=09=09=20=20