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: "tfautre at pandora dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2004 15:19:05 -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 tfautre at pandora dot be 2004-07-20 15:19 -------
> I think we should have 2 versions. One uses posix_memalign and the other one
> doesn't. A target can pick the best one.
Agreed.
As for the "other one", I like the _aligned_malloc implementation posted by
Danny, even though it's using more memory (from 32 to 64 bits) than the marker idea.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16570