summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
Commit message (Collapse)AuthorAgeFilesLines
* Remove TGSI_OPCODE_SHR, map existing usage to TGSI_OPCODE_ISHR.Michal Krol2010-01-051-2/+2
| | | | This is to differentiate it from its unsigned version, TGSI_OPCODE_USHR.
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-011-92/+0
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-011-16/+0
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-241-17/+17
| | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
* tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-241-8/+8
| | | | | DstRegister -> Register DstRegisterInd -> Indirect
* tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-241-3/+3
| | | | DeclarationRange -> Range
* tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-241-4/+4
| | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
* Rename TGSI LOOP instruction to better match theri usage.Michal Krol2009-07-311-8/+8
| | | | | | | | The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
* gallivm: updates for TGSI changesKeith Whitwell2009-07-232-22/+18
| | | | | make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5
* gallium: remove deprecated TGSI opcodesKeith Whitwell2009-07-231-26/+0
| | | | | | Various opcodes which can be implemented trivially with other TGSI opcodes, such as matrix multiplication and negation. These were not used by any state tracker or implemented by any of the drivers.
* gallium: simplify tgsi_full_immediate structKeith Whitwell2009-07-221-2/+4
| | | | | | | | | | | | | Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
* llvm: fix compile on gcc 4.4Dave Airlie2009-06-081-0/+2
|
* util: Move p_debug.h into util module.José Fonseca2009-02-181-1/+1
| | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* gallivm: Fix build -- rename Size to NrTokens.Michal Krol2009-02-101-2/+2
|
* gallivm: Make sure the bitcode buffer is followed by a 0 byte.Michel Dänzer2009-01-123-4/+4
| | | | May fail to parse otherwise.
* gallivm: Print error message from ParseBitcodeFile() in case it fails.Michel Dänzer2009-01-121-2/+3
|
* gallivm: Adapt to header file move in LLVM 2.4.Michel Dänzer2009-01-125-5/+5
|
* gallivm: fix some small stuff.Stephane Marchesin2008-11-162-3/+3
|
* gallivm: replace the temp parameters of the JIT function with alloca'ed ↵Stephane Marchesin2008-10-304-30/+41
| | | | temps. This avoids useless writes of temporary results.
* Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-101-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin2008-10-014-66/+101
| |
| * Gallivm: port to llvm 2.4.Stephane Marchesin2008-09-305-149/+149
| |
| * Gallivm: fix off-by-one.Stephane Marchesin2008-09-281-1/+1
| |
| * Gallivm: more instructions.Stephane Marchesin2008-09-283-8/+73
| |
| * Gallivm: make it compile again, add some opcodes.Stephane Marchesin2008-09-284-485/+770
| |
* | Gallivm: cleanup soa storage.Stephane Marchesin2008-10-092-34/+12
| |
* | Gallivm: reorder the functions alphabetically so I can work on it.Stephane Marchesin2008-10-071-121/+119
| |
* | Gallivm: don't say hello, it's rude.Stephane Marchesin2008-10-071-1/+0
| |
* | Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵Stephane Marchesin2008-10-076-21/+78
| | | | | | | | Notably, gears doesn't.
* | Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin2008-10-024-66/+101
| |
* | Gallivm: port to llvm 2.4.Stephane Marchesin2008-10-025-149/+149
| |
* | Gallivm: fix off-by-one.Stephane Marchesin2008-10-021-1/+1
| |
* | Gallivm: more instructions.Stephane Marchesin2008-10-023-8/+73
| |
* | Gallivm: make it compile again, add some opcodes.Stephane Marchesin2008-10-024-485/+770
|/
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-243-3/+4
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallivm: Translate KIL instead of KILP.Michal Krol2008-08-134-13/+13
|
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-283-9/+9
|
* llvm: build fixes.Stephane Marchesin2008-07-131-1/+1
|
* gallivm: Fix build after TGSI declaration interface changes.Michal Krol2008-05-311-6/+4
|
* cosmetic changesZack Rusin2008-05-171-3/+2
|
* fix rsqZack Rusin2008-05-171-3/+3
|
* fix abs and start on rsqZack Rusin2008-05-174-20/+58
|
* do the lit (some artifacts present)Zack Rusin2008-05-174-14/+40
|
* implement min/max and abstract ops on vectorsZack Rusin2008-05-174-11/+100
|
* llvm: implement sub and absZack Rusin2008-05-175-17/+67
|
* fix injections of functions from builtins into shadersZack Rusin2008-05-172-10/+11
|
* move the swizzling code to gallivm in preperation for code-generating itZack Rusin2008-05-174-146/+191
| | | | also some minor cleanups
* adjust llvm code to the changes in 2.3Zack Rusin2008-05-123-28/+26
|
* Use llvm 2.3 (2.2 won't work because of a lot of problems, e.g.Zack Rusin2008-04-218-78/+79
| | | | lack of constant vectors handling in execution engine)
* make llvm draw paths compile with the latest changesZack Rusin2008-04-216-576/+192
| | | | | switch the method of distribution of builtins (to get rid of the llvm2cpp dependency)