public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Revital1 Eres <ERES@il.ibm.com>
To: gcc@gcc.gnu.org
Subject: Help with reload
Date: Tue, 22 Jun 2010 18:47:00 -0000	[thread overview]
Message-ID: <OF47E5ECAA.FB9CAD3F-ONC225774A.004A51CD-C225774A.0051B95D@il.ibm.com> (raw)


Hello,

I have a question regarding code generation for a new target I'm working
on.
I am using GCC 4.6.

In reload pass  the following first instruction is replaced with the
second one after spilling reg 182 to the stack.  The problem is that
the generated new instruction does not have a valid address format and
I'm not sure why it was considered as a valid replacement.
Any help on how to resolve this is appreciated.

(insn 282 150 151 13 jctrans.c:109 (set (reg:SI 12 r12)
        (mem/s:SI (plus:SI (reg/v/f:SI 182 [ incomp ])
                (const_int 8 [0x8])) [6 *incomp_85 S4 A32])) -1 (nil))

(insn 282 150 151 13 jctrans.c:109 (set (reg:SI 12 r12)
        (mem/s:SI (plus:SI (mem/c:SI (plus:SI (reg/f:SI 63 r63)
                        (const_int -12 [0xfffffff4])) [56 %sfp+-12 S4 A32])
                (const_int 8 [0x8])) [6 *incomp_85 S4 A32])) -1 (nil))

Thanks,
Revital

             reply	other threads:[~2010-06-22 14:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 18:47 Revital1 Eres [this message]
2010-06-22 18:57 ` 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=OF47E5ECAA.FB9CAD3F-ONC225774A.004A51CD-C225774A.0051B95D@il.ibm.com \
    --to=eres@il.ibm.com \
    --cc=gcc@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).