[FFmpeg-devel] [PATCH] Simplify some declarations of aligned arrays

Michael Niedermayer michaelni
Fri Aug 28 15:47:47 CEST 2009


On Fri, Aug 28, 2009 at 09:32:26AM +0100, Mans Rullgard wrote:
> If DECLARE_ALIGNED_16 works on uint64_t it will work smaller types too.

but if it doesnt work on either, uint64_t will possibly at least provide
8 byte alignment and has a 50% chance to provide 16bytes, this may have
a performance advantage but
either way, i dont think this messy code has been added without it being
needed for some gcc version (just my oppinion, i didnt investigat the
history of this at all)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090828/e09d8ced/attachment.pgp>



More information about the ffmpeg-devel mailing list