Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-12 Thread Phil Blundell
On Thu, 2011-08-11 at 07:49 -0700, Khem Raj wrote: yeah I think major cpu architecture would be nice to have in overrides e.g. mips for mipseb and mipsel. We dont need endianness info since we can deduce that from tune features in todays setup. I'm not entirely convinced it's wholesome for

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-12 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/12/2011 07:35 AM, Phil Blundell wrote: On Thu, 2011-08-11 at 07:49 -0700, Khem Raj wrote: yeah I think major cpu architecture would be nice to have in overrides e.g. mips for mipseb and mipsel. We dont need endianness info since we can

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Phil Blundell
On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: +# MIPS Architecture definition +# 12 defined ABIs, all combinations of: +# *) Big/Little Endian +# *) Hardware/Software Floating Point +# *) o32, n32, n64 ABI + +DEFAULTTUNE ?= mips + +# Endianess +TUNEVALID[bigendian] = Enable

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 12:25 +0100, Phil Blundell wrote: On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: +# MIPS Architecture definition +# 12 defined ABIs, all combinations of: +# *) Big/Little Endian +# *) Hardware/Software Floating Point +# *) o32, n32, n64 ABI +

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Richard Purdie
On Thu, 2011-08-11 at 13:29 +0100, Phil Blundell wrote: On Thu, 2011-08-11 at 13:08 +0100, Richard Purdie wrote: You sound like you're doing this backwards. Pick a tune that either sets TUNE_FEATURES to either contain or not contain bigendian. TARGET_ARCH then should get set appropriately

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-08-11 Thread Mark Hatle
On 8/11/11 6:25 AM, Phil Blundell wrote: On Tue, 2011-07-26 at 13:44 +0100, Richard Purdie wrote: +# MIPS Architecture definition +# 12 defined ABIs, all combinations of: +# *) Big/Little Endian +# *) Hardware/Software Floating Point +# *) o32, n32, n64 ABI + +DEFAULTTUNE ?= mips + +#

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-07-26 Thread Mark Hatle
Few quick items here: On 7/26/11 7:44 AM, Richard Purdie wrote: Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/conf/machine/include/mips/arch-mips.inc | 64 +- meta/conf/machine/include/tune-mips32.inc| 10 +++- 2 files changed,

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-07-26 Thread Mark Hatle
On 7/26/11 11:51 AM, Richard Purdie wrote: On Tue, 2011-07-26 at 09:41 -0500, Mark Hatle wrote: Few quick items here: On 7/26/11 7:44 AM, Richard Purdie wrote: Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- meta/conf/machine/include/mips/arch-mips.inc | 64

Re: [OE-core] [PATCH 2/3] Add basic Mips core tune config

2011-07-26 Thread Khem Raj
On Tue, Jul 26, 2011 at 5:44 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org ---  meta/conf/machine/include/mips/arch-mips.inc |   64 +-  meta/conf/machine/include/tune-mips32.inc    |   10