public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Michael Bond <mdbond@cs.uiuc.edu>
To: gcc-help@gcc.gnu.org
Subject: unrecognized insn: subreg of 64-bit register on 32-bit linux
Date: Sun, 15 Dec 2002 22:46:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.44.0212152340410.4192-100000@ta-cluster1.cs.uiuc.edu> (raw)

Hi,

I'm getting the following error (see below) under 32-bit x86 Linux with
GCC 3.2.  This error occurs because GCC has been modified to compile UPC,
a parallel variant of C (http://www.interpid.com/upc).  UPC uses 64-bit
pointers for shared data, where 32 bits are for the virtual address and 32
bits are for other data that UPC needs.  This works fine on the SGI Origin
2000, GCC UPC's target machine.  I'm trying to port it to Linux, but the
i386.md file doesn't include patterns for taking a 32-bit portion of a
64-bit value.  Any ideas for how to make this work?

Thanks a lot,
Michael

----------------

src/test00.upc: In function `main':
src/test00.upc:13: unrecognizable insn:
(insn 53 16 55 (set (mem:SI (reg/f:SI 7 esp) [0 S4 A8])
        (subreg:SI (symbol_ref:DI ("b")) 0)) -1 (nil)
    (nil))
src/test00.upc:13: Internal compiler error in extract_insn, at
recog.c:2148
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

                 reply	other threads:[~2002-12-16  5:53 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=Pine.SOL.4.44.0212152340410.4192-100000@ta-cluster1.cs.uiuc.edu \
    --to=mdbond@cs.uiuc.edu \
    --cc=gcc-help@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).