_mmx_one undefined
Status: Beta
Brought to you by:
chappelier
_mmx_one is undefined compiling with gcc 3.4.0
(mingw special)
Why:
It seems that the compiler optimizes away the
_mmx_one in half_mmx.h, cause it only gets used in
the assembler block.
maybe a gcc bug dont know...
fixed by using mmx_one in mmx_interpolate(...)
replaced
_mmx_rc[0] = 1 - rounding;
by
_mmx_rc[0] = _mmx_one[0] - rounding;
Lars Wolter
lars@larswolter.de
Logged In: NO
Had the same problem on my LFS system. Your patch fixed it,
thanks.
##############:~/src/mpg$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --prefix=/usr
--libexecdir=/usr/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.5
##############:~/src/mpg$ uname -a
Linux ########## 2.6.15 #8 Thu Sep 28 13:31:59 CEST 2006
i686 athlon-4 i386 GNU/Linux