Re: [PATCH] abuse of macros in swab.h

From: Olivier Galibert (galibert@pobox.com)
Date: Tue Sep 19 2000 - 22:53:58 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:22 EST