|
|
|
|
|
by userbinator
4334 days ago
|
|
I wouldn't classify it as intentional nor a "bug"; probably it's more of an oversight, as it's mentioned in the article that AMD's CPUs don't have this issue. Intel should definitely be made aware of this. We can only speculate, but it's likely that Intel has the same handling for a lot two-operand instructions. Common instructions like add, sub take two operands both of which are inputs. So Intel probably shoved popcnt into the same category to keep the processor design simple. On the other hand, MOV doesn't read both operands either. |
|
It would be interesting to see if the Intel C Compiler knows about this false dependency.