3 ms·
The 64-bit ARM ISA has allowed since the beginning the use of the high byte as a pointer tag. Now Intel and AMD are catching up with this feature. Unfortunatel
by adrian_b 5y ago
The 64-bit ARM ISA has allowed since the beginning the use of the high byte as a pointer tag.
Now Intel and AMD are catching up with this feature. Unfortunately they went separate ways.
This is a trivial feature, which does not have any potential for competitive differentiation.
However, for the users, it is very important for it to be standardized, to behave identically on all systems. It would have been much better if Intel and AMD had discussed this and they had decided on a common specification.
AMD is guiltier about this, because since the beginning of Zen they had only very seldom provided any information in advance about what features will be present in their next generation.
While there are many other policies that are very bad at Intel, at least they have remained the CPU company providing the best documentation for their products and they have always announced any ISA changes with at least one year, if not a few years, in advance. Therefore everybody has known about the proposed Intel Linear Address Masking, while nobody has known how AMD will do it.
The correction to the AMD address masking method is absolutely trivial, just disable the masking gate for the highest address bit, reducing the usable pointer tag from 7 bits to 6 bits, but maintaining compatibility with the existing operating systems.
This small change can be made in 5 minutes by the AMD CPU design team and it does not require any change in the existing mask layout.
At least one year has passed since Intel published their better version. Supposing that AMD has implemented their masking version in Zen 4, but they have kept this secret, I am pretty certain that 1 year ago AMD did not have their final mask set for Zen 4 and there have been some revisions since then. So there have certainly been opportunities when this could have been corrected without absolutely any cost for AMD.
It appears that nobody at AMD has realized that breaking software compatibility with their address masking variant is not good.