<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Shader Disk Cache 32/64 bit detection has a flaw. Missed existence of x32 ABI"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100073#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Shader Disk Cache 32/64 bit detection has a flaw. Missed existence of x32 ABI"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100073">bug 100073</a>
              from <span class="vcard"><a class="email" href="mailto:bugspam@moreofthesa.me.uk" title="Darren Salt <bugspam@moreofthesa.me.uk>"> <span class="fn">Darren Salt</span></a>
</span></b>
        <pre>This code is intended to be generic; it SHOULD work for other pairs such as
armel and aarch64 (though breakage will happen should you have more than one
32-bit ARM ABI in use on one system). As such, as it's written, it should not
be testing __i386__, __x86_64__ or similar macros, but it does need to test
__ILP32__.

(Aside: x32 code is 64-bit.)

Without optimisation, yes, the testing is effectively at run-time; however, the
values are constant. So in that sense, it's a small amount of bloat and
unreachable code.

FWIW, my implementation (which uses the ABI name from the architecture triplet)
is here:
  <a href="https://patchwork.freedesktop.org/patch/141891/">https://patchwork.freedesktop.org/patch/141891/</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>