[FFmpeg-devel] Some IWMMXT functions for libavcodec

Dmitry Antipov dmantipov
Sat May 17 15:13:48 CEST 2008


Siarhei Siamashka wrote:

> One more interesting issue with WLDRD instruction is that it should support
> register offset addressing mode according to the manual. So you should
> have been able to use:
>     wldrd wr2, [%1, #8]
>     wldrd wr1, [%1], %2
> instead of
>     wldrd wr1, [%1]
>     wldrd wr2, [%1, #8]
>     add %1, %1, %2
> 
> But the toolchain I'm using (also tried gcc 4.3 and binutils 2.18) seems 
> to silently ignore register offset and generates wrong instruction here
> (without register postincrement). Either I'm misunderstanding something, 
> or it is a bug in binutils. Could you please try to investigate it further
> and submit a bugreport to binutils if needed?

Hehe, it's time to upgrade our tools - it's really a misfeature of old toolchains.
For me, moving to gcc 4.2.0 / binutils 2.17.50 (dated 20070611) solves this.

Dmitry






More information about the ffmpeg-devel mailing list