Mercurial > libavcodec.hg
comparison mpegaudiodec_float.c @ 12089:5638941ec8ef libavcodec
PPC: convert Altivec FFT to pure assembler
On PPC a leaf function has a 288-byte red zone below the stack pointer,
sparing these functions the chore of setting up a full stack frame.
When a function call is disguised within an inline asm block, the
compiler might not adjust the stack pointer as required before a
function call, resulting in the red zone being clobbered.
Moving the entire function to pure asm avoids this problem and also
results in somewhat better code.
author | mru |
---|---|
date | Sun, 04 Jul 2010 18:33:47 +0000 |
parents | 49c528a39187 |
children | fb3fcaf3c1b6 |
comparison
equal
deleted
inserted
replaced
12088:bb603bb20873 | 12089:5638941ec8ef |
---|