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

David Conrad lessen42
Wed Jan 20 23:38:29 CET 2010


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-gassyntax.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100120/276d3202/attachment.txt>



More information about the ffmpeg-devel mailing list