Gentoo Archives: gentoo-dev

From: "Andreas K. Huettel" <dilfridge@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Moving CPU flags into USE_EXPAND
Date: Wed, 14 Jan 2015 20:59:53
Message-Id: 201501142159.44121.dilfridge@gentoo.org
In Reply to: [gentoo-dev] Moving CPU flags into USE_EXPAND by "Michał Górny"
1 Am Mittwoch, 14. Januar 2015, 12:58:21 schrieb Michał Górny:
2 >
3 > Solution: per-arch USE_EXPANDs for flags, e.g.:
4 >
5 > CPU_FLAGS_X86="3dnow 3dnowext avx ..."
6 > CPU_FLAGS_ARM="neon ..." # arm* flags?
7 > CPU_FLAGS_MIPS="..." # mips* flags?
8 >
9
10 I like it, because it standardizes and removes causes for confusion. So, +1.
11
12 That said, long time ago I was taught that "instruction set use-flags" should
13 be avoided as much as possible. I don't remember the source for that anymore.
14
15 Question to all, is that documented anywhere, and what are the specifics?
16 I suspect "use flags that only switch CFLAGS etc" are forbidden, "useflags
17 that enable assembler code etc" are allowed?
18
19 --
20
21 Andreas K. Huettel
22 Gentoo Linux developer
23 dilfridge@g.o
24 http://www.akhuettel.de/

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Moving CPU flags into USE_EXPAND Alexis Ballier <aballier@g.o>