Thanks for inputs. Updated test attached. K On Mon, Aug 22, 2011 at 11:12 PM, Jakub Jelinek wrote: > On Mon, Aug 22, 2011 at 10:51:19PM +0400, Kirill Yukhin wrote: >> testsuite/ChangeLog entry: >> 2011-08-22  Kirill Yukhin   >> >>         PR target/50155 >>         * gcc.target/i386/pr50155.c: New test. > > For the testcase, I think you want explicit -mno-avx2 if > you want to check that vpaddd hasn't been emitted, otherwise > anybody testing with --with-arch=corei7-avx2 tuned compiler > ot --target_board=unix/-mavx2 will see failures. > >        Jakub >