Gentoo Archives: gentoo-dev

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 1/2] profiles/desc: descriptions for CPU_FLAGS_PPC use_expand
Date: Sat, 31 Aug 2019 07:44:20
Message-Id: 7ed9ac56-f3f9-0c3c-4cf7-5559dcc7668e@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 1/2] profiles/desc: descriptions for CPU_FLAGS_PPC use_expand by "Michał Górny"
1 On 8/30/19 11:29 PM, Michał Górny wrote:
2 > On Sat, 2019-08-31 at 00:19 -0700, Georgy Yakovlev wrote:
3 >> On 8/30/19 11:11 PM, Michał Górny wrote:
4 >>> On Sat, 2019-08-31 at 00:03 -0700, Georgy Yakovlev wrote:
5 >> <snip>
6 >>>> +altivec - Use the AltiVec instruction set
7 >>>> +vsx - Use the Vector Scalar Extension instruction set (POWER7 and later)
8 >>>> +vsx3 - Use the Vector Scalar Extension v.3 instruction set (POWER9 and later)
9 >>>
10 >>> Do all those flags have real use cases in ::gentoo? I'd really prefer
11 >>> not having more 'unused flag' warnings ;-).
12 >>>
13 >>
14 >> yeah, I have mentioned possible users above and there are plenty I
15 >> haven't identified yet. patches to ebuilds will follow, I promise =)
16 >>
17 >> for example x264 if built with proper flags gives a noticeable boost,
18 >> (at least 2x at encoding), totally worth it.
19 >>
20 >> ppc will not have a lot of flags like on arm or x86, maybe a couple
21 >> more, but that's it for now.
22 >>
23 >
24 > Just to be clear: we're not talking about -m compiler flags, are we?
25 > 'cause those should be handled via CFLAGS.
26 >
27
28 of course not just compiler flags, that's clear.
29
30 for example libpng has --enable-powerpc-vsx ./configure flag, and build
31 system will do it's black magic with intrinsics if it's passed.

Attachments

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