public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Test for SH gen_shl_and bug
@ 2002-11-18  6:38 Daniel Jacobowitz
  2002-11-22  7:36 ` Ping: " Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-11-18  6:38 UTC (permalink / raw)
  To: gcc-patches

(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?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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;
}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Ping: Re: Test for SH gen_shl_and bug
  2002-11-18  6:38 Test for SH gen_shl_and bug Daniel Jacobowitz
@ 2002-11-22  7:36 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2002-11-22  7:36 UTC (permalink / raw)
  To: gcc-patches

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-22 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-18  6:38 Test for SH gen_shl_and bug Daniel Jacobowitz
2002-11-22  7:36 ` Ping: " Daniel Jacobowitz

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).