[Mesa-dev] [PATCH] gallivm: Fix and re-enable MMX-disabling code

nobled nobled at dreamwidth.org
Mon Aug 16 10:30:57 PDT 2010


I think this might be the problem that kept -disable-mmx from working;
can somebody test it? (attached)
====
@@ -152,15 +151,13 @@ lp_set_target_options(void)
     * See also:
     * - http://llvm.org/bugs/show_bug.cgi?id=3287
     * - http://l4.me.uk/post/2009/06/07/llvm-wrinkle-3-configuration-what-configuration/
-    *
-    * XXX: Unfortunately this is not working.
     */
-   static boolean first = FALSE;
+   static boolean first = TRUE;
    if (first) {
       static const char* options[] = {
          "prog",
          "-disable-mmx"
       };
       llvm::cl::ParseCommandLineOptions(2, const_cast<char**>(options));
       first = FALSE;
    }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001b-gallivm-Fix-and-enable-MMX-disabling-code.patch
Type: text/x-patch
Size: 1413 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100816/211dc79e/attachment-0001.bin>


More information about the mesa-dev mailing list