This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Fix ffssi2 on SHmedia
- From: Richard Henderson <rth at redhat dot com>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Sep 2002 23:18:38 -0700
- Subject: Re: [PATCH/RFA] Fix ffssi2 on SHmedia
- References: <20020929140851.K13371@dr-evil.shagadelic.org>
On Sun, Sep 29, 2002 at 02:08:51PM -0700, Jason R Thorpe wrote:
> * gcc.c-torture/execute/ffs-1.c: New test.
Ok.
> * gcc.c-torture/execute/ffs-2.c: Ditto.
You need to cater to sizeof(int)*CHAR_BIT < 32 in some manner.
Perhaps a table of input/output that has parts conditionally
compiled based on __INT_MAX__.
I'll let Joern comment on the sh bits.
r~