Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: gcc-patches@gcc.gnu.org
Cc: Linux MIPS List <linux-mips@linux-mips.org>
Subject: Re: -march=r10000 Support for MIPS Targets (Old 3.4.x Patch; requires porting, assistance requested)
Date: Fri, 01 Jul 2005 00:51:43 -0400	[thread overview]
Message-ID: <42C4CBDF.1030609@gentoo.org> (raw)
In-Reply-To: <200506281007.12754.stevenb@suse.de>

Steven Bosscher wrote:
> Looks like all the arith->shift attribute changes from the patch you
> posted are already in mainline, so all you really need to add r10000
> support is a pipeline model.  All the MIPSen were converted from the
> old pipeline description (i.e. "define_function_unit") to the new one
> (i.e. "define_insn_reservation" and friends) in a big patch posted
> last year: http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01065.html.
> Maybe you can find in the trhead surrounding that message some ideas
> on how to convert your r10000 pipeline model.
> 
> HTH,
> 
> Gr.
> Steven

Yeah, I've poked around at how the new pipeline descriptions work, but my 
relative lack of understanding in regards to compiler internals makes it 
difficult to understand some terms and especially what the numbers in portions 
of define_function_unit do, and as such, I have no idea where to place them in 
the newer define_insn_reservation.  Not really having the free time to 
constantly rebuild gcc to test to see if numbers were placed appropriately, I've 
looked for other means to get this patch converted.

I did find a script on the gcc-patches ML that was a very early auto-converter 
for old gcc-3.4.x define_function_unit to gcc-4 define_insn_reservation, but it 
was written in gawk, and for some reason, I couldn't coax my copy of gawk to 
execute it correctly.  If there's a straight-forward guide to converting, I'd be 
interested in reading it (assuming it doesn't have a pre-requisite of deep gcc 
internals knowledge).


--Kumba

-- 
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands 
do them because they must, while the eyes of the great are elsewhere."  --Elrond

  reply	other threads:[~2005-07-01  4:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-28  4:59 -march=r10000 Support for MIPS Targets (Old 3.4.x Patch; requires porting, assistance requested) Kumba
2005-06-28  8:07 ` Steven Bosscher
2005-07-01  4:51   ` Kumba [this message]
2005-07-03  2:17     ` Eric Christopher

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=42C4CBDF.1030609@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=linux-mips@linux-mips.org \
    /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