[FFmpeg-devel] [PATCH] use 'l' asm suffix to make icc happy

Michael Niedermayer michaelni
Sat Dec 15 23:58:53 CET 2007


On Sat, Dec 15, 2007 at 11:06:32PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Sat, Dec 15, 2007 at 09:56:20PM +0000, M?ns Rullg?rd wrote:
> [...]
> > With what little x86 assembler I know, that looks OK (and it builds
> > over here too).  However, there are several more similar instances in
> > the same file.  I suppose they happened to get compiled differently,
> > and thus didn't cause you any trouble.
> attached patch should fix the rest as well.
> I wonder why it causes no problem with gcc, does it always load it into
> a register?

the gnu assembler does not do any error checking, at least not when i last
tried a few years ago ... maybe it has been fixed ...
but in the past it happily compiled code like
decl %al
so i wouldnt be surprised if it just behaves similar for memory instead of
registers ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071215/cf8e0a86/attachment.pgp>

More information about the ffmpeg-devel mailing list