OSDN Git Service

PPC: implement MULH() in assembler
authorMåns Rullgård <mans@mansr.com>
Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 4 May 2009 17:31:15 +0000 (17:31 +0000)
commit3737dd1cd31f72afa905c5efed7dc1d605813229
treee41995699b92c1694683280135fa589921ab5bcb
parente2fa5cf4c96391e82848e078e6a1e40f41c2ea2d
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.

Originally committed as revision 18737 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ppc/mathops.h