Re: [PATCH 09/10] mips: Add reduction support for Loongson.

2011-12-22 Thread Richard Henderson
On 12/22/2011 12:42 PM, Richard Sandiford wrote: > Richard Henderson writes: >> + /* Use PUL/PLU to produce { L, H } op { H, L }. >> + By reversing the pair order, rather a pure interleave high, >> + we don't produce erroneous exceptional conditions. */ > > "rather than". We do

Re: [PATCH 09/10] mips: Add reduction support for Loongson.

2011-12-22 Thread Richard Sandiford
Richard Henderson writes: > + /* Use PUL/PLU to produce { L, H } op { H, L }. > + By reversing the pair order, rather a pure interleave high, > + we don't produce erroneous exceptional conditions. */ "rather than". We don't produce erroneous exceptional conditions that would r

[PATCH 09/10] mips: Add reduction support for Loongson.

2011-12-21 Thread Richard Henderson
Both plus and min/max. --- gcc/config/mips/loongson.md | 230 + gcc/config/mips/mips-protos.h |3 + gcc/config/mips/mips.c| 77 ++ 3 files changed, 290 insertions(+), 20 deletions(-) diff --git a/gcc/config/mips/loongson.md b/gc