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]

Ping: Re: Test for SH gen_shl_and bug


On Mon, Nov 18, 2002 at 09:40:10AM -0500, Daniel Jacobowitz wrote:
> (Do I need approval to add tests to the testsuite?)

?

> Here's a testcase for the gen_shl_and bug I found last week.  OK to commit?

Ping.

> 2002-11-18  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	* gcc.c-torture/compile/20021118.c: New test.
> 
> /* SH has special handling for combined and/shift sequences.  Make
>    sure that it behaves properly when one input is in the MACL register.  */
> int r, t;
> 
> static void initRGB()
> {
>   t = ((r*255/3) & 0xff) << 16;
> }
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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