[FFmpeg-devel] [PATCH] Workaround bugs in Apple's assembler

Michael Niedermayer michaelni
Thu Jan 21 00:13:54 CET 2010


On Wed, Jan 20, 2010 at 05:38:29PM -0500, David Conrad wrote:
> On Jan 20, 2010, at 6:23 AM, David Conrad wrote:
> 
> > Hi,
> > 
> > Apple's assembler discards the offset in an expression like 8+(%eax) (no, they haven't fixed it in the last 2 years...) gcc currently doesn't hit this bug with ffmpeg's asm, but clang does on x86-32.
> 
> I guess this is better since 8+() and 8+1*() are invalid for linux gas too. It should produce identical asm modulo compiler bugs.
> 

ok if it does produce the same asm

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20100121/bf02d177/attachment.pgp>



More information about the ffmpeg-devel mailing list