[FFmpeg-devel] [WIP] [PATCH 4/4] x86: dsputilenc: convert hf_noise*_mmx to yasm
Christophe Gisquet
christophe.gisquet at gmail.com
Mon Jun 2 15:38:59 CEST 2014
Hi,
2014-06-02 15:31 GMT+02:00 Michael Niedermayer <michaelni at gmx.at>:
> see http://en.wikipedia.org/wiki/X86_calling_conventions
> (also maybe someone has a better reference?)
Maybe: http://www.agner.org/optimize/calling_conventions.pdf
In particular section 6. The rules when parameters are float are
particularly difficult to apply generically, e.g. ff_sbr_hf_gen_sse in
libavcodec/sbrdsp.asm
To Timothy:
Michael's guidance here is good to learn assembly, but unless I'm
mistaken, the solution I proposed earlier is much simpler. Also, don't
hesitate to run objdump -d on the object file just to make sure you
missed nothing. yasm -e may also help visualize the post-processed asm
when a macro gets hairy.
--
Christophe
More information about the ffmpeg-devel
mailing list