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. |