Displaying 2 results from an estimated 2 matches for "sdtcisflag".
2018 Jul 10
2
Stuck with instruction in tablegen
2018 Jul 10
2
Stuck with instruction in tablegen
...$src),
[(set A, F,
(Z80add_flag
A, (i8 (load iPTR:$src))))]>;
}
}
and the parameters:
def SDTBinOpRF : SDTypeProfile<2, 2, [SDTCisInt<0>,
SDTCisFlag<1>,
SDTCisSameAs<2, 0>,
SDTCisSameAs<3, 0>]>;
def Z80add_flag : SDNode<"Z80ISD::ADD", SDTBinOpRF,
[SDNPCommutative]>;
The unary instruction builds fine, whi...