mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallivm: Disable MMX-disabling code on llvm-2.9.
The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
This commit is contained in:
parent
adaa310e39
commit
492afbce18
1 changed files with 2 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ lp_set_target_options(void)
|
|||
llvm::UnsafeFPMath = true;
|
||||
#endif
|
||||
|
||||
#if HAVE_LLVM < 0x0209
|
||||
/*
|
||||
* LLVM will generate MMX instructions for vectors <= 64 bits, leading to
|
||||
* innefficient code, and in 32bit systems, to the corruption of the FPU
|
||||
|
|
@ -162,6 +163,7 @@ lp_set_target_options(void)
|
|||
llvm::cl::ParseCommandLineOptions(2, const_cast<char**>(options));
|
||||
first = FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* By default LLVM adds a signal handler to output a pretty stack trace.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue