http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50185

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-08-25
         AssignedTo|unassigned at gcc dot       |kirill.yukhin at intel dot
                   |gnu.org                     |com
            Summary|[4.7 Regression] FAIL:      |[4.7 Regression] Bad AVX2
                   |gcc.target/i386/avx2-vmovms |tests
                   |kb-2.c scan-assembler       |
                   |vmovmskb on                 |
                   |x86_64-apple-darwin10       |
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-25 18:46:28 
UTC ---
Many AVX2 tests have things like:

[hjl@gnu-6 i386]$ head -10 avx2-vmovmskb-2.c
/* { dg-do compile } */
/* { dg-options "-mavx2 -O2" } */
/* { dg-final { scan-assembler "vmovmskb" } } */

It scans vmovmskb, which is also the part of filename:

[hjl@gnu-6 gcc]$ head avx2-vmovmskb-2.s
    .file    "avx2-vmovmskb-2.c"
    .text
    .p2align 4,,15
    .type    do_test, @function

Even if there is no vmovmskb instruction at all, the scan
still passes.  We should add -dp:

/* { dg-options "-mavx2 -O2 -dp" } */

and scan the proper pattern name.

Also avx2-vmovmskb-2.c should be avx2-vpmovmskb-2.c.

Reply via email to