Re: Why doesn't GCC generate conditional move for COND_EXPR?

2012-05-04 Thread Andrew Pinski
] Sent: 24 October 2011 17:20 To: Richard Guenther Cc: Bingfeng Mei; gcc@gcc.gnu.org Subject: Re: Why doesn't GCC generate conditional move for COND_EXPR? On Mon, Oct 24, 2011 at 7:00 AM, Richard Guenther richard.guent...@gmail.com wrote: On Mon, Oct 24, 2011 at 2:55 PM, Bingfeng Mei b

RE: Why doesn't GCC generate conditional move for COND_EXPR?

2011-10-25 Thread Bingfeng Mei
; gcc@gcc.gnu.org Subject: Re: Why doesn't GCC generate conditional move for COND_EXPR? On Mon, Oct 24, 2011 at 7:00 AM, Richard Guenther richard.guent...@gmail.com wrote: On Mon, Oct 24, 2011 at 2:55 PM, Bingfeng Mei b...@broadcom.com wrote: Hello, I noticed that COND_EXPR is not expanded

Re: Why doesn't GCC generate conditional move for COND_EXPR?

2011-10-24 Thread Richard Guenther
On Mon, Oct 24, 2011 at 2:55 PM, Bingfeng Mei b...@broadcom.com wrote: Hello, I noticed that COND_EXPR is not expanded to conditional move as MIN_EXPR/MAX_EXPR are (assuming movmodecc is available). I wonder why not? I have some loop that fails tree vectorization, but still contains

Re: Why doesn't GCC generate conditional move for COND_EXPR?

2011-10-24 Thread Andrew Pinski
On Mon, Oct 24, 2011 at 7:00 AM, Richard Guenther richard.guent...@gmail.com wrote: On Mon, Oct 24, 2011 at 2:55 PM, Bingfeng Mei b...@broadcom.com wrote: Hello, I noticed that COND_EXPR is not expanded to conditional move as MIN_EXPR/MAX_EXPR are (assuming movmodecc is available). I wonder