public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: target/5378: ICE: unrecognizable insn prefetch Date: Mon, 14 Jan 2002 15:46:00 -0000 [thread overview] Message-ID: <20020114234601.27649.qmail@sources.redhat.com> (raw) The following reply was made to PR target/5378; it has been noted by GNATS. From: Richard Henderson <rth@redhat.com> To: Janis Johnson <janis187@us.ibm.com> Cc: ritzert@t-online.de, gcc-gnats@gcc.gnu.org Subject: Re: target/5378: ICE: unrecognizable insn prefetch Date: Mon, 14 Jan 2002 15:36:58 -0800 On Mon, Jan 14, 2002 at 01:03:25PM -0800, Janis Johnson wrote: > > a.c:15: unrecognizable insn: > > (insn 154 81 31 (prefetch (plus:SI (reg/f:SI 72) > > (const_int 384 [0x180])) > > (const_int 1 [0x1]) > > (const_int 3 [0x3])) -1 (nil) > > (nil)) It was indeed a stupid typo. Fixed thus. r~ * config/i386/i386.md (prefetch): Tidy. (prefetch_3dnow): Fix locality operand. Index: i386.md =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v retrieving revision 1.329 diff -c -p -d -u -r1.329 i386.md --- i386.md 2002/01/12 10:05:26 1.329 +++ i386.md 2002/01/14 23:31:06 @@ -19607,6 +19607,7 @@ { int rw = INTVAL (operands[1]); int locality = INTVAL (operands[2]); + if (rw != 0 && rw != 1) abort (); if (locality < 0 || locality > 3) @@ -19617,13 +19618,9 @@ (K6 machines). Otherwise use SSE prefetch as it allows specifying of locality. */ if (TARGET_3DNOW && (!TARGET_PREFETCH_SSE || rw)) - { - operands[2] = GEN_INT (3); - } + operands[2] = GEN_INT (3); else - { - operands[1] = const0_rtx; - } + operands[1] = const0_rtx; }) (define_insn "*prefetch_sse" @@ -19647,7 +19644,7 @@ (define_insn "*prefetch_3dnow" [(prefetch (match_operand:SI 0 "address_operand" "p") (match_operand:SI 1 "const_int_operand" "n") - (const_int 0))] + (const_int 3))] "TARGET_3DNOW" { if (INTVAL (operands[1]) == 0)
next reply other threads:[~2002-01-14 23:46 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-14 15:46 Richard Henderson [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-01-21 19:48 rodrigc 2002-01-15 9:26 Janis Johnson 2002-01-14 17:06 Richard Henderson 2002-01-14 16:56 Janis Johnson 2002-01-14 13:26 Richard Henderson 2002-01-14 13:06 Janis Johnson 2002-01-14 10:46 ritzert
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=20020114234601.27649.qmail@sources.redhat.com \ --to=rth@redhat.com \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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: linkBe 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).