This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: mallocating 16 byte aligned blocks...
- From: Mihnea Balta <dark_lkml at mymail dot ro>
- To: Kimmo Fredriksson <kfredrik at cs dot joensuu dot fi>, gcc-help at gcc dot gnu dot org
- Date: Tue, 12 Aug 2003 16:09:57 +0300
- Subject: Re: mallocating 16 byte aligned blocks...
- References: <Pine.LNX.4.44.0308121200460.2580-100000@CSPC201.joensuu.fi>
See the manpage on posix_memalign (if your system has it) or memalign.
On Tuesday 12 August 2003 15:02, Kimmo Fredriksson wrote:
> Hi,
>
> I need to malloc blocks of memory that are quaranteed to be aligned to 16
> byte boundaries. Should I write my own version of malloc, or is there a
> simpler way to achieve this?
>
> kf
>
>
> ---------------------------------------------------------------
> Acasa.ro vine cu albumele, tu vino doar cu pozele ;)
> http://poze.acasa.ro/