Displaying 2 results from an estimated 2 matches for "gpr_b".
Did you mean:
gpr_d
2016 Aug 23
2
How to describe the RegisterInfo?
...let HWEncoding{15} = regFile;
}
// here I define the whole 4096 byte registers
foreach Index = 0-4095 in {
def Rb#Index : IntelGPUReg <"Rb"#Index, Index> {
let regFile = 0;
}
}
// b-->byte w-->word d-->dword q-->qword
// the set of uniform byte register
def gpr_b : RegisterClass<"IntelGPU", [i8], 8,
(sequence "Rb%u", 0, 4095)> {
let AllocationPriority = 1;
}
def gpr_d : RegisterTuples<[sub0, sub1, sub2, sub3],
[(add (decimate gpr_b, 4)),
(a...
2016 Aug 23
2
How to describe the RegisterInfo?
Hi Escha,
Great to have your comment! Do you have any specific reason for not doing
like this?
I am not sure whether I understand your point correctly. For "just model
one thread",
do you mean "only considering ONE of the 8/16 working lanes that running in
lock-step way"??
For my case, may be something like I only need to define r0~r127 as
register for i32 register (each r#