public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: janis187@us.ibm.com
To: gcc-gnats@gcc.gnu.org
Subject: target/9680: powerpc64 ICE for unrecog insn with vector_size attr
Date: Wed, 12 Feb 2003 23:36:00 -0000	[thread overview]
Message-ID: <20030212232656.26458.qmail@sources.redhat.com> (raw)


>Number:         9680
>Category:       target
>Synopsis:       powerpc64 ICE for unrecog insn with vector_size attr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 12 23:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Janis Johnson
>Release:        3.3 20030210 (prerelease)
>Organization:
>Environment:
powerpc64-linux; SUSE SLES8
>Description:
gcc.c-torture/compile/simd-5.c fails with an ICE for an
unrecognized instruction with mainline, 3.3-branch, and
3-2.branch for powerpc64-linux, either a cross compiler or
a native 64-bit compiler.  Compiler output:

simd-5.c: In function `main':
simd-5.c:12: error: unrecognizable insn:
(insn 68 67 33 0 (nil) (set (subreg:DI (reg:V2SI 9 r9) 0)
        (subreg:DI (mem:V2SI (plus:DI (reg/f:DI 31 r31)
                    (const_int 136 [0x88])) [0 S8 A8]) 0)) -1 (nil)
    (nil))
simd-5.c:12: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,

Full text of the test case:

#define vector64 __attribute__((vector_size(8)))

main(){

vector64 int  c;
vector64 int a = {1, -1};
vector64 int b = {2, -2};
c = -a + b*b*(-1LL);
/* c is now {5, 3} */

 printf("result is %llx\n", (long long)c);
} 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2003-02-12 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 23:36 janis187 [this message]
2003-02-19 16:17 target/9680: [powerpc64] " dje

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=20030212232656.26458.qmail@sources.redhat.com \
    --to=janis187@us.ibm.com \
    --cc=gcc-gnats@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).