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

Michael Niedermayer michaelni at gmx.at
Sun Dec 29 16:26:09 CET 2013

On Sun, Dec 29, 2013 at 02:19:40PM +0100, Reimar Döffinger wrote:
> 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.

that should be possible without ifdef, see XMM_CLOBBERS_ONLY() for
something similar

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131229/14dc92d4/attachment.asc>

More information about the ffmpeg-devel mailing list