1 |
вт, 25 сент. 2018 г. в 7:07, gevisz <gevisz@×××××.com>: |
2 |
> |
3 |
> вс, 23 сент. 2018 г. в 10:10, Walter Dnes <waltdnes@××××××××.org>: |
4 |
> > |
5 |
> > On Thu, Sep 20, 2018 at 01:00:39AM +0300, gevisz wrote |
6 |
> > > ????, 19 ????????. 2018 ??. ?? 11:38, Walter Dnes <waltdnes@××××××××.org>: |
7 |
> > |
8 |
> > > > According to |
9 |
> > > > http://www.cpu-world.com/sspec/SL/SLA8Z.html it has... |
10 |
> > > > |
11 |
> > > > MMX SSE SSE2 SSE3 SSSE3 |
12 |
> > > |
13 |
> > > Do you mean that it would be enough to set |
14 |
> > > CFLAGS="-O2 -pipe mmx sse sse2 sse3 ssse3" |
15 |
> > > without setting the march cflag at all? |
16 |
> > |
17 |
> > Yes, that would work. Remember also to include in make.conf |
18 |
> > |
19 |
> > CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" |
20 |
> |
21 |
> The target processor does not support mmxext. |
22 |
|
23 |
Strange enough but cpuid2cpuflags shows that it does: |
24 |
# cpuid2cpuflags |
25 |
CPU_FLAGS_X86: mmx mmxext sse sse2 sse3 ssse3 |
26 |
|
27 |
> > In your jpeg image, I see that the flags include mmx, sse, sse2, pni, |
28 |
> > and ssse3. "pni" == "Prescott New Instructions" == "SSE3". Looking at |
29 |
> > https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/x86-Options.html#x86-Options |
30 |
> > I suggest "-march=core2" with CPU_FLAGS_X86 same as above. The "core2" |
31 |
> > option uses MMX, SSE, SSE2, SSE3 and SSSE3 instructions, all of which |
32 |
> > show up in the listing on your jpeg. |
33 |
> |
34 |
> Thank you. Looking into https://wiki.gentoo.org/wiki/Safe_CFLAGS#Intel |
35 |
> I also concluded that for the target processor I should set "-march=core2" |
36 |
> but I did not know that core2 option is exactly equivalent to setting mmx, |
37 |
> sse, sse2, sse3 and ssse3 instructions. |
38 |
> |
39 |
> So, I decided to spend a day to get my hands on the target computer |
40 |
> and compile everything on it with "-march=native" no matter how much |
41 |
> time it takes. |
42 |
> |
43 |
> To conclude this thread, I will post the output of the commands |
44 |
> suggested in this thread later, after the system install will be finished, |
45 |
> just in case somebody will need them in the future. |