From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8673B138334 for ; Mon, 24 Sep 2018 15:50:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C201E09FA; Mon, 24 Sep 2018 15:49:53 +0000 (UTC) Received: from sonic303-3.consmr.mail.bf2.yahoo.com (sonic303-3.consmr.mail.bf2.yahoo.com [74.6.131.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 91618E09D6 for ; Mon, 24 Sep 2018 15:49:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1537804191; bh=NbubhoOa5GPAXwktLN4eEEFLjuKTOgwaD+8IfW6G7PM=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=hyTKImaFCfOU+Qf9rfwUvrXO9pTTiJoASasVAo+A0pTySVDQBcjZMrhIJyWECTYofVN1Lpv4FhcMoBn6ACw7gGv+Jf1mPBj8xtArF/AYICAzXPHki+9GQQk/4LUE3K5Xx7n4W98Vp1IKxjYmSOipBjSrtmjWVt60TG256jDZCptaEV0oFNwf7P3BHZl5KnHcnnlp/hbdfQlTgakW/EglWRbd8g8H0vZgw9kBPxzpdKBh0Wmvgw/AI5sQg8GLMzqMZVGzkoMwvaceqiVejv6evXca+U4wBcpyeHFTIQIul6eetgflvRIllD31Imm1xOyfalny5iHarkAIU+fQBelkvQ== X-YMail-OSG: 1FY4amsVM1mE6bx4PkxZkAYkskw7cGnSoJJ8kscLOU55KdQU2AMmFlBvgoeqSjG 8iwinYfvV6b4X42qISj_MZscyGgi78_nMKiFdmbjO5Al2hOVl7Ymg_iH7B.IDbwawqqFCwmE46rx BpuYaPC5zORyyiyA0Pb_9oy8YIZfh6uTunAhDTBxWvY8ltALuWgz1r4UkOpRtcA1MfiNq3eF.18o .2CtHwmGy8fkhjCc4Wd09aqyFylFeSUhTvXgWRQpjN15EzGNxlYOg5D9NckGSvQSknfvkWVRLfk3 h0u4vyupV6RdGgPriZuNda.uy1A9abmBsC3drKwhTrREXUV6BLYNhmo9ZGH5Tu2HWsCCZFffnoMJ T9KsFglV24S9OMHTVCoVTYvMZqiJKhwsB0JYpcCdWuMP.Ke1D5SgZllyp5I3prgxPNGy7U7vzHHm kWXsKb4709ykV6RDjuL9DjbhEGPFzMrxRkL0kxpJ34cMuVlMSjmpAZ9Tgo6pS7wZZG.yz10aq2ve VDTJTcg9iBv2DHnGQ7vWjfi2oKgDt.iEzzEu4_ofGAz1hZxAwraHefUlmxkF51ZoAI.nzdpGA2F_ .23P_ZTFQOPUJW5fCHdkEA0DWeMGJnCS71uEHDO40brhOEozjaQf4okegxTn4YE5bVpdDtfj.h_H t63sOusBvg5bZOk3cHaIQVAwBRIZylBtvVkxrd_znDm1qfL9o_x161x3bCxrum1CiXQKNw4Qly5i gN5OVlULgPL2ITaPLym65IIZfsX8.6aEUSwwCuwlJyf1sxFjTZYlcPwk3Mr5_ZulWlo_N_09xIqV _4YHY4pOVjC2f6oNBgnTru2lmdsZmdYOZZmHTkFIHSqQ5FzBulx4hwKPsAn0dC_meBHLmx3heg3v jiablbEaFSD7iPlDRNyOK2NGWRvYJAuYExJINSKkJLScsQ7t8wqs3xLLOwCFL0zkAeC0d6cZ3wTB Yq6F3pqAaB3YCV32nDOtttjBXqhUvsaujZUp7IeZ1ZAQm4C0IIYDfq8M1.gCVLaIZjv.DIyu5Few 5kd_XGXc8V0wuI5puYYKdCySz0A-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.bf2.yahoo.com with HTTP; Mon, 24 Sep 2018 15:49:51 +0000 Received: from 072-185-251-010.res.spectrum.com (EHLO [192.168.1.52]) ([72.185.251.10]) by smtp421.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 9a99c859a4f2282ab39a0f05122578ba; Mon, 24 Sep 2018 15:49:48 +0000 (UTC) Subject: Re: [gentoo-user] march cflag for Intel Pentium Dual-Core E2160 SLA8Z Malay processor To: gentoo-user@lists.gentoo.org References: <20180919083722.GA31111@waltdnes.org> <20180923070908.GA12945@waltdnes.org> From: james Openpgp: preference=signencrypt Message-ID: <633b6734-7306-b6a0-1525-5daa958fcd2c@verizon.net> Date: Mon, 24 Sep 2018 11:49:46 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20180923070908.GA12945@waltdnes.org> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: a654ac11-102e-4861-928b-07fe6d788acf X-Archives-Hash: 143fc0c11a815bda2f163f5a5c54c1f7 On 9/23/18 3:09 AM, Walter Dnes wrote: > On Thu, Sep 20, 2018 at 01:00:39AM +0300, gevisz wrote >> ????, 19 ????????. 2018 ??. ?? 11:38, Walter Dnes : > >>> According to >>> http://www.cpu-world.com/sspec/SL/SLA8Z.html it has... >>> >>> MMX SSE SSE2 SSE3 SSSE3 >> >> Do you mean that it would be enough to set >> CFLAGS="-O2 -pipe mmx sse sse2 sse3 ssse3" >> without setting the march cflag at all? > > Yes, that would work. Remember also to include in make.conf > > CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" > > In your jpeg image, I see that the flags include mmx, sse, sse2, pni, > and ssse3. "pni" == "Prescott New Instructions" == "SSE3". Looking at > https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/x86-Options.html#x86-Options > I suggest "-march=core2" with CPU_FLAGS_X86 same as above. The "core2" > option uses MMX, SSE, SSE2, SSE3 and SSSE3 instructions, all of which > show up in the listing on your jpeg. > > https://en.wikipedia.org/wiki/SSE3 >> SSE3, Streaming SIMD Extensions 3, also known by its Intel code name >> Prescott New Instructions (PNI), is the third iteration of the SSE >> instruction set for the IA-32 (x86) architecture. > https://wiki.gentoo.org/wiki/CPU_FLAGS_X86 and similar wiki pages are good links to reference. MG (M. Gorny) has blogged on this subject too:: https://nlug.ml1.co.uk/2016/09/gentoo-portage-cpu_flags_x86-introduction-2015-01-28/5332 I'd be interested in blogs, irc, docs, etc, where distcc is being used as part of a (gentoo-centric) CI/CD and/or cross-compiling for smaller/older target systems, of any architecture (arm or mips or x86 or ?). James