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    [W:0.036 / U:6.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site