Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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]> | ||||
* | radeon/llvm: Add register encoding for VCC | Tom Stellard | 2012-09-11 | 1 | -0/+1 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: Ignore special registers when calculating reg count | Tom Stellard | 2012-09-11 | 1 | -0/+2 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: Handle position input parameter for pixel shaders v2 | Tom Stellard | 2012-09-11 | 2 | -0/+22 |
| | | | | | | | | v2: - Don't increment ninterp or set any of the have_* flags for TGSI_SEMANTIC_POSITION Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: Coding style fixes | Tom Stellard | 2012-09-11 | 4 | -31/+31 |
| | | | | Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeonsi: Move interpolation mode check into the compiler | Tom Stellard | 2012-09-11 | 1 | -1/+12 |
| | | | | | | | The compiler needs to know which interpolation modes are enabled, so it knows which values will be preloaded into the VGPRs. Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: Add SHADER_TYPE instruction | Tom Stellard | 2012-09-11 | 8 | -1/+32 |
| | | | | | | | This allows the program to specify the type of shader being compiled (e.g. PXEL, VERTEX, etc.) Reviewed-by: Michel Dänzer <[email protected]> | ||||
* | radeon/llvm: Match fexp2 for SI. | Michel Dänzer | 2012-09-07 | 1 | -1/+3 |
| | | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: Add intrinsic for enabling whole quad mode in SI pixel shaders. | Michel Dänzer | 2012-09-06 | 4 | -0/+23 |
| | | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Tom Stellard <[email protected]> |