lkml.org 
[lkml]   [2000]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] abuse of macros in swab.h


On Tue, 19 Sep 2000, Linus Torvalds wrote:

>
>
> On Tue, 19 Sep 2000, David S. Miller wrote:
> >
> > Would you mind taking a look at the difference in code output when
> > register pressure in a given function is moderate to high? :-)
>
> Immaterial.
>
> If somebody cares about performance, they'd just better create the proper
> architecture-specific macros.
>
> Correctness first.

Well, Andi's variant with statement expression looks like a decent
compromise - it's gccism, indeed, but IIRC it was on the list of approved
extensions. I would go with it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [from the cache]
©2003-2011 Jasper Spaans