[Backport 4.8][PATCH][ARM] Handle unordered comparison cases in NEON vcond

2013-04-04 Thread Kyrylo Tkachov
Hi all, Can I backport the patch at http://gcc.gnu.org/ml/gcc-patches/2013-03/msg00652.html to 4.8? It fixes PR 56720 on arm-*-* targets. The trunk commits for this are r197040 and r197041. It applies cleanly to 4.8 and regtests cleanly on arm-none-eabi. Thanks, Kyrill

Re: [Backport 4.8][PATCH][ARM] Handle unordered comparison cases in NEON vcond

2013-04-04 Thread Ramana Radhakrishnan
On 04/04/13 11:55, Kyrylo Tkachov wrote: Hi all, Can I backport the patch at http://gcc.gnu.org/ml/gcc-patches/2013-03/msg00652.html to 4.8? It fixes PR 56720 on arm-*-* targets. The trunk commits for this are r197040 and r197041. It applies cleanly to 4.8 and regtests cleanly on

Re: [PATCH][ARM] Handle unordered comparison cases in NEON vcond

2013-03-25 Thread Ramana Radhakrishnan
On 03/18/13 12:09, Kyrylo Tkachov wrote: Hi all, Given code: #define MAX(a, b) (a b ? a : b) void foo (int ilast, float* w, float* w2) { int i; for (i = 0; i ilast; ++i) { w[i] = MAX (0.0f, w2[i]); } } compiled with -O1 -funsafe-math-optimizations -ftree-vectorize

[PATCH][ARM] Handle unordered comparison cases in NEON vcond

2013-03-18 Thread Kyrylo Tkachov
Hi all, Given code: #define MAX(a, b) (a b ? a : b) void foo (int ilast, float* w, float* w2) { int i; for (i = 0; i ilast; ++i) { w[i] = MAX (0.0f, w2[i]); } } compiled with -O1 -funsafe-math-optimizations -ftree-vectorize -mfpu=neon -mfloat-abi=hard on arm-none-eabi will cause