[FFmpeg-cvslog] r24926 - trunk/libavcodec/x86/vp56dsp.asm

Loren Merritt lorenm
Thu Aug 26 22:41:28 CEST 2010

On Thu, 26 Aug 2010, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
>> This specific problem? Yes.
>> The problem in general? Not so sure.
>> Nowadays compilers tend to be brighter, but one of the issues tended to be that
>> something like
>> int i;
>> for (i = 0; i < j; i++)
>>    array[i];
>> ended up with a sign-extension inside the loop.
>> I'd think that is not that unlikely to apply to other 64 bit
>> architectures as well and would make a "register-size" type
>> useful for them as well.
> That problem is also specific to x86.  I know of no other architecture
> where the declared type of the counter would make a difference in a
> construct like that.

Just to be clear: You're saying that there are no archs other than x86 
where int is 32bit and pointer is 64bit?

--Loren Merritt

More information about the ffmpeg-cvslog mailing list