summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_sse2.c
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-08tgsi: Cleanup code.Michal Krol
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: Use NUM_CHANNELS.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-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca