I don't think the second table ("How to Determine Which CPU Optimized Package Set to Select") is correct.
I have a i5 4670K Intel processor that the first table correctly identifies it as "ck-haswell" (ie Intel 4th Generation Core i3/i5/i7-family specific optimizations). However, running the gcc command reports "corei7-avx" which the second table states is appropriate for use with "ck-sandybridge". If the table is correct then why doesn't the gcc command result in "core-avx2"?
I have i3 3217U Intel process, that is Ivy Bridge, yet gcc command detect it as sandy bridge.