public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Chen Gang S <gang.chen@sunrus.com.cn>
To: Chris Metcalf <cmetcalf@ezchip.com>, walt@tilera.com
Cc: Jeff Law <law@redhat.com>, gcc-help <gcc-help@gcc.gnu.org>,
	 Mike Stump <mikestump@comcast.net>,
	Michael Eager <eager@eagerm.com>
Subject: Re: [Consult] tile: How to construct testsuite for tile architecture without hardware.
Date: Fri, 30 Jan 2015 22:50:00 -0000	[thread overview]
Message-ID: <54CC0C79.1070007@sunrus.com.cn> (raw)
In-Reply-To: <54C39ECA.3000603@sunrus.com.cn>

Hello Maintainers:

After finish analyzing the related warnings for tile, for me, they are
neither tile's issues nor gcc common implementation issues:

  build/genrecog ../../gcc-tile-new/gcc/common.md ../../gcc-tile-new/gcc/config/tilegx/tilegx.md insn-conditions.md > tmp-recog.c
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2627: warning: operand 0 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2656: warning: operand 0 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2890: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2890: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:2986: warning: operand 3 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3030: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3030: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3115: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3115: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3127: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3127: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3140: warning: operand 1 missing mode?
  ../../gcc-tile-new/gcc/config/tilegx/tilegx.md:3140: warning: operand 1 missing mode?
  ...

Tile intends to use void mode for pointer operand under tilegx, but
genrecog can not know about tile's willing, so report this warning.

Welcome any ideas, suggestions, and completions.


By the way, when cross compile tile, I found the only warning which can
let me send patch for it yesterday, and send the related patch for it
today (the last day of this month). It is really 'lucky' to me!

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:
> 
>                   === gcc Summary ===
>   
>   # 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=tilegx -mcmodel=large -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 as 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 me.
>>
>> 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.
>>
> 

-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed

  reply	other threads:[~2015-01-30 22:50 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17  9:45 Chen Gang S
2015-01-17 17:04 ` Mike Stump
2015-01-17 23:32   ` Chen Gang S
2015-01-19 16:10 ` Chris Metcalf
2015-01-20  1:54   ` Chen Gang S
2015-01-24 13:24     ` Chen Gang S
2015-01-30 22:50       ` Chen Gang S [this message]
2015-01-30 23:01         ` Mike Stump
2015-01-31  5:45           ` Chen Gang S
2015-01-31 11:17             ` Chen Gang S
2015-01-31 19:44               ` Mike Stump
2015-02-01  0:20                 ` Chen Gang S
2015-02-03 14:20                 ` Chen Gang S
2015-02-03 14:28                   ` Chen Gang S
2015-02-03 17:24                   ` Mike Stump
2015-02-03 23:00                     ` Chen Gang S
2015-07-19 22:25       ` Chen Gang
2015-07-29 21:00         ` Chen Gang
     [not found]           ` <55E27DB9.6050606@hotmail.com>
2015-08-30  3:50             ` Chen Gang
2015-10-01  4:10               ` Chen Gang
     [not found]               ` <560CB2C0.7000107@hotmail.com>
2015-10-04 11:55                 ` Chen Gang
2015-10-05 11:59                   ` Chen Gang
2015-10-17  6:37                     ` Chen Gang
2015-10-18  5:22                       ` Chen Gang
2015-10-18  5:42                         ` john.frankish
2015-10-19 18:27                         ` Mike Stump
     [not found]                           ` <562572E2.6020308@hotmail.com>
2015-10-19 22:45                             ` Chen Gang
2015-10-21 16:40                               ` Mike Stump
     [not found]                                 ` <5628110A.90701@hotmail.com>
2015-10-21 22:25                                   ` Chen Gang
     [not found]                       ` <56232CE1.6050405@hotmail.com>
2015-11-30 13:55                         ` Chen Gang
     [not found]                         ` <565C55D3.1060608@hotmail.com>
2016-03-06  0:06                           ` Chen Gang
2016-03-13 10:34                             ` Chen Gang
2016-05-29  7:36                               ` Chen Gang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CC0C79.1070007@sunrus.com.cn \
    --to=gang.chen@sunrus.com.cn \
    --cc=cmetcalf@ezchip.com \
    --cc=eager@eagerm.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=law@redhat.com \
    --cc=mikestump@comcast.net \
    --cc=walt@tilera.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).