Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/llvm: Remove backend code from Mesa | Tom Stellard | 2013-01-04 | 99 | -19168/+0 |
| | | | | | | | | | | | | This code now lives in an external tree. For the next Mesa release fetch the code from the master branch of this LLVM repo: http://cgit.freedesktop.org/~tstellar/llvm/ For all subsequent Mesa releases, fetch the code from the official LLVM project: www.llvm.org | ||||
* | Support LLVM >= 3.2 on radeonsi and opencl. | Johannes Obermayr | 2013-01-04 | 1 | -0/+7 |
| | | | | | | Tom Stellard: - Backend now has same name for all LLVM versions - Add missing LLVM_VERSION_INT definition | ||||
* | radeon/llvm: improve cube map handling | Vadim Girlin | 2012-12-18 | 2 | -20/+69 |
| | | | | | | | | Add support for TEX2, TXB2, TXL2, fix SHADOWCUBE Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: fix TXQ_LZ handling for cube maps | Vadim Girlin | 2012-12-18 | 1 | -2/+4 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: Export prepare_cube_coords helper to driver. | Michel Dänzer | 2012-12-06 | 2 | -8/+13 |
| | | | | | | | To be used by radeonsi. Reviewed-by: Tom Stellard <[email protected]> Signed-off-by: Michel Dänzer <[email protected]> | ||||
* | r600g: use default action for min/max opcode in tgsi to llvm | Vincent Lejeune | 2012-12-05 | 1 | -4/+0 |
| | | | | Reveiwed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | r600g: use default action for fdiv/rcp opcode | Vincent Lejeune | 2012-12-05 | 1 | -6/+1 |
| | | | | Reveiwed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | r600g: Use default mul/mad function for tgsi-to-llvm | Vincent Lejeune | 2012-12-05 | 1 | -8/+4 |
| | | | | Reveiwed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | r600g: make tgsi-to-llvm generates store.pixel* intrinsic for fs | Vincent Lejeune | 2012-11-02 | 1 | -0/+3 |
| | | | | Reviewed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | radeon/llvm: Add intrinsic for reading SI FRONT_FACE VGPR in the pixel shader. | Michel Dänzer | 2012-10-26 | 2 | -0/+6 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Sort tgsi opcode action initialization | Tom Stellard | 2012-10-19 | 1 | -59/+50 |
| | | | | This was done in order to identify and remove duplicate entries. | ||||
* | radeon/llvm: Fix lowering TGSI_OPCODE_SSG | Tom Stellard | 2012-10-19 | 1 | -1/+1 |
| | |||||
* | radeon/llvm: Fix build with LLVM 3.2 | Tom Stellard | 2012-10-11 | 1 | -3/+10 |
| | |||||
* | radeon/llvm: use ceil intrinsic instead of llvm.AMDIL.round.posinf | Vincent Lejeune | 2012-10-10 | 3 | -6/+2 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use floor intrinsic instead of llvm.AMDIL.floor | Vincent Lejeune | 2012-10-10 | 5 | -5/+5 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use llvm fabs intrinsic | Vincent Lejeune | 2012-10-10 | 3 | -6/+4 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use llvm intrinsic for flog2 | Vincent Lejeune | 2012-10-10 | 4 | -5/+4 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add support for cos/sin intrinsic | Vincent Lejeune | 2012-10-10 | 3 | -12/+15 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add a pattern for fsqrt | Vincent Lejeune | 2012-10-10 | 1 | -0/+3 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Disable SI flow control again for now. | Michel Dänzer | 2012-10-02 | 1 | -1/+2 |
| | | | | | | | It makes piglit unreliable due to VM protection faults and GPU lockups. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Only initialize the AMDGPU target | Tom Stellard | 2012-10-01 | 1 | -7/+1 |
| | |||||
* | radeon: Fix build with LLVM 3.1 | Tom Stellard | 2012-10-01 | 1 | -0/+1 |
| | | | | The build was broken by commit 8d9778589f4b3a174e884338adb0fe1bdeca5eb7 | ||||
* | radeon: Support LLVM 3.2 | Tom Stellard | 2012-10-01 | 3 | -3/+11 |
| | | | | | LLVM 3.2 and newer requires that the R600/SI backend be part of the LLVM tree. | ||||
* | r600g: add some members to radeon_llvm_context | Vincent Lejeune | 2012-09-28 | 1 | -0/+6 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: improve select_cc lowering to generate CND* more often | Vincent Lejeune | 2012-09-27 | 3 | -41/+88 |
| | | | | | | | | v2: - Simplify isZero() - Remove a unused function prototype - Clean whitespace trails Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Fix instruction encoding for r600 family GPUs | Tom Stellard | 2012-09-24 | 3 | -15/+14 |
| | | | | | | Tested-by: Michel Dänzer <[email protected]> https://bugs.freedesktop.org/show_bug.cgi?id=55217 | ||||
* | radeon/llvm: support for interpolation intrinsics | Vincent Lejeune | 2012-09-22 | 10 | -2/+318 |
| | | | | Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Handle loads from the constants address space. | Tom Stellard | 2012-09-21 | 2 | -0/+10 |
| | | | | | Reading from constant memory is not supported yet, so constant reads use global memory. | ||||
* | radeon/llvm: Add support for v4f32 stores on R600 | Tom Stellard | 2012-09-21 | 3 | -9/+27 |
| | |||||
* | radeon/llvm: Add support for i8 reads on R600 | Tom Stellard | 2012-09-21 | 3 | -0/+25 |
| | |||||
* | radeon/llvm: Expand vector fadd and fmul on R600 | Tom Stellard | 2012-09-21 | 1 | -0/+3 |
| | |||||
* | radeon/llvm: Add optimization for FP_ROUND | Tom Stellard | 2012-09-21 | 2 | -0/+27 |
| | |||||
* | radeon/llvm: Replace AMDGPU pow intrinsic with the llvm version | Tom Stellard | 2012-09-21 | 4 | -7/+26 |
| | |||||
* | radeon/llvm: Emit ISA for ALU instructions in the R600 code emitter | Michal Sciubidlo | 2012-09-19 | 5 | -139/+238 |
| | | | | Signed-off-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Only support 512 constant registers on R600 | Tom Stellard | 2012-09-19 | 1 | -1/+1 |
| | | | | | This is necessary upcoming encoding changes, since we will only be using 9-bits for register encoding. | ||||
* | radeon/llvm: Add a fdiv pattern. | Vincent Lejeune | 2012-09-18 | 1 | -3/+10 |
| | | | | Reviewed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | radeon/llvm: reserve also corresponding 128bits reg | Vincent Lejeune | 2012-09-18 | 1 | -0/+1 |
| | | | | Reviewed-by: Tom Stellard <thomas.stellard at amd.com> | ||||
* | radeon/llvm: Inital flow control support for SI | Tom Stellard | 2012-09-17 | 7 | -2/+168 |
| | | | | | | This adds basic flow control support for If-Then-Else blocks using predicates (stored in the EXEC register) and a predicate stack for nested flow control. | ||||
* | radeon/llvm: Fix unused variable warning | Tom Stellard | 2012-09-17 | 1 | -1/+0 |
| | |||||
* | radeon/llvm: Move kernel arg lowering into R600TargetLowering class | Tom Stellard | 2012-09-17 | 6 | -470/+35 |
| | |||||
* | radeon/llvm: Match integer add/sub for SI. | Michel Dänzer | 2012-09-17 | 1 | -2/+8 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Complete integer comparison patterns for SI. | Michel Dänzer | 2012-09-17 | 1 | -4/+12 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Match AMDGPUfract on SI. | Michel Dänzer | 2012-09-17 | 1 | -1/+3 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Match int_AMDGPU_floor for SI. | Michel Dänzer | 2012-09-17 | 1 | -1/+3 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Match vector logical operations on SI. | Michel Dänzer | 2012-09-17 | 1 | -3/+9 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Support frint on SI | Christian König | 2012-09-14 | 1 | -1/+3 |
| | | | | | | | | Gets VDPAUs shaders working again. Signed-off-by: Christian König <[email protected]> Reviewed-by: Tom Stellard <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | radeon/llvm: Fix lowering of vbuild | Tom Stellard | 2012-09-13 | 7 | -93/+19 |
| | | | | | | Some of the old AMDIL code was hard-coding subreg indices when creating the VBUILD node, which was making it difficult to match the vector_insert patterns. | ||||
* | radeon/llvm: Support fmul on SI | Tom Stellard | 2012-09-13 | 1 | -1/+4 |
| | |||||
* | radeon/llvm: Fix operand order of V_CNDMASK in custom inserter | Tom Stellard | 2012-09-11 | 1 | -1/+1 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: Assert if we try to encode an unknown register | Tom Stellard | 2012-09-11 | 1 | -1/+1 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> |