This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16570] missing _mm_malloc and _mm_free functions in xmmintrin.h
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jul 2004 19:30:48 -0000
- Subject: [Bug target/16570] missing _mm_malloc and _mm_free functions in xmmintrin.h
- References: <20040715171800.16570.tfautre@pandora.be>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2004-07-15 19:30 -------
Sure. Allocate ALIGN bytes more than needed, clear the first ALIGN bytes, mark
the first byte with 1, and round up to proper alignment. On freeing you can then
scan back to the mark byte.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16570