Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-19 | cell: use different opcodes for spe_move() depending on even/odd address | Brian Paul | |
2008-09-19 | gallium: added spe_code_size() | Brian Paul | |
2008-09-19 | cell: change spe_complement() to take a src and dst reg, like other instructions | Brian Paul | |
2008-09-19 | CELL: add codegen for logic op, color mask | Robert Ellison | |
- rtasm_ppc_spe.c, rtasm_ppc_spe.h: added a new macro function "spe_load_uint" for loading and splatting unsigned integers in a register; it will use "ila" for values 18 bits or less, "ilh" for word values that are symmetric across halfwords, "ilhu" for values that have zeroes in their bottom halfwords, or "ilhu" followed by "iohl" for general 32-bit values. Of the 15 color masks of interest, 4 are 18 bits or less, 2 are symmetric across halfwords, 3 are zero in the bottom halfword, and 6 require two instructions to load. - cell_gen_fragment.c: added full codegen for logic op and color mask. | |||
2008-09-18 | CELL: finish fragment ops blending (except for unusual D3D modes) | Robert Ellison | |
- Added new "macro" functions spe_float_min() and spe_float_max() to rtasm_ppc_spe.{ch}. These emit instructions that cause the minimum or maximum of each element in a vector of floats to be saved in the destination register. - Major changes to cell_gen_fragment.c to implement all the blending modes (except for the mysterious D3D-based PIPE_BLENDFACTOR_SRC1_COLOR, PIPE_BLENDFACTOR_SRC1_ALPHA, PIPE_BLENDFACTOR_INV_SRC1_COLOR, and PIPE_BLENDFACTOR_INV_SRC1_ALPHA). - Some revamping of code in cell_gen_fragment.c: use the new spe_float_min() and spe_float_max() functions (instead of expanding these calculations inline via macros); create and use an inline utility function for handling "optional" register allocation (for the {1,1,1,1} vector, and the blend color vectors) instead of expanding with macros; use the Float Multiply and Subtract (fnms) instruction to simplify and optimize many blending calculations. | |||
2008-09-15 | gallium: emit SPU instructions in assembler-compatible syntax | Brian Paul | |
2008-09-15 | Fixed emit_RRR | Jonathan White | |
2008-09-12 | gallium: added print/dump code to SPE code emitter | Brian Paul | |
2008-09-12 | gallium: added spe_splat_word() | Brian Paul | |
2008-09-12 | gallium: minor optimization to spe_load_int() | Brian Paul | |
2008-09-12 | gallium: initial PPC/Altivec codegen | Brian Paul | |
2008-09-11 | gallium: add special cases in spe_load_float(), spe_load_int(), added ↵ | Brian Paul | |
spe_splat() | |||
2008-09-11 | gallium: assorted additions and fixes to Cell SPE rtasm code | Brian Paul | |
Fix incorrect opcode for fsmbi. Added "macro" functions for loading floats/ints, register complement, zero, move. Added #defines for return address and stack pointer registers. Added assertions to check that the instruction buffer doesn't overflow. | |||
2008-09-11 | gallium: comments, assertions, etc | Brian Paul | |
2008-09-01 | gallium: include u_pointer,h, not p_pointer.h | Brian Paul | |
2008-08-26 | gallium: thread wrapper clean-up | Brian Paul | |
In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft. | |||
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-06-02 | rtasm: Use enum sse_cc in sse_cmpps. | José Fonseca | |
2008-05-30 | Merge branch 'gallium-tex-surfaces' into gallium-0.1 | Jakob Bornecrantz | |
Conflicts: src/gallium/drivers/i915simple/i915_context.h | |||
2008-05-28 | rtasm: special case for [ebp] | Keith Whitwell | |
2008-05-28 | Merge branch 'gallium-vertex-linear' into gallium-0.1 | Jakob Bornecrantz | |
Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c | |||
2008-05-28 | gallium: Windows CE portability fixes. | José Fonseca | |
2008-05-24 | rtasm: add some helpers for calling out from generated code | Keith Whitwell | |
2008-05-23 | rtasm: remove debug | Keith Whitwell | |
2008-05-23 | rtasm: add x87 instructions and debug-check for x87 stack usage | Keith Whitwell | |
2008-05-23 | rtasm: export debug reg print function | Keith Whitwell | |
2008-05-23 | rtasm: remove unused struct member | Keith Whitwell | |
2008-05-01 | rtasm: learn another version of push | Keith Whitwell | |
2008-05-01 | rtasm: fix labels after (not so) recent change to allow dynamic fn growth | Keith Whitwell | |
Using char * for labels doesn't work if you realloc the function during assembly and free the old storage... | |||
2008-05-01 | rtasm: assert stack is fully popped in return | Keith Whitwell | |
2008-04-28 | gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs. | Michal Krol | |
Change SSE_SWIZZLES #define to 0 to disable it. | |||
2008-04-27 | rtasm: Implement x86_retw. | José Fonseca | |
2008-04-21 | rtasm: debug some missing funcs | Keith Whitwell | |
2008-04-21 | rtasm: quieten sse_enabled debug | Keith Whitwell | |
2008-04-21 | rtasm: clean up debug dumping a little | Keith Whitwell | |
2008-04-21 | rtasm: propogate errors in x86 emit | Keith Whitwell | |
2008-04-21 | rtasm: add dump facility for x86 (from tgsi_sse2.c) | Keith Whitwell | |
2008-04-21 | gallium: Centralize SSE usage logic. | José Fonseca | |
2008-04-19 | rtasm: include yet another i386 define varient | Keith Whitwell | |
2008-04-18 | rtasm: add x86_imul | Keith Whitwell | |
2008-04-18 | rtasm: add a couple more insns, clean up x86_mul | Keith Whitwell | |
2008-04-11 | gallium: fix broken x86_call() | Keith Whitwell | |
2008-03-25 | cell: Float convert-to and convert-from instructions use different shift bias | Ian Romanick | |
2008-03-17 | cell: Don't free NULL code pointers | Ian Romanick | |
2008-03-17 | cell: Fix simple register allocator | Ian Romanick | |
THere are 64-bits in a uint64_t, not 128. Duh. | |||
2008-03-10 | Move SPE register allocator to rtasm code | Ian Romanick | |
Move the register allocator to a common location. There is more code on the way that will make use of this interface. | |||
2008-02-23 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-02-19 | Fix windows build. | José Fonseca | |
2008-02-19 | Bring in ppc spe rtasm into gallium's rtasm module. | José Fonseca | |
Moving files since these are not being used outside gallium. | |||
2008-02-19 | Add run-time cpu capabilities detection stubs. | José Fonseca | |