This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/RFA] Fix ffssi2 on SHmedia


In reference to:

	http://gcc.gnu.org/ml/gcc-bugs/2002-09/msg00892.html

This patch rewrites ffssi2 so that it works :-)  It fixes the problem
we were having with the NetBSD kernel on the hardware, and makes the
attached two test cases work in the simulator.

OK for mainline?

gcc:

2002-09-29  Jason Thorpe  <thorpej@wasabisystems.com>
            Steve Woodford  <scw@wasabisystems.com>

	* config/sh/sh.md (ffssi2): Rewrite.

testsuite:

2002-09-29  Jason Thorpe  <thorpej@wasabisystems.com>

	* gcc.c-torture/execute/ffs-1.c: New test.
	* gcc.c-torture/execute/ffs-2.c: Ditto.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: sh64-ffssi2-patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]