linux-mips
[Top] [All Lists]

Re: [RFC] Optimize swab operations on mips_r2 cpu

To: "Kevin D. Kissell" <kevink@mips.com>
Subject: Re: [RFC] Optimize swab operations on mips_r2 cpu
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 27 Jan 2006 11:30:03 +0000
Cc: Franck <vagabon.xyz@gmail.com>, Nigel Stephens <nigel@mips.com>, linux-mips@linux-mips.org
In-reply-to: <000b01c6232a$5ea81470$10eca8c0@grendel>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <43D7C050.5090607@mips.com> <cda58cb80601260702wf781e70l@mail.gmail.com> <005101c6228c$6ebfb0a0$10eca8c0@grendel> <43D8F000.9010106@mips.com> <cda58cb80601260831i61167787g@mail.gmail.com> <43D8FF16.40107@mips.com> <cda58cb80601261002w6eb02249k@mail.gmail.com> <43D93025.9040800@mips.com> <cda58cb80601270103t1419117cq@mail.gmail.com> <000b01c6232a$5ea81470$10eca8c0@grendel>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Fri, Jan 27, 2006 at 11:13:44AM +0100, Kevin D. Kissell wrote:

> Configuration hacks that are specific to a single core create cruft and
> maintenence problems.  As I said yesterday, I think we'd be much better
> off to have a CONFIG_CPU_MIPS_SMALL or some such option
> that could cause -Os to be used, allow branch-likelies, etc.

There is already CONFIG_CC_OPTIMIZE_FOR_SIZE.

Unfortunately gcc has begun to avoid gcc totally since it was marked
"deprecated" in the architecture spec even though in the real world
branch likely often is a win.

  Ralf

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