Dr-Noob / cpufetch

Simple yet fancy CPU architecture fetching tool
GNU General Public License v2.0
1.83k stars 100 forks source link

Why do we set UARCH and uarch string separately? #195

Open Dr-Noob opened 9 months ago

Dr-Noob commented 9 months ago

In CHECK_UARCH, e.g.:

CHECK_UARCH(arch, 0,  6, 11, 14, NA, "Alder Lake", UARCH_ALDER_LAKE, 10)

we set UARCH_ALDER_LAKE and also "Alder Lake" which seems unnecesary redundant and should be eliminated