1 |
On 02/05/15 14:37, Volker Armin Hemmann wrote: |
2 |
> Am 02.05.2015 um 13:25 schrieb Nikos Chantziaras: |
3 |
>>>> |
4 |
>>>> The kernel uses -O2 and several -march variants (e.g. -march=core2). |
5 |
>>>> Several other options are used to prevent GCC from generating |
6 |
>>>> unsuitable code. |
7 |
>>>> |
8 |
>>>> Specifying another -march variant does not affect the optimizer |
9 |
>>>> though. It only affects the code generator. If you don't modify the |
10 |
>>>> other CFLAGS and only change -march, you will not get FP instructions |
11 |
>>>> unless you use FP in the code. |
12 |
>>> |
13 |
>>> http://www.agner.org/optimize/calling_conventions.pdf |
14 |
>> |
15 |
>> Not sure what you're trying to say. |
16 |
>> |
17 |
> |
18 |
> that simd is not save in kernel if not carefully guarded. |
19 |
> |
20 |
> Really people, just don't fuck around with the cflags. |
21 |
|
22 |
I still fail to see the relevance. Unless you mean using a different -O |
23 |
level. In that case, yes. You shouldn't. But I was talking about -march. |