On Fri, Oct 14, 2011 at 03:13:45PM +0400, Kirill Yukhin wrote:

--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/avx2-vpaddb-3.c
@@ -0,0 +1,49 @@
+/* { dg-do run } */
+/* { dg-options "-mavx2 -O2 -ftree-vectorize -save-temps" } */
+/* { dg-require-effective-target avx2 } */
+
...
+
+/* { dg-final { scan-assembler-times "vpaddb\[ \\t\]+\[^\n\]*%ymm\[0-9\]" 1 } 
} */

You need
/* { dg-final { cleanup-saved-temps } } */
in all the testcases compiled with -save-temps. 

        Jakub

Reply via email to