Messages in this thread | | | Date | Thu, 26 Jan 2006 09:30:14 -0800 | From | Richard Henderson <> | Subject | Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h |
| |
On Thu, Jan 26, 2006 at 05:34:12AM +0100, Edgar Toernig wrote: > Why shift at all?
Becuase that *is* a valid architecture tuning knob. Most risc machines can't AND with arbitrary constants like that, and loading the constant might bulk things up more than just using the shift.
r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |