Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-13 Thread Andre McCurdy
On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > meta/conf/machine/include/riscv/arch-riscv.inc | 3 ++- > meta/conf/machine/include/riscv/tune-riscv.inc | 17 +++-- > 2 files changed, 17 insertions(+), 3 deletions(-) > > diff

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-11 Thread Alistair Francis
On Fri, Nov 8, 2019 at 3:14 PM Alistair Francis wrote: > > On Fri, Nov 8, 2019 at 3:07 PM Richard Purdie > wrote: > > > > On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > > > Especially when looking at the arm64 situation I am wondering > > > whether the best option might be to throw away

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-10 Thread Adrian Bunk
On Sat, Nov 09, 2019 at 10:05:22PM +, Richard Purdie wrote: > On Sat, 2019-11-09 at 22:30 +0200, Adrian Bunk wrote: > > On Fri, Nov 08, 2019 at 11:07:04PM +, Richard Purdie wrote: > > > On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > > > > Especially when looking at the arm64

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-09 Thread Richard Purdie
On Sat, 2019-11-09 at 22:30 +0200, Adrian Bunk wrote: > On Fri, Nov 08, 2019 at 11:07:04PM +, Richard Purdie wrote: > > On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > > > Especially when looking at the arm64 situation I am wondering > > > whether the best option might be to throw away

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-09 Thread Adrian Bunk
On Fri, Nov 08, 2019 at 11:07:04PM +, Richard Purdie wrote: > On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > > Especially when looking at the arm64 situation I am wondering > > whether the best option might be to throw away the tunes mess and let > > the user write the compiler

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-08 Thread Alistair Francis
On Fri, Nov 8, 2019 at 3:07 PM Richard Purdie wrote: > > On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > > Especially when looking at the arm64 situation I am wondering > > whether the best option might be to throw away the tunes mess and let > > the user write the compiler options

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-08 Thread Richard Purdie
On Fri, 2019-11-08 at 22:24 +0200, Adrian Bunk wrote: > Especially when looking at the arm64 situation I am wondering > whether the best option might be to throw away the tunes mess and let > the user write the compiler options directly. OE once did that. I think anyone who lived through it would

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-08 Thread Adrian Bunk
On Thu, Nov 07, 2019 at 04:39:22PM -0800, Alistair Francis wrote: > On Wed, Nov 6, 2019 at 11:33 PM Nathan Rossi wrote: > > > > On Thu, 7 Nov 2019 at 09:34, Adrian Bunk wrote: > > > > > > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > > > >... > > > > +TUNE_CCARGS_riscv64 .=

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-07 Thread Alistair Francis
On Wed, Nov 6, 2019 at 11:33 PM Nathan Rossi wrote: > > On Thu, 7 Nov 2019 at 09:34, Adrian Bunk wrote: > > > > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > > >... > > > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', > > > 'riscv64-f', ' -mabi=lp64d', '

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-07 Thread Adrian Bunk
On Wed, Nov 06, 2019 at 04:55:05PM -0800, Khem Raj wrote: > On Wed, Nov 6, 2019 at 4:48 PM Alistair Francis > wrote: >... > > -march is another can of worms that I was trying to avoid. I don't have > > a good way of handling the ISA strings at the moment without some crazy > > number of tune

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Nathan Rossi
On Thu, 7 Nov 2019 at 09:34, Adrian Bunk wrote: > > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > >... > > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', 'riscv64-f', > > ' -mabi=lp64d', ' -mabi=lp64', d)}" > > +TUNE_CCARGS_riscv32 .=

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Khem Raj
On Wed, Nov 6, 2019 at 4:48 PM Alistair Francis wrote: > On Thu, 2019-11-07 at 00:12 +0200, Adrian Bunk wrote: > > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > > > ... > > > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', > > > 'riscv64-f', ' -mabi=lp64d', '

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Alistair Francis
On Thu, 2019-11-07 at 00:12 +0200, Adrian Bunk wrote: > On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: > > ... > > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', > > 'riscv64-f', ' -mabi=lp64d', ' -mabi=lp64', d)}" > > +TUNE_CCARGS_riscv32 .=

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Alistair Francis
On Wed, 2019-11-06 at 14:18 -0800, Khem Raj wrote: > On Wed, Nov 6, 2019 at 1:52 PM Alistair Francis > wrote: > > On Wed, 2019-11-06 at 13:49 -0800, Khem Raj wrote: > > > On Wed, Nov 6, 2019 at 1:34 PM Alistair Francis > > > wrote: > > > > On Wed, 2019-11-06 at 12:54 -0800, Khem Raj wrote: > > >

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Adrian Bunk
On Wed, Nov 06, 2019 at 10:18:18AM -0800, Alistair Francis wrote: >... > +TUNE_CCARGS_riscv64 .= "${@bb.utils.contains('TUNE_FEATURES', 'riscv64-f', ' > -mabi=lp64d', ' -mabi=lp64', d)}" > +TUNE_CCARGS_riscv32 .= "${@bb.utils.contains('TUNE_FEATURES', 'riscv32-f', ' > -mabi=ilp32f', '

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Khem Raj
On Wed, Nov 6, 2019 at 1:52 PM Alistair Francis wrote: > > On Wed, 2019-11-06 at 13:49 -0800, Khem Raj wrote: > > On Wed, Nov 6, 2019 at 1:34 PM Alistair Francis > > wrote: > > > On Wed, 2019-11-06 at 12:54 -0800, Khem Raj wrote: > > > > On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis > > > >

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Khem Raj
On Wed, Nov 6, 2019 at 1:34 PM Alistair Francis wrote: > > On Wed, 2019-11-06 at 12:54 -0800, Khem Raj wrote: > > On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis > > wrote: > > > Signed-off-by: Alistair Francis > > > --- > > > meta/conf/machine/include/riscv/arch-riscv.inc | 3 ++- > > >

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Alistair Francis
On Wed, 2019-11-06 at 13:49 -0800, Khem Raj wrote: > On Wed, Nov 6, 2019 at 1:34 PM Alistair Francis > wrote: > > On Wed, 2019-11-06 at 12:54 -0800, Khem Raj wrote: > > > On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis > > > wrote: > > > > Signed-off-by: Alistair Francis > > > > --- > > > >

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Alistair Francis
On Wed, 2019-11-06 at 12:54 -0800, Khem Raj wrote: > On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis > wrote: > > Signed-off-by: Alistair Francis > > --- > > meta/conf/machine/include/riscv/arch-riscv.inc | 3 ++- > > meta/conf/machine/include/riscv/tune-riscv.inc | 17 > > +++-- >

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-06 Thread Khem Raj
On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > meta/conf/machine/include/riscv/arch-riscv.inc | 3 ++- > meta/conf/machine/include/riscv/tune-riscv.inc | 17 +++-- > 2 files changed, 17 insertions(+), 3 deletions(-) > > diff