R600: Increase number of ArrayBase Reg to 32
authorVincent Lejeune <vljn@ovi.com>
Mon, 18 Feb 2013 13:48:09 +0000 (13:48 +0000)
committerVincent Lejeune <vljn@ovi.com>
Mon, 18 Feb 2013 13:48:09 +0000 (13:48 +0000)
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175443 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/R600RegisterInfo.td

index 3812eb7c61fb2a712e527dc1de06a316947ac50b..071885465a061124f24658c011677f9886dda65f 100644 (file)
@@ -44,7 +44,7 @@ foreach Index = 0-127 in {
 }
 
 // Array Base Register holding input in FS
-foreach Index = 448-464 in {
+foreach Index = 448-480 in {
   def ArrayBase#Index :  R600Reg<"ARRAY_BASE", Index>;
 }
 
@@ -66,7 +66,7 @@ def PRED_SEL_ONE : R600Reg<"Pred_sel_one", 3>;
 def AR_X : R600Reg<"AR.x", 0>;
 
 def R600_ArrayBase : RegisterClass <"AMDGPU", [f32, i32], 32,
-                          (add (sequence "ArrayBase%u", 448, 464))>;
+                          (add (sequence "ArrayBase%u", 448, 480))>;
 // special registers for ALU src operands
 // const buffer reference, SRCx_SEL contains index
 def ALU_CONST : R600Reg<"CBuf", 0>;