This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/8600: internal error using builtin shift MMX functions
- From: Matthias Klose <doko at smile dot cs dot tu-berlin dot de>
- To: gcc-gnats at gcc dot gnu dot org, debian-gcc at lists dot debian dot org
- Date: Sat, 16 Nov 2002 10:24:40 +0100
- Subject: target/8600: internal error using builtin shift MMX functions
- Reply-to: 166940 at bugs dot debian dot org
>Number: 8600
>Category: target
>Synopsis: internal error using builtin shift MMX functions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Sat Nov 16 01:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Petr Konecny <pekon@ams.sunysb.edu>
>Release: 3.2.1 (Debian) (Debian unstable)
>Organization:
The Debian Project
>Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686
host: i386-linux
Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
>Description:
[ Reported to the Debian BTS as report #166940.
Please CC 166940@bugs.debian.org on replies.
Log of report can be found at http://bugs.debian.org/166940 ]
Trying to compile the following code:
// mmxtest.c
typedef int v4hi __attribute__ ((mode(V4HI)));
int main(int argc,char *argv[])
{
v4hi a;
v4hi result = __builtin_ia32_psraw(a,1);
}
with: gcc-3.2 -mmmx -c mmxtest.c
and got the following error:
mmxtest.c: In function `main':
mmxtest.c:6: Internal compiler error in ix86_expand_binop_builtin, at
config/i386/i386.c:11503
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I am getting the same error with psllw and psrlw, I have not tested
others.
Petr
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: