[Top] [All Lists]

Re: [RFC] Optimize swab operations on mips_r2 cpu

To: Nigel Stephens <>
Subject: Re: [RFC] Optimize swab operations on mips_r2 cpu
From: Franck <>
Date: Fri, 27 Jan 2006 15:54:58 +0100
Cc: "Kevin D. Kissell" <>,
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TkXQk6Hfx8C3Gh7YP/jnpv8DzHgcp5CeowSXyV6clUa3eyEVgt5y6PfXK4MZS3ds7zPQjCa9x9ezSb3NRwg/nIm9ACEbEJf/Sdbw8ufl41pgPChXId3Hs4r7j2cwcpLn5edqIQanQrfNWR/rC2uO3BKTYCZ3uRnuB/iUFV/bdWg=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <005101c6228c$6ebfb0a0$10eca8c0@grendel> <> <> <> <> <> <> <>
2006/1/27, Nigel Stephens <>:
> Not that I'm a Linux hacker, but aren't those separate things? Can't you
> compile with -march=4ksd to get the CPU-specific compiler optimisations,
> but then use the more generic CONFIG_CPU_MIPSR2 and/or
> CONFIG_CPU_SMARTMIPS to select the appropriate code inside the kernel
> source (i.e. no need for CONFIG_CPU_4KSD)?

To use -march=4ksd, you need to tell to the building process that
you're using a 4KSD cpu. The only way to do that is to define a new
CPU_4KSD. But, if I understood mips configuration script, you cannot
define CPU_4KSD _and_ CPU_MIPS32R2 at the same time; at least easily.


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