Ping? The rest of the patch has been approved already.
On Thu, 10 May 2012, Marc Glisse wrote:
Hello,
could an i386 maintainer take a look at the following testcase?
gcc/testsuite/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* gcc.target/i386/shuf-concat.c: New test.
On Mon, May 28, 2012 at 3:37 PM, Marc Glisse marc.gli...@inria.fr wrote:
Ping? The rest of the patch has been approved already.
On Thu, 10 May 2012, Marc Glisse wrote:
Hello,
could an i386 maintainer take a look at the following testcase?
gcc/testsuite/ChangeLog
2012-05-08 Marc Glisse
Hello,
could an i386 maintainer take a look at the following testcase?
gcc/testsuite/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* gcc.target/i386/shuf-concat.c: New test.
--- gcc.target/i386/shuf-concat.c (revision 0)
+++ gcc.target/i386/shuf-concat.c
Looks like a good idea.
Marc Glisse marc.gli...@inria.fr writes:
For the testsuite, since the patch is not in a particular target, it would
be better to have a generic test (in gcc.dg?), but I don't really know how
to write a generic one, so would a test in gcc.target/i386 that scans
the
Marc Glisse marc.gli...@inria.fr writes:
On Tue, 8 May 2012, Richard Sandiford wrote:
I know you said that generalising it could be done later,
and that's fine, but it looks in some ways like it would
be easier to go straight for the more general:
GET_CODE (trueop0) == VEC_CONCAT
On Tue, 8 May 2012, Richard Sandiford wrote:
Marc Glisse marc.gli...@inria.fr writes:
On Tue, 8 May 2012, Richard Sandiford wrote:
I know you said that generalising it could be done later,
and that's fine, but it looks in some ways like it would
be easier to go straight for the more general:
Marc Glisse marc.gli...@inria.fr writes:
Realised afterwards that both versions need to check
GET_MODE_NUNITS (mode) == 2, because we're requiring OP0 and OP1
to be scalar. Sorry for not noticing first time.
I thought that was a consequence of
XVECLEN (trueop1, 0) == 2
(in the lines
Here is a new version.
gcc/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle
of concatenations.
gcc/testsuite/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* gcc.target/i386/shuf-concat.c:
Marc Glisse marc.gli...@inria.fr writes:
Here is a new version.
gcc/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle
of concatenations.
OK, thanks. I'll leave an x86 maintainer to review the testcase,
but
On Tue, 8 May 2012, Richard Sandiford wrote:
Marc Glisse marc.gli...@inria.fr writes:
Here is a new version.
gcc/ChangeLog
2012-05-08 Marc Glisse marc.gli...@inria.fr
* simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle
of concatenations.
OK, thanks. I'll
Hello,
this patch combines for vectors a concat and a shuffle. An example on x86
would be:
__m128d f(double d){
__m128d x=_mm_setr_pd(-d,d);
return _mm_shuffle_pd(x,x,1);
}
which was compiled as:
vmovsd .LC0(%rip), %xmm1
vxorpd %xmm0, %xmm1, %xmm1
vunpcklpd
11 matches
Mail list logo