[AD] malloc for bitmaps alignment? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
reading thru some MMX/SSE stuff i found that alignment needs to be 16bytes..
when memory is malloc'ed for bitmaps are they 16byte aligned ?
is this something that allegro needs to take care of ?
if allegro can not guarantee it, can i create_bitmap() only multiples of
16 to guarantee alignment ?
if its an allegro thing that needs to be fixed, there are functions
called _aligned_malloc()
as i am using MMX/SSE on memory bitmaps, is there any other advice or known
problems you can ..er.. advice me about ?
aj.