Commit 6d844225 by Jan Hubicka Committed by Jan Hubicka

20000427-1.c: New test for loop hoisting code and hard registers.

	* compile/20000427-1.c: New test for loop hoisting code
	and hard registers.

From-SVN: r33483
parent d82704fb
Thu Apr 27 15:58:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
* compile/20000427-1.c: New test for loop hoisting code
and hard registers.
2000-04-26 Geoff Keating <geoffk@cygnus.com>
* execute/loop-5.c: New test.
......
int lwidth;
int lheight;
void ConvertFor3dDriver (int requirePO2, int maxAspect)
{
int oldw = lwidth, oldh = lheight;
lheight = FindNearestPowerOf2 (lheight);
while (lwidth/lheight > maxAspect) lheight += lheight;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment