summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_arit.c
AgeCommit message (Collapse)Author
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
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.
2010-01-13llvmpipe: comments and LLVMValueRef namingBrian Paul
2010-01-08Merge remote branch 'origin/master' into lp-binningJosé Fonseca
Conflicts: src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/Makefile src/gallium/drivers/llvmpipe/SConscript src/gallium/drivers/llvmpipe/lp_bld_arit.c src/gallium/drivers/llvmpipe/lp_bld_flow.c src/gallium/drivers/llvmpipe/lp_bld_interp.c src/gallium/drivers/llvmpipe/lp_clear.c src/gallium/drivers/llvmpipe/lp_context.c src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/llvmpipe/lp_draw_arrays.c src/gallium/drivers/llvmpipe/lp_jit.c src/gallium/drivers/llvmpipe/lp_jit.h src/gallium/drivers/llvmpipe/lp_prim_vbuf.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_state.h src/gallium/drivers/llvmpipe/lp_state_blend.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_sampler.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tex_cache.h src/gallium/drivers/llvmpipe/lp_tex_sample.h src/gallium/drivers/llvmpipe/lp_tile_cache.c
2009-12-16llvmpipe: fix broken lp_build_abs()Brian Paul
2009-12-15llvmpipe: use 1ULL to be ready for 64-bit arithmetic somedayBrian Paul
2009-12-15llvmpipe: Fix yet another copynpaste typo in lp_build_log2_approx.José Fonseca
Now fslight looks perfect.
2009-12-15llvmpipe: Fix lp_build_polynomial comment.José Fonseca
2009-12-15llvmpipe: Fix typo in lp_build_log constant.José Fonseca
2009-12-15llvmpipe: Fix bad SI -> FP conversion into lp_build_log2_approx.José Fonseca
It should be a bitcast as the integer value is actually an encoded FP already.
2009-12-14llvmpipe: fix broken lp_build_abs()Brian Paul
2009-10-25llvmpipe: Immediate multiplication.José Fonseca
2009-10-25llvmpipe: Make lerping work for 8.8 fixed point values.José Fonseca
2009-10-22llvmpipe: Use the pack/unpack functions for 8bit unsigned norm multiplication.José Fonseca
2009-09-29llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca
2009-09-29llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca
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-24llvmpipe: add missing __FUNCTION__ parameter to debug_printf() callsBrian Paul
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: Add a few more common arithmetic functions.José Fonseca
We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world.
2009-09-07llvmpipe: Better abs for floating points.José Fonseca
2009-09-07llvmpipe: Utility functions for linear and bilinear interpolation.José Fonseca
2009-09-07llvmpipe: Correct implementation of floor.José Fonseca
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: basic commentsBrian Paul
2009-08-29llvmpipe: Silence compiler warnings.José Fonseca
2009-08-29llvmpipe: Translate approximate log2/exp2.José Fonseca
2009-08-29llvmpipe: Efficient implementations of pow/exp/log/exp2/log2José Fonseca
2009-08-29llvmpipe: Implement more arithmetic functions.José Fonseca
2009-08-29llvmpipe: More arithmetic ops.José Fonseca
Mostly untested.
2009-08-29llvmpipe: Use full set of sse4 min/max intrinsics.José Fonseca
2009-08-29llvmpipe: Move intrinsic helpers to a separate module.José Fonseca
2009-08-29llvmpipe: Separate constant building.José Fonseca
2009-08-29llvmpipe: Move type support functions into a separate file.José Fonseca
2009-08-29llvmpipe: Optimize away min/max with equal operands.José Fonseca
2009-08-29llvmpipe: Get blending of normalized 8bit unsigned integers working.José Fonseca
2009-08-29llvmpipe: Specialize arithmetic operations.José Fonseca
2009-08-29llvmpipe: Introduce a custom typing system.José Fonseca
Straightforward representation of floating-point/fixed-point/integer, normalized/scaled, signed/unsigned SIMD vector types.
2009-08-29llvmpipe: Factor out intrisic calling code into a reusable function.José Fonseca
2009-08-29llvmpipe: Arithmetic helpers.José Fonseca