Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: New global USE flag "neon" for ARM NEON optimization(s)
Date: Wed, 18 Jan 2012 11:37:49
Message-Id: 201201180637.13151.vapier@gentoo.org
In Reply to: [gentoo-dev] Re: New global USE flag "neon" for ARM NEON optimization(s) by Duncan <1i5t5.duncan@cox.net>
1 On Friday 23 December 2011 11:44:32 Duncan wrote:
2 > Matt Turner posted on Fri, 23 Dec 2011 08:09:30 -0500 as excerpted:
3 > > to avoid confusion I'd suggest arch-neon or arm-neon (or armneon/
4 > >> archneon) if it's to be a global flag.
5 > >
6 > > NEON (the SIMD extensions) are turned on by the neon flag much more
7 > > often than support for net-libs/neon is. Let's not rename USE flags like
8 > > this.
9 >
10 > I'd argue that the library is far more frequently used, given that it's
11 > used across archs and arm is (for the time being, that seems to be
12 > gradually changing) still a rather obscure arch (for end-user installed
13 > distros, anyway), so the neon library is likely the most frequently used.
14 >
15 > However you are probably correct about the USE flag, as the library usage
16 > seems to be required in many cases and thus not USE-flaggable.
17 >
18 > So I'd still argue that to prevent confusion... but it's not something I
19 > feel strongly about, so given no one else objecting, use=neon for the simd
20 > extensions works as a global USE flag, and if it's ever used for the net-
21 > lib, that one can change I guess.
22
23 if we're going to arch namespace flags, we should do it for all of them. i
24 probably wouldn't complain about that (although i'd prefer more of an ISA
25 prefix than Gentoo $ARCH), but doing it for one flag is not nice.
26
27 i agree that for some users, they've never heard of the the ARM NEON
28 extensions, but they have heard of the neon library. i'd counter that with a
29 few points: (1) i don't think there are any packages in the tree that have
30 optional neon (the library) support (2) people are good at reading `quse -D
31 neon` (3) the flag is masked everywhere except for ARM ports, so people can't
32 really bite themselves.
33 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies