Date: Wed, 14 Nov 2012 16:44:21 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-arch@freebsd.org Subject: [RFC] bsd.cpu.mk update for newer processors Message-ID: <50A410B5.9070001@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030501020705070507090201 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Since we have enabled clang by default on current, I'd like to update bsd.cpu.mk as well. Please see the attachment. It is also available from here: http://people.freebsd.org/~jkim/cpu.diff I only added most popular SIMD features to MACHINE_CPU (i.e., sse4a, sse41, sse42, and avx) and clang-supported archs to CPUTYPE (i.e., amdfam10, btver1, bdver1, bdver2, corei7, corei7-avx, and core-avx-i). Any objection? Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCkELUACgkQmlay1b9qnVPDrQCfSPgrD0TtoTzURBiWXqyBF5Qy cV4AoImF+M42jXpVUyb9jEh8GMPEcoft =oG+P -----END PGP SIGNATURE----- --------------030501020705070507090201 Content-Type: text/plain; charset=UTF-8; name="cpu.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cpu.diff" SW5kZXg6IHNoYXJlL21rL2JzZC5jcHUubWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc2hhcmUvbWsv YnNkLmNwdS5tawkocmV2aXNpb24gMjQzMDQyKQorKysgc2hhcmUvbWsvYnNkLmNwdS5tawko d29ya2luZyBjb3B5KQpAQCAtMjcsMTAgKzI3LDEwIEBAIE1BQ0hJTkVfQ1BVID0gbWlwcwog IyBiZXR3ZWVuIGUuZy4gaTU4NiBhbmQgcGVudGl1bSkKIAogLiBpZiAke01BQ0hJTkVfQ1BV QVJDSH0gPT0gImkzODYi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CisgICAgJHtDUFVUWVBFfSA9PSAi azgtc3NlMyIKIE1BQ0hJTkVfQ1BVID0gazggM2Rub3cgc3NlMwotLiAgZWxpZiAke0NQVVRZ UEV9ID09ICJvcHRlcm9uIiB8fCAke0NQVVRZUEV9ID09ICJhdGhsb242NCIgfHwgJHtDUFVU WVBFfSA9PSAiazgiCisuICBlbGlmICR7Q1BVVFlQRX0gPT0gIm9wdGVyb24iIHx8ICR7Q1BV VFlQRX0gPT0gImF0aGxvbjY0IiB8fCBcCisgICAgJHtDUFVUWVBFfSA9PSAiazgiCiBNQUNI SU5FX0NQVSA9IGs4IDNkbm93CisuICBlbGlmICR7Q1BVVFlQRX0gPT0gImNvcmVpNy1hdngi IHx8ICR7Q1BVVFlQRX0gPT0gImNvcmUtYXZ4LWkiCitNQUNISU5FX0NQVSA9IGF2eCBzc2U0 MiBzc2U0MSBzc3NlMyBzc2UzCisuICBlbGlmICR7Q1BVVFlQRX0gPT0gImNvcmVpNyIKK01B Q0hJTkVfQ1BVID0gc3NlNDIgc3NlNDEgc3NzZTMgc3NlMwogLiAgZWxpZiAke0NQVVRZUEV9 ID09ICJjb3JlMiIKIE1BQ0hJTkVfQ1BVID0gc3NzZTMgc3NlMwogLiAgZWxpZiAke0NQVVRZ UEV9ID09ICJub2NvbmEiCg== --------------030501020705070507090201--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A410B5.9070001>