[FFmpeg-devel] Patch: Inline asm fixes for Intel compiler on Windows

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 29 14:19:40 CET 2013


On Sun, Dec 29, 2013 at 02:48:52PM +1100, Matt Oliver wrote:
> is to much to ask. The only other option I can think of is to have
> different versions. i.e. for those few lines with direct symbol references
> have an #ifdef that only changes the code for Intel compiler on Windows.
> Windows shared libraries dont need PIC so this shouldn't be a problem.
> Although the code may become a bit ugly.

One thing I thought of: You could try using named asm constraints, and
only change the MANGLE to convert to a reference to a named asm
argument.
If you are lucky in quite a few cases you'd then only need an ifdef
around the extra asm constraints.


More information about the ffmpeg-devel mailing list