Re: [AD] malloc for bitmaps alignment? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
At 10:02 PM 19/05/2004 +0200, you wrote:
> reading thru some MMX/SSE stuff i found that alignment needs to be
> 16bytes.
What alignment?
a google search for "intel SSE 16 byte alignment" reveals many links
about the performance advantages of 16byte aligned data.
including this one at Intel:
http://www.intel.com/software/products/compilers/flin/docs/f_ug2/code_arch.htm
that quotes:
"Alignment is a very important factor in ensuring good performance. Aligned
memory accesses are faster than unaligned accesses".