summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_logic.c
AgeCommit message (Collapse)Author
2009-09-29llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca
Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
2009-09-14llvmpipe: Make lp_type a regular union.José Fonseca
Union not worth the hassle of violating C99 or adding a name to the structure.
2009-09-13llvmpipe: Use const keyword for input array arguments.José Fonseca
2009-09-11llvmpipe: Update status in README and TODO/FIXME comments throughout the code.José Fonseca
2009-08-31llvmpipe: Fallback to element-wise comparisons when no comparison intrinsic ↵José Fonseca
is available. Although selection of vector elements is valid LLVM IR, no machine target supports it yet. This is a last-resort option, but it allows llvmpipe to be used on any target supported by LLVM without modifications. Obviously better performance is attainable by emitting SIMD intrinsics where otherwise LLVM doesn't.
2009-08-31llvmpipe: In the abcense of a min/max intrinsic, use the comparison intrinsics.José Fonseca
2009-08-29llvmpipe: s/uni/scalar/.José Fonseca
More obvious name.
2009-08-29llvmpipe: Add a bunch of comments.José Fonseca
Description/rationale/to-do items, while I still remember them...
2009-08-29llvmpipe: Early depth testing.José Fonseca
2009-08-29llvmpipe: Centralize mask update logic.José Fonseca
2009-08-29llvmpipe: Generate instrinsics for integer comparisons.José Fonseca
It is a little messy, given the available instrucions form SIMD integer comparisons is rather limited.
2009-08-29llvmpipe: Move lp_build_select to lp_bld_logic.[ch].José Fonseca
2009-08-29llvmpipe: Comparisons translation.José Fonseca