<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVE1vnDAQ_TVwGS0Cs-zHgQPdbaWV2qhqPhT1Uhl7AFdeG9kmm_z7jiFpNrdKtdAw5pnhzXs2rZUvdTNabXuFHlQHYVAeBu6hRTTApXToPUrg2iGXL1mSH5O8WeLJQMK-NOOoleBBWeNp-iisxIyPI-UHawKaEB8f8Qm1HdFRfmetFgNX7-uP2PFJh-xZhDeMoMnH1Vq1FIXmpqd7UWZ5llOijNCTxAiNk5LZsHD6iryDbcIO4KdWx0kRJw575QM6-Nw8vrbASomdMgitCr-ah8eHm5sTLCN_zpex-9BuAD_YSUvS5t9rFPl1jUYI66QyPQT7JmJADZs1cCPh1KxKBo0TgwoowkTiw63twoU7hCsJtx6-cTNxvdR4sHo6IzCyY8ea2C_7NMdDjAnbADsmbJ-UDZyMD24S0S24xfADO3RoBMaFzernUq9kVbkrV_l2c38bgSMKPLekHstZsSwZQhg9FST96bpcLpmKjWTCnqMli_ELMjtJAaOn8mofcBeU0Bgx6nYwtIv07CwVWnl5zoZw1tfq3Q1EFqIWNlAaVadNa2D2eUt7l_-1aHS25a1-Ia9g8UhCZx0YvNCLh-_3PktlXcp9uecpn8JgXX0RA7lWpJPT9cf-ehWGqX1tTuunt9uKPvObjIqsvZ_mVqqy3LN0qLei2lWipSFyKdfVpiKEF-W2EuWGrXmqeYva10lFXjHiBXMJypPqmP4_A1WTWywv2JqxdVlV2U6Inez2yHkheVlUyTrHM1c6i3Uy6_rU1XPJduo9gZpOjH8HufeqN4gzYWIYVNBYvx6--ZdBR9I6R2TgiesJZ72vDkY6E6xndn8AczZpRQ>53392</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            cpuid.h has incorrect value for bit_AVXVNNI
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          wch0x01
      </td>
    </tr>
</table>

<pre>
    Apologies if this has been addressed already.

In /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/cpuid.h
Leaf 7, subleaf 1, register EAX
#define bit_AVXVNNI       0x00000008

It should be
#define bit_AVXVNNI       0x00000010

According to
Intel 64 and IA-32 Architectures Software Developer's Manual
Volume 2 (2A, 2B, 2C, & 2D): Instruction SetReference, A-Z
325383-076US, December 2021
https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html

There are other bits in leaf 7 that should probably be defined for newer CPUs.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU01v2zAM_TXOhYhhy3GTHHzwkg0IsBXD2hXFLoMs0bYGRTL00bT_fpTdrulthkFRJvVEvkd3Vr407WS1HRR6UD2EUXkYuYcO0QCX0qH3KIFrh1y-5FlxzIp2sScDGfvSTpNWggdljafto7AScz5N5B-sCWhC-nzEJ9R2Qkf-vbVajFy95x-x51GH_FmEtxiFok_ZWnVkheZmoLWs8iIvyFFG6CgxhaaoZD4uNX1F3sM2YwfwsdNpU6aNw0H5gA4-t4-vLbBKYq8MQqfC7_bh8eH29gTLUzwXy7P70G4AP9qoJXHz_xhlcY3RCmGdVGaAYN9IDKjhZgPcSDi164pB68SoAooQiXy4s324cIdwReHWwzduItcLxoPV8YzASI4da1O_7NNsD8lm7AbYMWP7rGrhZHxwUSS14A7DD-zRoRGYEtv1rwWvYnW1q9bF9ubnXQocUeC5I_ZYwcolZQxh8gRI_NN7uVxylRrJhT0nSRbhl8isJBlMmsqrOeAuKKExxajb0dAU6VlZAlp7ec7HcNbX7N2PVCwkLmwgN7FOQ2tg1nlLs8v_STQ52_FOv5BWsGgkobcODF7o4OH7T5-vZFPJfbXnq6CCxuZ1jubpp-myzpEE8MR1xPnolcar6HTzkYJBhTF2r_1r_fS2rKmSPwSUGvM-zt3WVbVnq7EpS6yZ5PvNRm56KW96jlhhIYp-2_EK2UrzDrVvsprkZFQ6zBDkZ_VxpRqSgxUl2zC2qeo63wmxk_0eOS8lr8o62xR45krnqY7cumHlmrmkLg6egpp-Cf8e5N6rwSDO1xE-j2G0rrmIkWa5XM1XN3PpfwGi8FTB">