Hi Michael,
It looks like this patch introduces regressions on armeb in:
gcc.dg/vect/vect-reduc-7.c
gcc.dg/vect/vect-reduc-8.c
gcc.dg/vect/vect-reduc-9.c
See
http://people.linaro.org/~christophe.lyon/cross-validation/gcc/trunk/226476/report-build-info.html
for a bit more details.
Can you have a
Hi Michael,
On 26/07/15 23:54, Michael Collison wrote:
Here is an updated patch that addresses the issues you mentioned:
2015-07-24 Michael Collison
* gcc/config/arm/arm.md (*arm_smin_cmp): New pattern.
(*arm_umin_cmp): Likewise.
* gcc.target/
Here is an updated patch that addresses the issues you mentioned:
2015-07-24 Michael Collison
* gcc/config/arm/arm.md (*arm_smin_cmp): New pattern.
(*arm_umin_cmp): Likewise.
* gcc.target/arm/mincmp.c: Test min compare idiom.
diff --git a/gcc/config/
On Thu, Jun 25, 2015 at 6:08 PM, Michael Collison
wrote:
>
> This patch is designed to optimize constructs such as:
>
> #define min(x, y) ((x) <= (y)) ? (x) : (y)
>
> unsignedint foo (unsignedint i, unsignedint x ,unsignedint y)
> {
> return i < (min (x, y));
> }
>
> int bar (int i,int x