<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/82908>82908</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM MCA claims Skylake can issue 6 instructions per clock
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
SeeSpring
</td>
</tr>
</table>
<pre>
```
.att_syntax
.loop:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
incq %rax
cmpq $999, %rax
jne .loop
```
[Godbolt](https://godbolt.org/#z:OYLghAFBqd5QCxAYwPYBMCmBRdBLAF1QCcAaPECAMzwBtMA7AQwFtMQByARg9KtQYEAysib0QXACx8BBAKoBnTAAUAHpwAMvAFYTStJg1CGxATwV4FpJfWQE8Ayo3QBhVLQCuLBnucAZPAZMADkvACNMYj0AB1QLewE3T28YuMIHBgCg0JYIqK5rTFsEhiECJmICJK8fAptMOwyyioIskPDIvQVyyuqUup7WwPbczq4ASmtUD2Jkdg4AOiYCAgB9BVNBJlUAUg0AQQXaVFRokD39vYBOBlOL69vo%2B40bu4OHt8uXx%2BfXp/fvp8Pv8vn9fj8AWDIRDQTDgeCgYCQddAsgAI7XHYAJgArMRtr9kCxohiXgASK6U0gAamxeIJkO0QWuRxO0Q4k1onBxvB8HC0pFQnH2zFo5ks1IU01mmFpWIAzDxSARNBzJgBrEA4jT6TiSXmqwWcXgKEA6lX8jmkOCwJBoYl0SLkSj26KOqK0WgANxYAFoWKICMQPAx1Xw6ARIqaIGFDWFAhVTJwlfHmMRTAB5MLaBoWpX2tiCDMMMWGrBhDzAFxiWim7i8LAsQzAcSW0j4Yi5vBezB1gWYVQNDyR5O8QKRrlt2h4ML49NuLCGoN4FijyZUAzABQANTwmAA7hnooxRzJBCIxOwpGf5Eo1IbdAUDEYQCYxRYrNOwqbIJNTiU639ZBog8HZ5QAEQUdVTAMdVMF4VAe2IYg8CwH8IEmepGkcCBnD6WpSH8YYcjyVJ4gyfCyPSAQ2hIsZCmKJpBkouoii7ARmkqWiOnyaxmPcGoukGbjRnyTDpTmCROW5A02yFDhqU9H0gKYakICDEN1XGNTcEIEg5UVcZeAtLRxg1LUdUnfVSFXLgNB1PkBXkk0zWVVUzN1DgsVkpzjTcy0PKQixHEkIA)
UICA predicts 4.50 cycles per iteration due to an issue bottleneck; MCA claims 3.2
According to Agner,
> The maximum throughput from the decoders is four instructions or five μops per clock cycle
Similar problem with Icelake, again from Agner
> The maximum throughput is improved to five instructions per clock cycle, where Skylake has four.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUlVuzqjoSxz8N64U6qzCCwoMPHS6KioqiyHqZQoghcglyEfDTT7lce2afXTU1z6eKAtIh3b9_N0mHdc1oQchMULCgGB9h2yS8mh0IOZQVK-jHhcfDTJhIP5dkCBJ8hk3zr3oomrD_MWScl8IY3iNB0gpe_qPfWRHdBUkTkFL90ihIWpSXb6usaZqAdPGP-VtBBEl7J-Nt-3veBAXPeXzhWSMohoDUpGnK-pU2ZAnIou-pT17Rb8P4KYxhG6xpAha-x4qr9xB0uwA7eo73MV6DNXL1CMKdqYPz7HDjwBTczmocFw-wp9qqcQMThppdJPcMeq9iDCuOCw_gCIuyA-cBVuAdmiUd6fMevO4kW-Xy6rumCgMfuzg5rV29XeOijeBrB18OGOkD9I0T3CTAI3dNOnPsITVoHXuBqU6lZWDfV0rlWbWZMFNf5ra-XKlXKBtn2w0D43ad7gz74Z6Gob0f23Lqd7tL9LzLcMibo4GWaUxl2LJAB4o1fNrgZXaEI5XAdc_hydrz1BhrjwBvcbZdT7QHF5CCsCxdWnm7aNT23H8brudSQNb1Uaq7h_ootOtNBd-w94brGZToNNDdOIaagj09LwJYUqicfVNpqd7zhJ0pHFaTo0QhzHtiL9Ot5Prtvt9KrpyOeIH7B1YXulRabrFAT4sraT2yj9Ioz63St-Fp9AfYb_Bz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