RE: [GD-Windows] Data alignment...
Brought to you by:
vexxed72
From: Wayne C. <wc...@re...> - 2002-01-25 10:37:30
|
> I'm not sure if vc7 comes with the proccecor pack built in, but if it > doesn't you should download it from Microsoft's site. > > Then use the new __declspec (align) tags, and if needed use the > align_malloc() and align_free() functions. Yes it has the processor pack built in and I've flagged the structures with __declspec( align( 16 ) ). I couldn't find the align_malloc and align_free functions though, thanks for the pointer I'll take a look for them tonight when I get home. I wrote my own but I'd prefer to use the supplied routines (typically a search for align, alignment, malloc, _mm_malloc didn't find anything). Thanks again. Wayne -Virus scanned and cleared ok |