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: optimization/8178: __builtin_ffs broken
Date: Thu, 13 Mar 2003 00:46:00 -0000	[thread overview]
Message-ID: <20030313004600.21253.qmail@sources.redhat.com> (raw)

The following reply was made to PR optimization/8178; it has been noted by GNATS.

From: Richard Henderson <rth@redhat.com>
To: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
Cc: christianbiere@gmx.de, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
   falk.hueffner@student.uni-tuebingen.de, ebotcazou@libertysurf.fr,
   gcc-patches@gcc.gnu.org
Subject: Re: optimization/8178: __builtin_ffs broken
Date: Wed, 12 Mar 2003 16:42:15 -0800

 On Wed, Mar 12, 2003 at 01:30:29PM +0100, Volker Reichelt wrote:
 > I can confirm that the problem is still present on k6.
 > According to Phil's tester the problem for the ix86 was fixed
 > between 2003-01-31 and 2003-02-01.
 
 Backporting the patch you mention isn't an option, but
 this bug is fixable for 3.2/3.3 trivially.
 
 
 r~
 
 
 	* config/i386/i386.md (ffssi2): Tighten op1 predicate to 
 	match the requirements of the output insns.
 
 Index: gcc/config/i386/i386.md
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
 retrieving revision 1.404.2.10
 diff -c -p -d -u -r1.404.2.10 i386.md
 --- gcc/config/i386/i386.md	12 Mar 2003 09:35:27 -0000	1.404.2.10
 +++ gcc/config/i386/i386.md	13 Mar 2003 00:41:08 -0000
 @@ -13671,7 +13671,7 @@
  \f
  (define_expand "ffssi2"
    [(set (match_operand:SI 0 "nonimmediate_operand" "") 
 -	(ffs:SI (match_operand:SI 1 "general_operand" "")))]
 +	(ffs:SI (match_operand:SI 1 "nonimmediate_operand" "")))]
    ""
  {
    rtx out = gen_reg_rtx (SImode), tmp = gen_reg_rtx (SImode);


             reply	other threads:[~2003-03-13  0:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13  0:46 Richard Henderson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18 16:26 Falk Hueffner
2003-04-18 15:36 reichelt
2003-03-12 12:36 Volker Reichelt
2003-03-10 15:46 Eric Botcazou
2003-03-10 15:06 Volker Reichelt

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=20030313004600.21253.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: 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).