[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec bitstream.h,1.151,1.152
Måns Rullgård
mru
Thu May 12 22:37:22 CEST 2005
Michael Niedermayer <michaelni at gmx.at> writes:
> Hi
>
> On Thursday 12 May 2005 21:11, M?ns Rullg?rd wrote:
>> michael at mplayerhq.hu (Michael Niedermayer CVS) writes:
>> > -#ifdef ARCH_SPARC
>> > +#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L)
>> > #define UNALIGNED_STORES_ARE_BAD
>> > #endif
>>
>> Why doesn't this bite other non-x86 CPUs?
>
> because they either can do unaligned accesses directly or the kernel catches
> and emulates them, AFAIK in the ARM case this isnt done by default
On Alpha, you get a message in the kernel log if there are unaligned
accesses. Running ffmpeg, I don't get any. On SPARC/Solaris
unaligned accesses cause a SIGBUS and core dump.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-cvslog
mailing list