Monthly Archives: October 2011

Stupid gcc trick #3: list all built-in gcc #define symbols

Ever wonder whether you should use #ifdef linux … or #ifdef __linux? Ever search /usr/include for the header file that defines __INT_MAX__ … and not find it? These are the little mysteries of gcc’s built-in #defines. However, there’s really no … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment

The full SSE2 bit matrix transpose routine

Source code for this routine and many others using SSE2 in unusual ways is in this github repo. Since there have been a large number of hits on the “SSE2 bit matrix transpose” post, here’s the full deal: transpose of … Continue reading

Posted in Uncategorized | Tagged , , | 6 Comments