[Top] [All Lists]

Re: [SPAM?] Re: [PATCH] mm/pg-r4k.c: Dump the generated code

To: Nigel Stephens <>
Subject: Re: [SPAM?] Re: [PATCH] mm/pg-r4k.c: Dump the generated code
From: "Maciej W. Rozycki" <>
Date: Thu, 11 Oct 2007 13:01:26 +0100 (BST)
Cc: Franck Bui-Huu <>, Ralf Baechle <>, Thiemo Seufer <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <> <>
On Wed, 10 Oct 2007, Nigel Stephens wrote:

> Actually the -march=4ksd option will allow gcc to use of the SmartMIPS lwxs
> (indexed load) instruction, which could save a few instructions here and
> there.

 Good point, but if we decide the lone instruction is worth the hassle, 
then we should use "-msmartmips" on top of the base ISA selection.  
Likewise with "lwx" and "-mdsp".

 Though either way I am not sure these would have to be put in Kconfig or 
Makefile anywhere.  A generic way should be enough for the insistent as 
the potentially useful options may proliferate; we have the CFLAGS_KERNEL 
and CFLAGS_MODULE Makefile variables that would suit for setting upon 
`make' invocation.


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