i have loop index I. I want to increment it by 1. How to do this in registerinfo.td. I m trying following but getting error.
let SubRegIndices = [sub_32bit, sub_32bit_hi], CoveredBySubRegs = 1 in {
foreach I = 0-255 in
{ m=add(I,1);
def R_#J#REG64b#I : R_P<“R_”#J#“R64b”#I, !shl(I,2), [!cast<R_P>(“R_”#J#“REG32b”#I), !cast<R_PIM>(“R_”#J#“REG32b”#m)]>;
}
}
please help. how to increment I (add+1 in I).
Thank You