On Mon, Apr 23, 2012 at 02:50:13PM +0200, Steven Bosscher wrote: > csui = (ONEUL << a); > b = ((csui & cst) != 0); > if (b) > return 1; > else > return 0;
We (powerpc) would be much better if this were csui = (ONEUL << a); return (csui & cst) >> a; Other targets would probably benefit too. -- Alan Modra Australia Development Lab, IBM