[Bug target/48605] gcc.target/i386/sse4_1-insertps-2.c FAILs with -mtune=geode - instruction insertps with memory operands behaves differently

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 14 21:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48605

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-14 21:30:41 UTC ---
Author: jakub
Date: Thu Apr 14 21:30:37 2011
New Revision: 172458

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172458
Log:
    PR target/48605
    * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM,
    offset it as needed based on top 2 bits in operands[3], change
    MEM mode to SFmode and mask those 2 bits away from operands[3].

    * gcc.target/i386/sse4_1-insertps-3.c: New test.
    * gcc.target/i386/sse4_1-insertps-4.c: New test.
    * gcc.target/i386/avx-insertps-3.c: New test.
    * gcc.target/i386/avx-insertps-4.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx-vinsertps-3.c
    trunk/gcc/testsuite/gcc.target/i386/avx-vinsertps-4.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_1-insertps-3.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_1-insertps-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list