Displaying 2 results from an estimated 2 matches for "pr128".
Did you mean:
vr128
2018 Jan 22
1
X86 new registers not being allocated
Hi all,
I have a bunch of new registers set up in X86RegisterInfo.td, the important
part being
def PR128 : RegisterClass<"X86", [i128],
128, (sequence "POI%u", 0, 7)>;
def VR128 : RegisterClass<"X86", [v4f32, v2f64, v16i8, v8i16, v4i32, v2i64],
128, (add PR128, FR32)>;
I have an entry in X86ISelLowering.cp...
2018 Jan 19
1
Registers for i128 data type not registered in X86
..."poi1", 1>;
def POI2: X86Reg<"poi2", 2>;
def POI3: X86Reg<"poi3", 3>;
def POI4: X86Reg<"poi4", 4>;
def POI5: X86Reg<"poi5", 5>;
def POI6: X86Reg<"poi6", 6>;
def POI7: X86Reg<"poi7", 7>;
def PR128 : RegisterClass<"X86", [i128],
128, (sequence "POI%u", 0, 7)>;
However, my debug message in TargetLowering base in its
method computeRegisterProperties shows that RegClassForVT[MVT::i128] is
still a nullptr. What else should I add for my registe...