> From: Pan Li <[email protected]> > > According to the spec and confirmation from below issue. The different > source eew rule will apply for all rvv widen tenary ops. Aka the vd > will be treated as source as well, and then the vd reg group cannot > be re-used(include overlap in highest part) in other source when diff > EEW. > > Therefore, disable the overlap for those insns. > > "A vector register cannot be used to provide source operands with more > than one EEW for a single instruction. A mask register source is > considered to have EEW=1 for this constraint. An encoding that would > result in the same vector register being read with two or more different > EEWs, including when the vector register appears at different positions > within two or more vector register groups, is reserved."
Ah, as one source == destination in ternary ops and the destination always has a different EEW in widening ops, we must not overlap at all. LGTM. -- Regards Robin
