Igor Podlesny wrote: > 2008/11/22 H. Peter Anvin <hpa@xxxxxxxxx>: > [...] >> It sort of makes sense that -Os would break this stuff. For newer gccs, >> it would be better to use SSE2 intrinsics rather than inline assembly. >> The problem is that it breaks older gcc. >> > Well, #ifdef could be helpful then, couldn't it? :-) > Yes, and that's probably the way to go. I just tested a version using gcc intrinsics with gcc 4.3, and it is almost 20% faster than the inline assembly version. That, plus the fact that the code is actually readable, makes me really want to figure out how best to deploy this. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html