summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/tgsitollvm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-081-1136/+0
| | | | | | | 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.
* 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.
* 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-231-20/+16
| | | | | 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.
* gallivm: Fix build -- rename Size to NrTokens.Michal Krol2009-02-101-2/+2
|
* gallivm: Adapt to header file move in LLVM 2.4.Michel Dänzer2009-01-121-1/+1
|
* gallivm: replace the temp parameters of the JIT function with alloca'ed ↵Stephane Marchesin2008-10-301-8/+3
| | | | temps. This avoids useless writes of temporary results.
* Gallivm: fix the constant layout, this gets a bunch of progs/ working. ↵Stephane Marchesin2008-10-071-5/+5
| | | | Notably, gears doesn't.
* Gallivm: add slt. glxgears should be running, except it isn't.Stephane Marchesin2008-10-021-0/+1
|
* Gallivm: more instructions.Stephane Marchesin2008-10-021-5/+10
|
* Gallivm: make it compile again, add some opcodes.Stephane Marchesin2008-10-021-15/+45
|
* gallivm: Translate KIL instead of KILP.Michal Krol2008-08-131-9/+9
|
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-281-5/+5
|
* gallivm: Fix build after TGSI declaration interface changes.Michal Krol2008-05-311-6/+4
|
* fix abs and start on rsqZack Rusin2008-05-171-0/+1
|
* do the lit (some artifacts present)Zack Rusin2008-05-171-0/+1
|
* implement min/max and abstract ops on vectorsZack Rusin2008-05-171-0/+2
|
* llvm: implement sub and absZack Rusin2008-05-171-0/+2
|
* Use llvm 2.3 (2.2 won't work because of a lot of problems, e.g.Zack Rusin2008-04-211-2/+2
| | | | lack of constant vectors handling in execution engine)
* tgsi: Drop pre-ps_2_0 opcodes.Michal Krol2008-03-131-68/+0
|
* add code handling dependencies between generated codeZack Rusin2008-03-121-0/+1
|
* refactor code calling builtins and implement dp4Zack Rusin2008-03-011-0/+1
|
* start implementing start of bultinsZack Rusin2008-03-011-32/+6
|
* Rename llvm -> gallivm.José Fonseca2008-02-181-0/+1221
Following the directory == library name policy simplifies the build system.