[RFC] Add and armv7hf TARGET_ARCH
Andrew Turner
andrew at fubar.geek.nz
Tue Oct 7 09:44:54 UTC 2014
On Mon, 6 Oct 2014 19:05:21 -0600
Warner Losh <imp at bsdimp.com> wrote:
> On Oct 6, 2014, at 3:52 PM, Andreas Tobler <andreast-list at fgznet.ch>
> wrote:
> > I think something like this part would also be needed, no?
> >
> > Thanks,
> > Andreas
> >
> > Index: sys/arm/include/param.h
> > ===================================================================
> > --- sys/arm/include/param.h (revision 272668)
> > +++ sys/arm/include/param.h (working copy)
> > @@ -53,9 +53,13 @@
> >
> > #define __PCI_REROUTE_INTERRUPT
> >
> > -#if __ARM_ARCH >= 6
> > +#if __ARM_ARCH >= 7
> > +#define _V6_SUFFIX "v7"
> > +#endif
>
> Does the fact that arm64 is armv8 matter?
Not really, armv8 is able to execute in both AArch64 (arm64) and
AArch32 (armv6, armv7hf) modes. I would expect arm64 to report it being
and armv7hf when executing a 32-bit application.
Andrew
More information about the freebsd-arm
mailing list