search for: src0_neg

Displaying 1 result from an estimated 1 matches for "src0_neg".

2008 Sep 23
1
[LLVMdev] Tablegen strings
...t<IL_OP_MOV, (outs GPR:$dst), (ins GPR:$src0), "mov $dst, $src0", [(set GPR:$dst, (fneg GPR:$src0))]>; I want to place a modifier directly after $src0 in the string so that no space is between the string and the matched register. I.e. I want to generate "mov $dst, $src0_neg", however, by putting the _neg right after $src0 forces it to attempt to match against src0_neg instead of just src0. Where can I find the rules for the string pattern matcher so that I can added arbitrary strings into my definition. Thanks, Micah Villmow Systems Engineer Adva...