public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner)
To: rth@redhat.com
Cc: gcc@gcc.gnu.org
Subject: ADDRESSOF handling in alpha_expand_block_move
Date: Sun, 03 Aug 2003 14:09:00 -0000	[thread overview]
Message-ID: <10308031303.AA10828@vlsi1.ultra.nyu.edu> (raw)

I don't understand what you are trying to do there.  Why go inside the
ADDRESSOF?

What's happening for me is that orig_src is

(mem/s:BLK (addressof:DI (mem/s:SI (reg/f:DI 65 virtual-stack-vars) [64 S4 A32]) 74 62eea0) [64 hdr_data+0 S4 A32])

So tmp becomes (mem/s:SI (reg/f:DI 65 virtual-stack-vars) [64 S4 A32])

and dest_reg becomes that as well.

But other code assumes that's a register, specifically when it makes
the gen_insx insn as

(insn 466 465 0 (set (reg:DI 180)
        (unspec:DI[ 
                (mem/s:DI (reg/f:DI 65 virtual-stack-vars) [64 S8 A32])
                (const_int 32 [0x20])
                (reg:DI 181)
            ]  2)) -1 (nil)
    (nil))

That doesn't match since the first operan of the upspec is required to
be a register.

How is this supposed to work?

(The test case is several thousand lines of Ada.)

                 reply	other threads:[~2003-08-03 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=10308031303.AA10828@vlsi1.ultra.nyu.edu \
    --to=kenner@vlsi1.ultra.nyu.edu \
    --cc=gcc@gcc.gnu.org \
    --cc=rth@redhat.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).