Alex writes:
> In Coldfire RM it says that zero flag is set by asrl if the result is 0,
> so "tstl %d0" is not necessary, right ?
This has been fixed in gcc 4.4.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now
Hi,
If I compile the following code for coldfire:
int foo(int a)
{
if(a >> 3)
return 10;
else
return 100;
}
the output with -O2 or -O3 optimization is:
:
0: 4e56 linkw %fp,#0
4: 202e 0008 movel %fp@(8),%d0
8: e680asrl #3,%d0
a: