public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 4/4] Initial version of RTL frontend
Date: Tue, 10 May 2016 14:14:00 -0000	[thread overview]
Message-ID: <1462889636.11310.6.camel@redhat.com> (raw)
In-Reply-To: <1462394970-55471-5-git-send-email-dmalcolm@redhat.com>

On Wed, 2016-05-04 at 16:49 -0400, David Malcolm wrote:
[...snip...]
> 
> I wrote this by compiling a test.c with -fdump-rtl-all on
> x86_64-pc-linux-gnu, and then attempting to load the state at each
> pass, and then trying to run just one pass, and fixing bugs until the
> dump output from each pass was the same as when running the pass from
> cc1.  I've only done this with a small subset of passes, and with a
> very
> simple test case, so I'm sure there are plenty of bugs and "x86_64
> -isms"
> remaining.

[...snip...]

On the subject of "x86_64-isms", a couple of issues I ran into when
testing with --target=aarch64-linux-gnu:

* roundtrip.exp fails due to different register names so e.g. this from
x86_64:

     (reg:SI 5 di [ i ]))

  becomes this after roundtripping on aarch64:

     (reg:SI 5 x5 [ i ]))

  (i.e. "di" vs "x5" for register 5).

* unknown modes e.g. this from x86_64:

    (reg:CCGC 17 flags)

  fails on aarch64 due to the lack of a "CCGC" mode.


  reply	other threads:[~2016-05-10 14:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 20:24 [PATCH 0/4] RFC: " David Malcolm
2016-05-04 20:24 ` [PATCH 1/4] Make argv const char ** in read_md_files etc David Malcolm
2016-05-06 10:33   ` Richard Biener
2016-05-06 20:43   ` Jakub Jelinek
2016-05-04 20:24 ` [PATCH 3/4] Extract deferred-location handling from jit David Malcolm
2016-05-06 10:36   ` Richard Biener
2016-05-04 20:24 ` [PATCH 2/4] Move name_to_pass_map into class pass_manager David Malcolm
2016-05-06 10:33   ` Richard Biener
2016-05-04 20:26 ` [PATCH 4/4] Initial version of RTL frontend David Malcolm
2016-05-10 14:14   ` David Malcolm [this message]
2016-05-10 14:17     ` Richard Biener
2016-05-10 17:02       ` Jeff Law
2016-05-10 18:05         ` Richard Biener
2016-05-10 18:20           ` Bernd Schmidt
2016-05-11 11:06             ` Ramana Radhakrishnan
2016-05-11 11:22               ` Bernd Schmidt
2016-05-16 22:29     ` Jeff Law
2016-05-09  9:44 ` [PATCH 0/4] RFC: " Richard Biener
2016-05-10 20:35   ` [PATCH] [rtlfe] Barebones implementation of "__RTL"; next steps? David Malcolm
2016-05-11  1:25     ` Trevor Saunders
2016-05-11  9:57       ` Richard Biener
2016-05-12 14:29         ` David Malcolm
2016-05-13  9:40           ` Richard Biener
2016-05-16 18:48           ` Jeff Law
2016-05-17 11:19             ` Richard Biener
2016-05-16 22:42 ` [PATCH 0/4] RFC: RTL frontend Jeff Law

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=1462889636.11310.6.camel@redhat.com \
    --to=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).