* gcc.target/i386/lzcnt-1.c: Allow a different lzcntw output register.

From-SVN: r235431
This commit is contained in:
Bernd Schmidt 2016-04-26 08:48:14 +00:00 committed by Bernd Schmidt
parent 7db11a5a32
commit 218155e7af
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2016-04-26 Bernd Schmidt <bschmidt@redhat.com>
* gcc.target/i386/lzcnt-1.c: Allow a different lzcntw output register.
2016-04-25 Richard Biener <rguenther@suse.de>
PR tree-optimization/70780

View file

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -mlzcnt " } */
/* { dg-final { scan-assembler "lzcntw\[^\\n]*(%|)ax" } } */
/* { dg-final { scan-assembler "lzcntw\[^\\n]*(%|)\[ad\]\[xi\]" } } */
#include <x86intrin.h>