[FFmpeg-devel] r9017 breaks WMA decoding on Intel Macs
Mon May 28 00:24:44 CEST 2007
On Sun, 27 May 2007, Guillaume POIRIER wrote:
>On 5/27/07, Zuxy Meng <zuxy.meng at gmail.com> wrote:
>> 2007/5/27, Guillaume Poirier <gpoirier at mplayerhq.hu>:
>> > I guess I'm off to reading the other hunk to figure out what may be
>> > wrong with it. If I can't figure this out, then I'll have to compare
>> > the assembler emitted by GCC.
>> Then please check things like "8+%0" "-16+%1", replace constraints
>> from "m" to "r" and rewrite using "8(%0)" "-16(%1)". Maybe Apple's
>> binutils doesn't like such syntax.
>I guess I suck at doing such things too. Attached patch is an attempt
>to do what you suggest, be it doesn't assemble, either on Linux x86-64
>or OSX x86
When you change from "m" to "r" you're also changing from the lvalue itself
to a pointer to the lvalue.
This results in less efficient code, since you preclude using SIB
addressing and might need an extra register. If the apple version of gas
doesn't like the syntax, it should generate an error.
More information about the ffmpeg-devel