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

--- Comment #3 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed Sep 18 19:49:19 2019
New Revision: 275905

URL: https://gcc.gnu.org/viewcvs?rev=275905&root=gcc&view=rev
Log:
i386: Increase Skylake SImode pseudo register store cost

On Skylake, SImode store cost isn't less than half cost of 128-bit vector
store.  This patch increases Skylake SImode pseudo register store cost to
make it the same as QImode and HImode.

gcc/

        PR target/91446
        * config/i386/x86-tune-costs.h (skylake_cost): Increase SImode
        pseudo register store cost from 3 to 6 to make it the same as
        QImode and HImode.

gcc/testsuite/

        PR target/91446
        * gcc.target/i386/pr91446.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr91446.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/x86-tune-costs.h
    trunk/gcc/testsuite/ChangeLog

Reply via email to