summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2008-10-29gallium: grow SPE instruction buffer as neededBrian Paul
2008-10-29gallium: no longer pass max_inst to ppc_init_func()Brian Paul
2008-10-29gallium: use execmem for PPC code, grow instruction buffer as neededBrian Paul
2008-10-29gallium: fix alignment parameter passed to u_mmAllocMem()Brian Paul
Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called.
2008-10-29gallium: prefix memory manager functions with u_ to differentiate from ↵Brian Paul
functions in mesa/main/mm.c
2008-10-29gallium: test for PIPE_OS_LINUX instead of __linux__Brian Paul
2008-10-29gallium: added PPC support for SWZ, XPD, POWBrian Paul
That's the last of the ARB_v_p opcodes, except for ARL.
2008-10-29gallium: clean-upsBrian Paul
2008-10-29gallium: added ppc_vnmsubfp()Brian Paul
2008-10-28gallium: ppc: implement TGSI_OPCODE_LOG/EXPBrian Paul
2008-10-28gallium: remove old codeBrian Paul
2008-10-28gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵Brian Paul
as with constants
2008-10-28gallium: use some PPC vec registers to store TGSI tempsBrian Paul
This could be a lot better, but already makes for better code.
2008-10-27gallium: ppc: emit fewer 'li' instructions prior to vector loads/storesBrian Paul
2008-10-27gallium: ppc: use a src register cache to avoid redundant loadsBrian Paul
2008-10-23scons: ppc support.Michel Dänzer
2008-10-22gallium: PPC: clamp y to [-128,128] for LITBrian Paul
2008-10-22gallium: remove ppc_vload_float(), rename ppc_vecmove() -> ppc_vmove().Brian Paul
2008-10-22gallium: new PPC built-in constants arrayBrian Paul
It's hard to form PPC vector immediates so load them from an array.
2008-10-22gallium: added ppc_vzero()Brian Paul
2008-10-22gallium: GALLIUM_NOPPC debug var to disable PPC codegenBrian Paul
2008-10-22gallium: PPC LIT instruction (not quite complete yet)Brian Paul
2008-10-22gallium: var renaming in tgsi_ppc.cBrian Paul
2008-10-22gallium: remove SSE remnants from tgsi_ppc.cBrian Paul
2008-10-22cell: turn on PPC assembly vertex transformBrian Paul
gears runs with it now (3x faster FPS than before).
2008-10-22cell: TGSI->PPC for RSQ, RCP and src register sign modesBrian Paul
2008-10-22gallium: TGSI->PPC inequality operatorsBrian Paul
2008-10-22gallium: added ppc_vload_float(), for limited casesBrian Paul
2008-10-22gallium: fix broken TGSI_FILE_CONSTANT case, use ppc_reserver_register()Brian Paul
2008-10-22gallium: fix-up confusing register allocation masks in rtasm_ppc.cBrian Paul
Plus, add ppc_reserve_register() func.
2008-10-22gallium: temporarily disable PPC vertex shader until more things runBrian Paul
2008-10-22gallium: PPC vertex shader supportBrian Paul
Works, but dead code lingering, debug code present, etc.
2008-10-22gallium: TGSI to PPC code generationBrian Paul
Based on the TGSIto SSE2 code generator. Incomplete and lots of SSE stuff still hanging around but the basic dozen or so TGSI opcodes are functioning.
2008-10-22gallium: added ppc_lvewx()Brian Paul
2008-10-22cell: implement many more PPC instructions for code genBrian Paul
2008-10-15gallium: fix the test in vs_exec_prepare() to avoid redundant bindingsBrian Paul
Fixes regressions seen in progs/samples/prim.c, progs/demos/ray.c
2008-10-15draw: don't assume output buffer pointer is alignedKeith Whitwell
(cherry picked from commit 23cc303994eb630c56b1224dfdac51dcea41ed03)
2008-10-10cell: add emit_RI10s() which does range checking on the 10-bit signed ↵Brian Paul
immediate field This type of checking should be expanded to cover more instructions...
2008-10-10cell: additional 'offset' checking in spe_lqd(), spe_stqd()Brian Paul
2008-10-10cell: fix assertions in spe_lqd(), spe_stqd()Brian Paul
2008-10-10CELL: fixing stencil bugsRobert Ellison
These are the defects found and fixed so far. Several more have been observed; I'm working on them. - Fixed an error in spe_load_uint() that caused incorrect values to be loaded if the given unsigned value had the low 18 bits as 0, and that caused inefficient code to be emitted if the given value had the high 14 bits as 0. - Fixed a problem in stencil code generation where optional registers weren't tracked correctly. - Fixed a problem that the stencil function NEVER was acting as ALWAYS. - Fixed several problems that could occur if stenciling were enabled but depth was disabled. - Fixed a problem with two-sided stencil writemask handling that could cause a stencil writemask to not be applied. - Fixed several state permutations that were incorrectly flagged as not requiring stencil values to be calculated.
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
2008-10-09cell: fix incorrect bitmask in spe_load_uint()Brian Paul
2008-10-10gallium: silence warningAlan Hourihane
2008-10-09Gallivm: cleanup soa storage.Stephane Marchesin
2008-10-08cell: implement function calls from shader code. fslight demo runs now.Brian Paul
Used for SIN, COS, EXP2, LOG2, POW instructions. TEX next. Fixed some bugs in MIN, MAX, DP3, DP4, DPH instructions. In rtasm code: Special-case spe_lqd(), spe_stqd() functions so they take byte offsets but low-order 4 bits are shifted out. This makes things consistant with SPU assembly language conventions. Added spe_get_registers_used() function.
2008-10-08gallium: asst. clean-upsBrian Paul
Don't use register qualifier. Doxygen-ize comments. Remove 'extern'.
2008-10-08gallium: better instruction printing for SPE codeBrian Paul
2008-10-07Gallivm: reorder the functions alphabetically so I can work on it.Stephane Marchesin
2008-10-07gallium: added general-purpose key->data map/lookup containerBrian Paul