- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Would it be possible to add an option to ICC to force malloc/new/etc to perform 16-byte aligned allocations by default and to ensure that structure/class sizes become 16-byte based (including vtable, RTTI etc)?
For large, pre-existing projects where retrofitting healthy SSE-oriented behavior is likely to be an issue ... this would be hugely helpful.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For 32-bit icc, you must use one of the special families of malloc, such as mm_malloc (which isn't 64-bit compatible), aligned_malloc, kmp_malloc. The 64-bit library ABI requirest the malloc to be 16-byte aligned.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page