https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547
--- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Wed May 22 18:49:22 2019 New Revision: 271516 URL: https://gcc.gnu.org/viewcvs?rev=271516&root=gcc&view=rev Log: Backported from mainline 2019-05-21 Uroš Bizjak <ubiz...@gmail.com> * config/i386/cpuid.h (__cpuid): For 32bit targets, zero %ebx and %ecx bafore calling cpuid with leaf 1 or non-constant leaf argument. 2019-05-21 Uroš Bizjak <ubiz...@gmail.com> PR target/90547 * config/i386/i386.md (anddi_1 to andsi_1_zext splitter): Avoid calling gen_lowpart with CONST operand. testsuite/ChangeLog: Backported from mainline 2019-05-21 Uroš Bizjak <ubiz...@gmail.com> PR target/90547 * gcc.target/i386/pr90547.c: New test. Added: branches/gcc-9-branch/gcc/testsuite/gcc.target/i386/pr90547.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/i386/cpuid.h branches/gcc-9-branch/gcc/config/i386/i386.md branches/gcc-9-branch/gcc/testsuite/ChangeLog