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

Måns Rullgård mans
Sun Nov 23 17:06:12 CET 2008


Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> On Sun, Nov 23, 2008 at 03:40:05PM +0000, M?ns Rullg?rd wrote:
>> 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.
>> 
>> Can someone please explain how the same opcode can behave differently
>> depending on the assembler mnemonic used?
>
> Uh, as I read it ICC compiled pushf to pushfw (16 bit) instead of pushfd
> (32 bit). At least that was my theory.

Yes, but all the pushf* instructions have the same opcode (0x9c).

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list