On Mon, Jun 12, 2017 at 11:40:17AM -0700, Carl E. Love wrote: > OK, so sounds like I should stick to the general wa register constraint. > The third field of the define_expand I have what I believe is called the > "condition string" as "TARGET_VSX". Is that the appropriate condition > string? I see conditions string "VECTOR_UNIT_VSX_P (V4SFmode)" also > used. Segher is thinking that this string would have the same effect as > "TARGET_VSX"??
rs6000.c has if (TARGET_VSX) { rs6000_vector_unit[V4SFmode] = VECTOR_VSX; which makes VECTOR_UNIT_VSX_P (V4SFmode) the same as TARGET_VSX. > How does one select the correct condition string based > on the register constraint? You don't: you decide both of those based on what you need for the insn at hand. Segher