[PATCH, testsuite]: Add a testcase for PR34283, RA problem fixed by LRA
Uros Bizjak
ubizjak@gmail.com
Sat Oct 27 08:45:00 GMT 2012
Hello!
Attached patch adds a testcase for RA problem that was fixed by LRA.
2012-10-27 Uros Bizjak <ubizjak@gmail.com>
PR target/34283
* gcc.target/i386/pr34283.c: New test.
Tested on x86_64-pc-linux-gnu, committed to mainline SVN.
Uros.
-------------- next part --------------
Index: gcc.target/i386/pr34283.c
===================================================================
--- gcc.target/i386/pr34283.c (revision 0)
+++ gcc.target/i386/pr34283.c (working copy)
@@ -0,0 +1,12 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -msse4" } */
+
+typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
+typedef long long __v2di __attribute__ ((__vector_size__ (16)));
+
+__m128i _mm_set_epi64x (long long __q1, long long __q0)
+{
+ return __extension__ (__m128i)(__v2di){ __q0, __q1 };
+}
+
+/* { dg-final { scan-assembler-not "movdqa" } } */
More information about the Gcc-patches
mailing list