<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/137484>137484</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang] __MMX__ defined on non-SSE2 x86 targets
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    Since https://github.com/llvm/llvm-project/pull/96540 MMX intrinsics require SSE2, but `__MMX__` is still defined on targets that technically support MMX but not SSE2, like `pentium3`, causing compilation issues with e.g. SDL2 for those targets.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUkbGSmzAQQL9GNDvHwCLALlQkcajiys11HiEEbCJLRFpdcn-fwXdO0l6lGc3o7eo9nRIt3lol2s-iPRU68xqi4jXSbQyxGMP0qi7kjYWVeUui-SRwEDgsxGseSxNuAgfnXh7H0xbDd2tY4LBl5wQOx66VFZzPz0CeI_lEJkG0PzNFC5fLVxT4BcbMILrqej2fn69X0VVACRKTczDZmbydIHhgHRfLCXjVDGzN6slo514h5W0Lke9TdpQP_Bft6Ifd2Zv1TPnWiK7ar43OifwCJtw2cpopeKCUsk3wi3gFWy4lXE7fEOYQgdeQ7GN-WUyqmY7NURdW1b1s-_pwQCxWNdZd1TWNrPU0WpxN382yr2p5HE3dNzgVpLDCtpLYV3XbSCzt3HS9nmuNx7qfZitkZW-aXLnLLENcivtSqm56eZCF06N16V4L0TjtF4G4h4vqbn_MSxKycpQ4_UMwsbsnfnvRnuBd9P9yffBPuzP4fegePy1ydOrD4d80Chzel35R-CcAAP__XSfHnA">