This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/16570] missing _mm_malloc and _mm_free functions in xmmintrin.h


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]