| To: | "Kevin D. Kissell" <kevink@mips.com>, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [RFC] Optimize swab operations on mips_r2 cpu |
| From: | Franck <vagabon.xyz@gmail.com> |
| Date: | Fri, 27 Jan 2006 18:32:15 +0100 |
| Cc: | Nigel Stephens <nigel@mips.com>, linux-mips@linux-mips.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=g/KvfDdn4FjWho2bEJmwP4AVCGcssJpOQZ01NULzDlx9LCNQpTr07InuzFXt2p/ekeQvfoLgmnrzO8mXnctohD/iJCx1IuIN/L+cp5gV97h2ksly/siGr+xuBjR62mmjTcPxhWb2mGRya11WnBCUUpImMsSEdc0oyVCAjthILWI= |
| In-reply-to: | <00df01c62357$ef9a1fa0$10eca8c0@grendel> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cda58cb80601250136p5ee350e6g@mail.gmail.com> <43D8F000.9010106@mips.com> <cda58cb80601260831i61167787g@mail.gmail.com> <43D8FF16.40107@mips.com> <cda58cb80601261002w6eb02249k@mail.gmail.com> <43D93025.9040800@mips.com> <cda58cb80601270103t1419117cq@mail.gmail.com> <43DA240F.5070301@mips.com> <cda58cb80601270654jf779622w@mail.gmail.com> <00df01c62357$ef9a1fa0$10eca8c0@grendel> |
| Sender: | linux-mips-bounce@linux-mips.org |
2006/1/27, Kevin D. Kissell <kevink@mips.com>:
>
> ifdef CONFIG_CPU_SMARTMIPS
> cflags-$(CONFIG_CPU_MIPS32R1) += \
> $(call
> set_gccflags,mips32,smartmips,4kec,mips3,mips2)\
> -Os, -Wa,--trap
>
> cflags-$(CONFIG_CPU_MIPS32R2) += \
> $(call set_gccflags,4ksd,mips32r2,4kec,mips3,mips2) \
> -Wa,--trap
> else
> cflags-$(CONFIG_CPU_MIPS32R1) += \
> $(call set_gccflags,mips32,mips32,r4600,mips3,mips2) \
> -Wa,--trap
>
> cflags-$(CONFIG_CPU_MIPS32R2) += \
> $(call
> set_gccflags,mips32r2,mips32r2,r4600,mips3,mips2)
> \
> -Wa,--trap
> endif
>
>
> That's almost certainly not the cleanest way to do it (and I really don't know
> if the values I threw in for the MIPS32R1+SmartMIPS (e.g. 4KSc) combination
> would actually work. I just want to point out that it isn't that hard to do.
I agree it's not hard to do. But it becomes more tricky if you want
something clean that gives best results for every cpus...Moreover I
don't think your solution avoids maintenence problems IMHO.
Ralf, could you give your opinion ?
Thanks
--
Franck
|
| Previous by Date: | Re: [RFC] Optimize swab operations on mips_r2 cpu, Kevin D. Kissell |
|---|---|
| Next by Date: | R10K/R12K Based O2's, Kumba |
| Previous by Thread: | Re: [RFC] Optimize swab operations on mips_r2 cpu, Kevin D. Kissell |
| Next by Thread: | Re: [RFC] Optimize swab operations on mips_r2 cpu, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |