This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add vcond_gen_code optab and expand VEC_COND_EXPR
On Sep 21, 2004, at 2:56 PM, Richard Henderson wrote:
On Thu, Sep 16, 2004 at 09:49:22AM -0700, Devang Patel wrote:
+ emit_insn (GEN_FCN (icode) (target, rtx_op1, rtx_op2, comparison,
const0_rtx));
And what is the point of that const0_rtx?
That's a weakest link of this patch:)
expand_vec_cond_expr_p() passes const1_rtx. It is a boolean flag to see
if operation
is supported on the target or not. I could not think better way of
doing it. Thoughts?
Thanks,
-
Devang