public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* ADDRESSOF handling in alpha_expand_block_move
@ 2003-08-03 14:09 Richard Kenner
  0 siblings, 0 replies; only message in thread
From: Richard Kenner @ 2003-08-03 14:09 UTC (permalink / raw)
  To: rth; +Cc: gcc

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.)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-03 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-03 14:09 ADDRESSOF handling in alpha_expand_block_move Richard Kenner

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).