OSDN Git Service

R600/SI: fix and cleanup SI register definition v2
authorChristian Konig <christian.koenig@amd.com>
Tue, 26 Feb 2013 17:52:03 +0000 (17:52 +0000)
committerChristian Konig <christian.koenig@amd.com>
Tue, 26 Feb 2013 17:52:03 +0000 (17:52 +0000)
commit6fd49bc89adb515ae389f34f18b3c52c13b579fa
treee135a5aa1b49327b35f6764051e5891dd6ab5690
parenta25b8d4c0b4f6422c58c0ca5c003757bfbf636ac
R600/SI: fix and cleanup SI register definition v2

Prevent producing real strange tablegen code by using
proper register sizes, alignments and hierarchy.

Also cleanup the unused definitions and add some comments.

v2: add SGPR 512 bit registers, stop registers from wrapping around,
    fix SGPR alignment

This is a candidate for the mesa-stable branch.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstructions.td
lib/Target/R600/SIRegisterInfo.td