Jung-uk Kim <j...@freebsd.org> writes: > Author: jkim > Date: Mon Nov 19 21:58:14 2012 > New Revision: 243310 > URL: http://svnweb.freebsd.org/changeset/base/243310 > > Log: > Add x86 CPUs supported by clang on head. > > Reviewed by: arch (silence) > X-MFC: r242624
No penryn? My core2 supports sse41. $ clang -v -march=native foo.c ... -target-cpu penryn ... $ gcc47 -v -march=native foo.c ... -march=core2 ... $ clang -march=penryn foo.c $ gcc47 -march=penryn foo.c foo.c:1:0: error: bad value (penryn) for -march= switch $ gcc47 -march=core2 -dM -E -</dev/null | fgrep -i sse4 Exit 1 $ gcc47 -march=native -dM -E -</dev/null | fgrep -i sse4 #define __SSE4_1__ 1 Not to mention bsd.cpu.mk still thinks core2 doesn't need ssse3 on i386. $ __MAKE_CONF= make -V CFLAGS CPUTYPE=core2 MACHINE_CPUARCH=i386 -O2 -pipe -march=prescott $ /usr/bin/gcc -m32 -march=prescott -dM -E -</dev/null | fgrep -i sse #define __SSE__ 1 #define __SSE2__ 1 #define __SSE3__ 1 $ /usr/bin/gcc -m32 -march=core2 -dM -E -</dev/null | fgrep -i sse #define __SSSE3__ 1 #define __SSE__ 1 #define __SSE2__ 1 #define __SSE3__ 1 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"