Commit Graph

3 Commits

Author SHA1 Message Date
Måns Rullgård b6ec1f47c7 PPC: fix asm operand constraints in AV_RL64
The target register of first word loaded must be marked early-clobber.

Originally committed as revision 19536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-29 19:06:55 +00:00
Måns Rullgård cc078b5d8f PPC: check for x-form asm constraint support
Originally committed as revision 18606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 13:57:30 +00:00
Måns Rullgård 9f5ff83f2a PPC asm for AV_RL*()
PPC is normally big endian but has special little endian load/store
instructions.  Using these avoids a separate byteswap.  This makes the
vorbis decoder about 5% faster.  Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.

Originally committed as revision 18602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-18 00:00:31 +00:00