aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: Fix x86 build with llvm-3.0svn.Vinson Lee2011-06-231-0/+4
| | | | LLVM revision 133739 renamed StackAlignment to StackAlignmentOverride.
* gallivm: Fix for dynamically linked LLVM 2.8 library.José Fonseca2011-05-201-2/+12
| | | | | | | | | This prevents the error prog: for the -disable-mmx option: may only occur zero or one times! when creating a new context after XCloseDisplay with DRI drivers linked with a shared LLVM 2.8 library.
* gallivm: Tell LLVM to not assume a 16-byte aligned stack on x86.José Fonseca2011-05-181-0/+13
| | | | Fixes fdo 36738.
* gallivm: Use LLVM MC disassembler, instead of udis86.José Fonseca2011-03-131-60/+0
| | | | | Included in LLVM 2.7+. Unlink udis86, should support all instructions that LLVM can emit.
* gallivm: Disable MMX-disabling code on llvm-2.9.Vinson Lee2010-12-221-0/+2
| | | | | | | The disable-mmx option was removed in llvm-2.9svn by revisions 122188 and 122189. Fixes FDO bug 32564.
* gallivm: added lp_build_load_volatile()Brian Paul2010-10-151-0/+10
| | | | | There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
* gallivm: Disable LLVM's pretty stack trace dumper.José Fonseca2010-08-301-0/+8
| | | | | | | | By default LLVM adds a signal handler to output a pretty stack trace. This signal handler is never removed, causing problems when unloading the shared object where the gallium driver resides. Thanks to Chris Li for finding this.
* gallivm: Fix and re-enable MMX-disabling codenobled2010-08-171-5/+1
| | | | Signed-off-by: José Fonseca <[email protected]>
* llvmpipe: delete function bodies after generating machine codeZack Rusin2010-07-301-0/+8
|
* llvmpipe: Avoid corrupting the FPU stack with MMX instructions on 32bit OSes.José Fonseca2010-07-291-0/+24
| | | | | | | Unfortunately LLVM doesn't emit EMMS itself, and there is no easy/effective way to disable MMX. http://llvm.org/bugs/show_bug.cgi?id=3287
* gallivm: Omit references to NoFramePointerElimNonLeafJosé Fonseca2010-06-141-3/+0
| | | | It was added after 2.7.
* gallivm: Override some of the default target options.José Fonseca2010-06-141-0/+26
| | | | | | | In particular: - enable LLVM <-> GDB integration for JIT code - disable frame-pointer elimination on debug/profile builds - enable fast-math.
* gallivm: Register the JIT engine with oprofile on debug/profile builds.José Fonseca2010-06-031-1/+22
|
* gallivm: Ensure PIPE_OS_xxx are defined.José Fonseca2010-05-121-0/+1
|
* gallivm: Temporarily disable custom LLVMDumpValue on MSVC.José Fonseca2010-05-101-2/+3
| | | | | | | Seeing very weird crashes during std::cout initialization. The fault probably lies in the way I build LLVM on MSVC, but disable for now to allow more time to investigate.
* gallivm: Add an alternative to LLVMDumpValue that works with Windows GUI apps.José Fonseca2010-05-081-0/+98
|
* gallivm: Rename lp_bld_misc -> lp_bld_init.José Fonseca2010-03-031-75/+0
|
* llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-081-0/+75
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.