Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | radeon/llvm: add support for texture offsets, fix TEX_LD | Vadim Girlin | 2012-05-15 | 4 | -10/+51 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add SET_GRADIENTS*, fix SAMPLE_G | Vadim Girlin | 2012-05-15 | 5 | -4/+96 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: increase const regs count | Vadim Girlin | 2012-05-15 | 1 | -1/+1 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use IntrNoMem property for intrinsics where possible | Vadim Girlin | 2012-05-15 | 6 | -95/+158 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: use correct intrinsic for CEIL | Vadim Girlin | 2012-05-15 | 2 | -3/+3 |
| | | | | | | | Should be round_posinf instead of round_neginf. Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: improve ABS_i32 lowering | Vadim Girlin | 2012-05-15 | 1 | -13/+5 |
| | | | | | | | | | We can save one instruction by lowering it to: SUB_INT tmp, 0, src MAX_INT dst, src, tmp Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: fix BUILD_VECTOR lowering for replicated value | Vadim Girlin | 2012-05-15 | 1 | -0/+2 |
| | | | | | | | We expect that all elements will be assigned even if they are equal Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add names for AMDGPU* passes | Vadim Girlin | 2012-05-15 | 2 | -0/+5 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeon/llvm: add generated files to .gitignore | Vadim Girlin | 2012-05-15 | 1 | -0/+18 |
| | | | | | Signed-off-by: Vadim Girlin <[email protected]> Reviewed-by: Tom Stellard <[email protected]> | ||||
* | radeonsi: Flesh out shader interpolation related code. | Michel Dänzer | 2012-05-14 | 2 | -0/+21 |
| | | | | Handle perspective interpolation and ceontroid vs. center. | ||||
* | radeon/llvm: Coding style fixes for R600CodeEmitter.cpp | Tom Stellard | 2012-05-14 | 1 | -148/+90 |
| | |||||
* | radeon/llvm: Lower bitcast instructions to copies | Tom Stellard | 2012-05-14 | 1 | -0/+10 |
| | |||||
* | radeon/llvm: More comments and cleanups | Tom Stellard | 2012-05-11 | 22 | -163/+190 |
| | |||||
* | radeon/llvm: Fix Evergreen/Cayman tablegen predicates | Tom Stellard | 2012-05-11 | 1 | -1/+3 |
| | | | | Some Evergreen/Cayman instructions were being enabled for SI. | ||||
* | radeon/llvm: Remove AMDILMCCodeEmitter.cpp | Tom Stellard | 2012-05-10 | 2 | -158/+0 |
| | |||||
* | radeon/llvm: Remove SILowerShaderInstructions.cpp | Tom Stellard | 2012-05-10 | 4 | -81/+0 |
| | |||||
* | radeonsi/llvm: Move lowering of RETURN to ConvertToISA pass | Tom Stellard | 2012-05-10 | 2 | -11/+2 |
| | |||||
* | radeon/llvm: Add some comments | Tom Stellard | 2012-05-10 | 64 | -422/+393 |
| | |||||
* | radeon/llvm: Move util functions into AMDGPU namespace | Tom Stellard | 2012-05-10 | 3 | -39/+37 |
| | |||||
* | radeon/llvm: Auto-encode RAT_WRITE_CACHELESS_eg | Tom Stellard | 2012-05-10 | 2 | -17/+0 |
| | |||||
* | radeon/llvm: Delete all instructions that have been custom lowered | Tom Stellard | 2012-05-10 | 1 | -4/+1 |
| | |||||
* | radeon/llvm: Remove AMDGPUConstants.pm | Tom Stellard | 2012-05-09 | 2 | -45/+23 |
| | |||||
* | radeon/llvm: Don't rely on tablegen for lowering int_AMDGPU_load_const | Tom Stellard | 2012-05-09 | 5 | -38/+20 |
| | |||||
* | radeon/llvm: Make sure the LOAD_CONST def uses the isSI predicate | Tom Stellard | 2012-05-09 | 2 | -7/+7 |
| | |||||
* | radeon/llvm: Remove AMDILUtilityFunctions.cpp | Tom Stellard | 2012-05-08 | 13 | -1041/+399 |
| | |||||
* | radeon/llvm: Remove some unused functions from AMDILInstrInfo | Tom Stellard | 2012-05-08 | 2 | -164/+0 |
| | |||||
* | radeon/llvm: Add some comments and fix coding style | Tom Stellard | 2012-05-08 | 8 | -42/+41 |
| | |||||
* | radeon/llvm: Remove the EXPORT_REG instruction | Tom Stellard | 2012-05-08 | 9 | -109/+6 |
| | |||||
* | radeon/llvm: Use a custom inserter to lower RESERVE_REG | Tom Stellard | 2012-05-08 | 9 | -21/+81 |
| | |||||
* | radeon/llvm: Use a custom inserter to lower STORE_OUTPUT | Tom Stellard | 2012-05-08 | 4 | -34/+23 |
| | |||||
* | radeon/llvm: Remove AMDGPULowerShaderInstructions class | Tom Stellard | 2012-05-08 | 6 | -86/+4 |
| | | | | It is no longer used. | ||||
* | radeon/llvm: Use a custom inserter to lower LOAD_INPUT | Tom Stellard | 2012-05-08 | 4 | -39/+15 |
| | |||||
* | radeon/llvm: Remove the ReorderPreloadInstructions pass | Tom Stellard | 2012-05-08 | 9 | -100/+4 |
| | |||||
* | radeon/llvm: Remove old comment from AMDIL.h | Tom Stellard | 2012-05-08 | 1 | -5/+0 |
| | |||||
* | radeon/llvm: add suport for cube textures | Vadim Girlin | 2012-05-08 | 1 | -1/+91 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for CUBE ALU instruction | Vadim Girlin | 2012-05-08 | 5 | -21/+63 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for some ALU instructions | Vadim Girlin | 2012-05-08 | 4 | -13/+293 |
| | | | | | | | | Add support for IABS, NOT, AND, XOR, OR, UADD, UDIV, IDIV, MOD, UMOD, INEG, I2F, U2F, F2U, F2I, USEQ, USGE, USLT, USNE, ISGE, ISLT, ROUND, MIN, MAX, IMIN, IMAX, UMIN, UMAX Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add missing cases for BREAK/CONTINUE | Vadim Girlin | 2012-05-08 | 2 | -0/+3 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for AHSR/LSHR/LSHL instructions | Vadim Girlin | 2012-05-08 | 4 | -0/+53 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for TXQ/TXF/DDX/DDY instructions | Vadim Girlin | 2012-05-08 | 4 | -4/+39 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for VertexID, InstanceID | Vadim Girlin | 2012-05-08 | 2 | -0/+16 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: fix live-in handling for inputs | Vadim Girlin | 2012-05-08 | 2 | -2/+3 |
| | | | | | | Set the input registers as live-in for entry basic block. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: add support for v4i32 | Vadim Girlin | 2012-05-08 | 4 | -5/+20 |
| | | | | Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: fix ABS_i32 instruction lowering | Vadim Girlin | 2012-05-08 | 1 | -2/+2 |
| | | | | | | Swap source operands. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: use integer comparison for IF | Vadim Girlin | 2012-05-08 | 1 | -2/+4 |
| | | | | | | | Replacing "float equal to 1.0f" with "int not equal to 0". This should help for further optimization of boolean computations. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: use bitcasts for integers | Vadim Girlin | 2012-05-08 | 2 | -4/+70 |
| | | | | | | | | | We're using float as default type, so basically for every instruction that wants other types for dst/src operands we need to perform the bitcast to/from default float. Currently bitcast produces no-op MOV instruction, will be eliminated later. Signed-off-by: Vadim Girlin <[email protected]> | ||||
* | radeon/llvm: Remove references to DebugFlag and isCurrentDebugType() | Tom Stellard | 2012-05-07 | 4 | -22/+3 |
| | | | | | | | These weren't being used at all and they were causing build failures when LLVM was built with NDEBUG defined and mesa was not. https://bugs.freedesktop.org/show_bug.cgi?id=49110 | ||||
* | r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B | Tom Stellard | 2012-05-03 | 1 | -0/+7 |
| | |||||
* | r600g/llvm: Don't duplicate R600 intrinsics installed by LLVM | Tom Stellard | 2012-05-03 | 4 | -0/+26 |
| | | | | | | | At this point, in order for OpenCL to work correctly with r600g, OpenCL specific intrinsics need to be defined in the LLVM tree. So, we need to check for these intrinsics in the LLVM include directory to make sure not to re-define them. | ||||
* | radeon/llvm: Fix MachineInstr dump | Tom Stellard | 2012-05-02 | 2 | -8/+9 |
| |