[Top] [All Lists]

Re: [PATCH 2/2] Alchemy: provide cpu feature overrides.

To: Manuel Lauss <>
Subject: Re: [PATCH 2/2] Alchemy: provide cpu feature overrides.
From: Ralf Baechle <>
Date: Tue, 23 Dec 2008 15:39:09 +0100
Cc: Linux-MIPS <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Dec 22, 2008 at 08:21:08PM +0100, Manuel Lauss wrote:

> Add cpu feature override constants for Alchemy.
> Code generated for Alchemy does not use all MIPS32r1 features.  Add cpu
> feature overrides tailored for Alchemy chips and help GCC create better
> code.  As a nice sideeffect the size of the resulting kernel is reduced
> by a few kilobytes (~200kB for a non-modular db1200 devboard build).

The enormous size difference is probably 99% due to atomic and bitops
which exist in LL/SC and non-LL/SC versions and without the header gcc
will expand the inline function each time.  That will hurt, also
performance.  Also the big size difference suggests that we may want to
outline some or all of these functions.


<Prev in Thread] Current Thread [Next in Thread>