Displaying 1 result from an estimated 1 matches for "eapermuterhs".
2007 Sep 13
1
[LLVMdev] Nested multiclass/defm declarations?
...o Stored in the instruction, e.g. "#400".
Quite a few instructions support arbitrary choices of EA (effective
addressing) modes for both operands, giving an explosion of
permutations (11 * 11 !!). I thought about using a nested multiclass
declaration to resolve this, as in
multiclass EAPermuteRhs<dag lhs_oper, string asmstr> {
def _dx : I<(outs DataRegister:$dst), lhs_oper, ..... > ;
def _ax : I<(outs AddressRegister:$dst), lhs_oper, ..... > ;
def _ax_postincrement : I<(outs AddressRegister:$dst), lhs_oper, ..... > ;
// And many more
}
multiclass EAPermute&l...