OSDN Git Service

radeonsi: add support for easy opcodes from ARB_gpu_shader5
authorMarek Olšák <marek.olsak@amd.com>
Fri, 13 Mar 2015 15:21:11 +0000 (16:21 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 16 Mar 2015 11:54:18 +0000 (12:54 +0100)
commit955ebf2890f18973a128ef3a6a6cfe4416fabaef
treea1656efbd92b7d9def350b93a29b8a692c7a2ca8
parent755a2907a3e7f896f86861254554543d815bfad3
radeonsi: add support for easy opcodes from ARB_gpu_shader5

I have to use the BFE instrinsics, because BFE is one of the most complex
instructions that can't be matched easily. BFE has 3 conditional branches
and one of them is quite big.

In the isel DAG, lowered BFE has 27 nodes (including leafs).
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c