3 ms·
Its a dumb name change, but this is a dumb name change that should have happened a while ago. While ARM has ARMv6, v7, v8... Intel has been using specific name
by dragontamer 6y ago
Its a dumb name change, but this is a dumb name change that should have happened a while ago.
While ARM has ARMv6, v7, v8... Intel has been using specific names: Nehelem, Haswell, and Skylake (not to be confused with Skylake-X).
A numerical naming scheme, of v1 (Core2), v2 (Nehelem), v3 (Haswell), and v4 (Skylake-X) will be easier to remember moving forward.
- The_rationalist 6y agoIt's not a dumb name change, targeting skylale could generate illegal instructions on modern AMD cpus e.g they lacking TSX or SGX. This is about defining the common intersection of both vendors by generation
- my123 6y agoAnd assuming those are present for a given gen is even dumber sadly. There are Comet Lake CPUs with no AVX at all: all Pentiums/Celerons. Every 10th generation Intel CPU onwards, at least on the client side, doesn't support TSX.
- jcranmer 6y ago> they lacking TSX or SGX. Note that the SGX instructions are system only, so the compiler isn't generating them usually. The hardware lock elision instructions in TSX are specifically chosen so that they act as NOPs on processors that don't support TSX.
- my123 6y agoHardware lock elision was disabled via a microcode update. (see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c2955f270a84762343000f103e0640d29c7a96f3 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...)
- throwaway2048 6y agoNot to mention TSX instructions have been broken in one way or another since their introduction, and now have been removed entirely in new intel silicon.
- kevincox 6y agoI think it would have been even easier to understand if they used the launch year of the architecture. Of course you may need a finer number (include the month or just a count if there are multiple launches in a year?) but I think it is worth it to get a rough idea of how old something is without finding a lookup table.
- dragontamer 6y agoThe details of chip releases is more complicated than just a numerical year. FMA4 extensions on Bulldozer are no longer supported, so a 2012-era CPU supports FMA4, but 2018-era Zen processors do NOT support FMA4. Xeon Phi supported a whole slew of AVX512 stuff that no other chip will ever support. Intel experimented with some instructions, and decided against them moving forward. The point of a "vague" number, like "v3" is just to provide a general idea. Its purposefully vague, because the details are simply too messy to keep track of.
- kevincox 6y agoI never suggested that year should be precise. I just think it is useful to use year as a vague number instead of something completely arbitrary. I think the only real downside is if people assume too much from that number. > FMA4 extensions on Bulldozer are no longer supported, so a 2012-era CPU supports FMA4, but 2018-era Zen processors do NOT support FMA4. I don't see how this is relevant. Isn't this the same problem that v4 supports something that v9 doesn't?