lkml.org 
[lkml]   [2000]   [Sep]   [20]   [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, Sep 19, 2000 at 04:11:30PM -0700, David S. Miller wrote:
> Unfortunately, gcc does not make inline functions as cheap as "macros
> with type checking". There are extra costs and often the register
> allocator cannot cope and stuff starts getting spilled to the stack.

It is supposedly on the way to be fixed, if it isn't already done.
I'm not completely positive it is in the requirements of gcc 3.0, but
I think it is. It is already fixed for C++.

Keywords to look for in the gcc MLs: tree-based inlining,
function-at-a-time parsing.

OG.

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