Re: FCP-100: armv7 plan

2017-09-11 Thread Stephen Kiernan
(replying to all this time) There are ARMv7 systems that do not have hardware floating point. This is identified by being able to enable CP10 and/or CP11 in the ACR. If one tries to enable them and, upon reading the ACR back, the values get reset, then the hardware is not there. I know this beca

Re: FCP-100: armv7 plan

2017-09-09 Thread John Baldwin
On 9/9/17 3:25 PM, Jan Beich wrote: > Warner Losh writes: > >> On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich wrote: >> >>> Warner Losh writes: >> The goal, if it doesn't work already, is for NEON to work if used, >> but not be required, just like all the other optional features of a CPU. > > FreeB

Getauxval - was Re: FCP-100: armv7 plan

2017-09-09 Thread Russell Haley
comments.  Rus Sent from my BlackBerry 10 smartphone on the Virgin Mobile network.   Original Message   From: Konstantin Belousov Sent: Saturday, September 9, 2017 2:46 PM To: Ian Lepore Cc: freebsd-...@freebsd.org; freebsd-toolchain@FreeBSD.org; Jan Beich; Jan Beich Subject: Re: FCP-100: armv7

Re: FCP-100: armv7 plan

2017-09-09 Thread Konstantin Belousov
On Sat, Sep 09, 2017 at 02:34:10PM -0600, Ian Lepore wrote: > Adding the AT_HWCAP stuff would be relatively easy.  I'm not as sure > what to do about getauxval().  To be maximally linux-compatible (which > would be good for ports) we'd put getauxval() in libc and make it work > just like the linux

Re: FCP-100: armv7 plan

2017-09-09 Thread Warner Losh
On Sat, Sep 9, 2017 at 2:34 PM, Ian Lepore wrote: > On Sat, 2017-09-09 at 21:25 +0200, Jan Beich wrote: > > Warner Losh writes: > > > > > > > > On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich > > > wrote: > > > > > > > > > > > Warner Losh writes: > > > > > > > > > > > > > > Greetings, > > > > > > >

Re: FCP-100: armv7 plan

2017-09-09 Thread Ian Lepore
On Sat, 2017-09-09 at 21:25 +0200, Jan Beich wrote: > Warner Losh writes: > > > > > On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich > > wrote: > > > > > > > > Warner Losh writes: > > > > > > > > > > > Greetings, > > > > > > > > This will serve as 'Last Call' for any objections to the plan > > >

Re: FCP-100: armv7 plan

2017-09-09 Thread Russell Haley
Losh Sent: Saturday, September 9, 2017 12:37 PM To: Jan Beich Cc: freebsd-...@freebsd.org; freebsd-toolchain@FreeBSD.org; Jan Beich Subject: Re: FCP-100: armv7 plan On Sat, Sep 9, 2017 at 1:25 PM, Jan Beich wrote: > Warner Losh writes: > > > On Sat, Sep 9, 2017 at 1:05 PM, Jan

Re: FCP-100: armv7 plan

2017-09-09 Thread Warner Losh
On Sat, Sep 9, 2017 at 1:25 PM, Jan Beich wrote: > Warner Losh writes: > > > On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich wrote: > > > >> Warner Losh writes: > >> > >> > Greetings, > >> > > >> > This will serve as 'Last Call' for any objections to the plan to > create > >> an > >> > armv7 MACHINE

Re: FCP-100: armv7 plan

2017-09-09 Thread Jan Beich
Warner Losh writes: > On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich wrote: > >> Warner Losh writes: >> >> > Greetings, >> > >> > This will serve as 'Last Call' for any objections to the plan to create >> an >> > armv7 MACHINE_ARCH in FreeBSD, as documented in FCP-0100. >> [...] >> >> Some ports wan

Re: FCP-100: armv7 plan

2017-09-09 Thread Warner Losh
On Sat, Sep 9, 2017 at 1:05 PM, Jan Beich wrote: > Warner Losh writes: > > > Greetings, > > > > This will serve as 'Last Call' for any objections to the plan to create > an > > armv7 MACHINE_ARCH in FreeBSD, as documented in FCP-0100. > [...] > > Some ports want NEON support but FCP-0100 is vagu

Re: FCP-100: armv7 plan

2017-09-09 Thread Jan Beich
Warner Losh writes: > Greetings, > > This will serve as 'Last Call' for any objections to the plan to create an > armv7 MACHINE_ARCH in FreeBSD, as documented in FCP-0100. [...] Some ports want NEON support but FCP-0100 is vague about FreeBSD-specific differences between armv6 and armv7. Clang a