]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
PPC: implement MULH() in assembler
authormru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)
committermru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)
commit0fb8f28d7ebed5cfc961e63414187b1001081404
treecec8c3e7599c64a9773cd65dcae072c6077bde9a
parent07987b6bd6efbe8161f4805962942c751f7234f2
PPC: implement MULH() in assembler

Left to its own devices, gcc calculates the full 64-bit product only to
discard the low 32 bits.  This forces it to do the right thing.

20% faster MP3 decoding on G4.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18737 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavcodec/ppc/mathops.h