Displaying 3 results from an estimated 3 matches for "gpr_d_simd8".
2016 Aug 23
2
How to describe the RegisterInfo?
...),
(add (decimate (shl gpr_b, 8), 16)),
(add (decimate (shl gpr_b, 10), 16)),
(add (decimate (shl gpr_b, 12), 16)),
(add (decimate (shl gpr_b, 14), 16))]>;
def gpr_d_simd8 : RegisterTuples<[sub0, sub1, sub2, sub3, sub4, sub5, sub6,
sub7],
[(add (decimate gpr_d, 8)),
(add (decimate (shl gpr_d, 1), 8)),
(add (decimate (shl gpr_d, 2), 8)),...
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#
2016 Aug 22
4
How to describe the RegisterInfo?
...version RegisterInfo.td.
And I also have a question about the attached RegisterInfo.td file. Do I
have to define different SubRegIndex
like below to make TableGen works correctly?
foreach Index = 0-15 in {
def subd#Index :SubRegIndex<32, !shl(Index, 5)>; //used as SubRegIndex
when declaring gpr_d_simd8
def subw#Index: SubRegIndex<16, !shl(Index, 4)>; //used as SubRegIndex
when declaring gpr_w_simd8
...
}
If anything I am not saying clear, just reply the mail. Thanks for any help!
Thanks!
Ruiling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://l...