1 |
On Sat, Apr 22, 2017 at 5:24 PM, Jorge Almeida <jjalmeida@×××××.com> wrote: |
2 |
> |
3 |
> I have a new computer, assembled piece by piece, and the cpu is |
4 |
> supposed to be an intel i5-7600 LGA1151. The original box says "7th |
5 |
> generation". |
6 |
> |
7 |
> However: |
8 |
> |
9 |
> $ gcc -### -E - -march=native 2>&1 | sed -r '/cc1/!d;s/(")|(^.* - )//g' |
10 |
> -march=broadwell -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 |
11 |
> -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul -mpopcnt |
12 |
> -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm -mavx |
13 |
> -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c -mfsgsbase |
14 |
> -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mno-avx512f |
15 |
> -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param |
16 |
> l1-cache-size=32 --param l1-cache-line-size=64 --param |
17 |
> l2-cache-size=6144 -mtune=generic -fstack-protector-strong |
18 |
> |
19 |
> |
20 |
> ?! |
21 |
> |
22 |
> |
23 |
> $ cat /proc/cpuinfo |
24 |
> processor : 0 |
25 |
> vendor_id : GenuineIntel |
26 |
> cpu family : 6 |
27 |
> model : 158 |
28 |
> model name : Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz |
29 |
> stepping : 9 |
30 |
> microcode : 0x42 |
31 |
> cpu MHz : 900.207 |
32 |
> cache size : 6144 KB |
33 |
> physical id : 0 |
34 |
> siblings : 4 |
35 |
> core id : 0 |
36 |
> cpu cores : 4 |
37 |
> apicid : 0 |
38 |
> initial apicid : 0 |
39 |
> fpu : yes |
40 |
> fpu_exception : yes |
41 |
> cpuid level : 22 |
42 |
> wp : yes |
43 |
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge |
44 |
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe |
45 |
> syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts |
46 |
> rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni |
47 |
> pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 |
48 |
> xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer |
49 |
> aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt |
50 |
> tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle |
51 |
> avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt |
52 |
> xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify |
53 |
> hwp_act_window hwp_epp |
54 |
> bugs : |
55 |
> bogomips : 7008.00 |
56 |
> clflush size : 64 |
57 |
> cache_alignment : 64 |
58 |
> address sizes : 39 bits physical, 48 bits virtual |
59 |
> power management: |
60 |
> |
61 |
> |
62 |
> |
63 |
> $ lshw |
64 |
> |
65 |
> (...) |
66 |
> *-cpu |
67 |
> description: CPU |
68 |
> product: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz |
69 |
> vendor: Intel Corp. |
70 |
> physical id: 52 |
71 |
> bus info: cpu@0 |
72 |
> version: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz |
73 |
> serial: To Be Filled By O.E.M. |
74 |
> slot: LGA1151 |
75 |
> size: 3792MHz |
76 |
> capacity: 4005MHz |
77 |
> width: 64 bits |
78 |
> clock: 100MHz |
79 |
> capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr |
80 |
> pae mce cx8 apic sep mtrr pge mca cm |
81 |
> ov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall |
82 |
> nx pdpe1gb rdtscp constant_tsc art arc |
83 |
> h_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf |
84 |
> tsc_known_freq pni pclmulqdq dtes64 monit |
85 |
> or ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 |
86 |
> sse4_2 x2apic movbe popcnt tsc_deadline |
87 |
> _timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt |
88 |
> tpr_shadow vnmi flexpriority ept vpid f |
89 |
> sgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed |
90 |
> adx smap clflushopt xsaveopt xsavec |
91 |
> xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window |
92 |
> hwp_epp cpufreq |
93 |
> configuration: cores=4 enabledcores=4 threads=4 |
94 |
> |
95 |
> |
96 |
> (...) |
97 |
> |
98 |
> Was I ripped off? |
99 |
> |
100 |
> Can someone with the same cpu check the output of the above commands? |
101 |
> |
102 |
> Thanks... |
103 |
> |
104 |
> |
105 |
> Jorge Almeida |
106 |
> |
107 |
|
108 |
While I don't have anything that new handy, the 6MB cache checks out |
109 |
against intel's specs for the i5-7600. The broadwell i5-5675 lists off at a |
110 |
4MB cache (not including the eDRAM). GCC seems to like going with a |
111 |
slightly more tried & true feature set when faced with a fancy, new, chip, |
112 |
in my experience. Especially if the version of GCC in use isn't the |
113 |
absolute bleeding edge latest and greatest. |
114 |
|
115 |
-- |
116 |
Poison [BLX] |
117 |
Joshua M. Murphy |