This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/32961] [4.2/4.3 Regression]: Gcc has different requirements for x86 shift xmm intrinsics



------- Comment #10 from uros at gcc dot gnu dot org  2007-10-18 09:12 -------
Subject: Bug 32961

Author: uros
Date: Thu Oct 18 09:12:30 2007
New Revision: 129433

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129433
Log:
        PR target/32961
        * config/i386/i386.c (ix86_expand_builtin) [IX86_BUILTIN_PSLLWI128,
        IX86_BUILTIN_PSLLDI128, BUILTIN_PSLLQI128, IX86_BUILTIN_PSRAWI128,
        IX86_BUILTIN_PSRADI128, IX86_BUILTIN_PSRLWI128,
        IX86_BUILTIN_PSRLDI128, IX86_BUILTIN_PSRLQI128]: Do not require
        immediate shift value.
        * config/i386/emmintrin.h (_mm_slli_epi16, _mm_slli_epi32,
        _mm_slli_epi64, _mm_srai_epi16, _mm_srai_epi32, _mm_srli_epi16,
        _mm_srli_epi32, _mm_srli_epi64):  Enable disabled functions and
        remove equivalent macro definitions.

testsuite/ChangeLog:

        PR target/32961
        * gcc.target/i386/pr32961.c: New testcase.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.target/i386/pr32961.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/config/i386/emmintrin.h
    branches/gcc-4_2-branch/gcc/config/i386/i386.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]