https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90547

--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu May 23 04:55:40 2019
New Revision: 271537

URL: https://gcc.gnu.org/viewcvs?rev=271537&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-7-branch/gcc/testsuite/gcc.target/i386/pr90547.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/config/i386/cpuid.h
    branches/gcc-7-branch/gcc/config/i386/i386.md
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to