From 6fe452c83345271b9c64b88e9bf25a228edd7bbc Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 15 Sep 2012 17:03:46 +0000 Subject: extend comments about Clang, update HISTORY git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1735 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- pm_config.in.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pm_config.in.h') diff --git a/pm_config.in.h b/pm_config.in.h index f0d83e1e..3e2f781c 100644 --- a/pm_config.in.h +++ b/pm_config.in.h @@ -226,7 +226,7 @@ /* If the compiler is Clang, ignore reported __GNUC__ , __GNUC_MINOR__ - values. Treat it as a generic c compiler. Clang normally reports itself + values. Treat it as a generic C compiler. Clang normally reports itself as GCC, but does not necessarily offer all the features of GCC. For example, we know that Apple Mac OSX 10.8 ships with @@ -236,6 +236,11 @@ which masquerades as GCC 4.2.1, but it does not have SSE2 function __builtin_ia32_pcmpeqb128 . + On the other hand, research by Prophet of the Way in September 2012 + indicated that Clang 2.6-3.0 have the above function (and all Netpbm + compiled successfully with SSE exploitation), but 3.1 does not. He did + not find any mention in documentation of that change. + See below on compilers other than GCC that set __GNUC__: http://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers */ -- cgit 1.4.1