summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
2008-10-07gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.
2008-10-01tgsi: Include p_config.h.José Fonseca
2008-09-30cell: Moved X86 checks to wrap #include section so that Cell targets will ↵Jonathan White
compile again.
2008-09-30tgsi: SSE2 optimized exp2, log2 and pow implementations.José Fonseca
Special care must be taken when calling compiler generated SSE2 functions from the runtime generated SSE2: saving the xmm registers, and notify gcc the stack is not 16byte aligned. It would be more efficient to keep the stack pointer 16byte aligned, but too hairy, and not consistent in all x86 architectures. This has been tested in linux x86 and windows x86 userspace. Not tested on x86-64 because it is broken for other reasons (even without this change).
2008-09-18Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/slang/slang_link.c
2008-09-18tgsi: Build tgsi_text with makeJakob Bornecrantz
2008-09-18tgsi: Make tgsi dumps look more like mesa shader dumps.Jakob Bornecrantz
2008-09-17gallium: fix tgsi sanity checker with respect to END.Brian Paul
Subroutine code may be found after the END instruction so it's not always the last instruction. At least check for presence of exactly one END instruction though.
2008-09-16gallium: fix info entries for KIL, KILPBrian Paul
KIL takes 1 src register. KILP uses no registers (uses cond codes).
2008-09-16tgsi: Make tgsi_sanity.c compile with makeJakob Bornecrantz
2008-09-12gallium: use copy_token() function to avoid type punning/aliasing problemsBrian Paul
This fixes parsing errors seen with optimized builds on PPC (which led to crashes). The memcpy() is heavy-handed, but works. A lighter uint assignment could be used on x86...
2008-09-12gallium: use new compare32() function to fix warnings about type punning and ↵Brian Paul
aliasing
2008-09-12gallium: silence warningBrian Paul
2008-09-10tgsi: Fix newline pos.José Fonseca
2008-09-10tgsi: Verify constants are set before attempting to read them.José Fonseca
2008-09-08tgsi: Cleanup code.Michal Krol
2008-09-05tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.José Fonseca
This fixes a stack overflow when dumping shaders. It ended up being pretty much as the original code Michal had before, before I went on a cleanup rampage on it and took things that ended up needing...
2008-09-02gallium: increase string buffer size to 16000 to avoid truncated output of ↵Brian Paul
long shaders
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: replace LOG2() macro with util_fast_log2() inline funcBrian Paul
2008-08-22gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
2008-08-19tgsi: Implement LOG opcode for SSE2 codegen.Michal Krol
2008-08-19tgsi: Implement EXP opcode for SSE2.Michal Krol
2008-08-19tgsi: Fix ARL opcode in SSE2 codegen.Michal Krol
2008-08-19tgsi: Workaround debug output buffer size limitations.Michal Krol
2008-08-19tgsi: Use NUM_CHANNELS.Michal Krol
2008-08-18tgsi: Update condition code vector when storing dest register.Michal Krol
2008-08-18tgsi: Saturate modifier obeys ExecMask.Michal Krol
Implement NVIDIA [-1;+1] saturate mode.
2008-08-18tgsi: Respect condition codes when storing destination register.Michal Krol
2008-08-18tgsi: Cosmetic changes.Michal Krol
2008-08-18tgsi: Add condition code (CC) register.Michal Krol
2008-08-13gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RETBrian Paul
Fixes a few glean glsl regressions.
2008-08-13tgsi: Initial code for KILP, needs CCs working to be complete.Michal Krol
2008-08-13tgsi: Use a homebrew version of toupper().Michal Krol
2008-08-13tgsi: Fix typo.Michal Krol
2008-08-13tgsi: Validate instruction opcode and operand counts.Michal Krol
2008-08-13tgsi: Use tgsi_info to dump opcode names.Michal Krol
2008-08-13tgsi: Use tgsi_opcode_info.Michal Krol
2008-08-13make: List tgsi_info.c.Michal Krol
2008-08-13scons: List tgsi_info.c.Michal Krol
2008-08-13tgsi: Opcode information.Michal Krol
2008-08-13tgsi: Swap meanings of KIL and KILP opcodes.Michal Krol
2008-08-12gallium: distinguish between KIL and KILPBrian Paul
Note: KIL (unconditional) not done yet.
2008-08-12tgsi: Prevent division by zero.José Fonseca
2008-08-09tgsi: Dump shaders to a string too.José Fonseca
Again.
2008-08-04tgsi: Put a newline after IMM.Michal Krol
2008-07-30tgsi: Insert newlines after the statements, instead of before.José Fonseca
Prevents shader dumps from getting concatenated with the next debug message.
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-24tgsi: Silent msvc warning.José Fonseca
Rather stupid warning: msvc is warning that converting from a 1bit structure bitfield to a unsigned char looses precision... /WX makes this an error.
2008-07-23gallium: bump TGSI_EXEC_NUM_TEMPS to 128Brian Paul