This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/13850] Fails to compile ffmpeg on x86: can't find a register in class `GENERAL_REGS' while reloading `asm'
- From: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2004 22:58:05 -0000
- Subject: [Bug inline-asm/13850] Fails to compile ffmpeg on x86: can't find a register in class `GENERAL_REGS' while reloading `asm'
- References: <20040124223232.13850.bero@arklinux.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bero at arklinux dot org 2004-01-24 22:58 -------
True... Unfortunately we can't fix the CPUs. ;)
Another note:
It works with gcc 3.3.x only at -O1 and higher.
[bero@build-athlon i386]$ gcc --version 2>&1 |head -n 1
gcc (GCC) 3.3.3 20040111 (Ark Linux 1.0 3.3.3-0.20040111.1ark)
[bero@build-athlon i386]$ gcc-ssa --version 2>&1 |head -n 1
gcc-ssa (GCC) 3.5-tree-ssa 20040120 (Ark Linux 3.5-0.ssa20040120.1ark)
[bero@build-athlon i386]$ gcc -O0 -c -o test.o dsputil_mmx.c
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:45: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
[bero@build-athlon i386]$ gcc -O1 -c -o test.o dsputil_mmx.c
[bero@build-athlon i386]$ gcc-ssa -O0 -c -o test.o dsputil_mmx.c
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:45: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
[bero@build-athlon i386]$ gcc-ssa -O1 -c -o test.o dsputil_mmx.c
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:45: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
[bero@build-athlon i386]$ gcc-ssa -O99 -c -o test.o dsputil_mmx.c
dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
dsputil_mmx.c:45: error: can't find a register in class `GENERAL_REGS' while
reloading `asm'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13850