[FFmpeg-devel] [PATCH]Remove test for cpuid instruction from cpuid.c

Carl Eugen Hoyos cehoyos
Sun Nov 23 16:47:31 CET 2008


M?ns Rullg?rd <mans <at> mansr.com> writes:

> Reimar D?ffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:
> 
> > On Sun, Nov 23, 2008 at 01:45:07PM +0000, Carl Eugen Hoyos wrote:
> >> I will copy the assembly sources into issue 709: It would be nice
> >> if somebody who actually understands the code could comment there.
> >
> > Please replace pushf/popf by pushfd/popfd.

/tmp/cc3SAE8s.s: Assembler messages:
/tmp/cc3SAE8s.s:10: Error: no such instruction: `pushfd'
/tmp/cc3SAE8s.s:15: Error: no such instruction: `popfd'
/tmp/cc3SAE8s.s:16: Error: no such instruction: `pushfd'

> Can someone please explain how the same opcode can behave differently
> depending on the assembler mnemonic used?

Unfortunately, I can't.
But one of you can probably tell me how we can save the stack pointer
independently of what the compiler does?

Carl Eugen





More information about the ffmpeg-devel mailing list