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 8AEC7138334 for ; Wed, 11 Sep 2019 19:31:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E47BBE0AC0; Wed, 11 Sep 2019 19:31:52 +0000 (UTC) Received: from gyakovlev-ws.gaikai.org (unknown [100.42.98.196]) (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 7F1A3E0A9B for ; Wed, 11 Sep 2019 19:31:52 +0000 (UTC) Received: from localhost (gyakovlev-ws.gaikai.org [local]) by gyakovlev-ws.gaikai.org (OpenSMTPD) with ESMTPA id b2caad6d; Wed, 11 Sep 2019 12:31:51 -0700 (PDT) From: Georgy Yakovlev To: gentoo-dev@lists.gentoo.org Cc: Georgy Yakovlev Subject: [gentoo-dev] [PATCH] 2019-09-11-cpu_flags_ppc-introduction: new item Date: Wed, 11 Sep 2019 12:31:43 -0700 Message-Id: <20190911193143.8667-1-gyakovlev@gentoo.org> X-Mailer: git-send-email 2.23.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: c53c353f-86c3-4301-b5f2-a606b6098124 X-Archives-Hash: f4127beabe75f08ae01203440114e9f6 Signed-off-by: Georgy Yakovlev --- ...19-09-11-cpu_flags_ppc-introduction.en.txt | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt diff --git a/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt b/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt new file mode 100644 index 0000000..a4a4ee5 --- /dev/null +++ b/2019-09-11-cpu_flags_ppc-introduction/2019-09-11-cpu_flags_ppc-introduction.en.txt @@ -0,0 +1,38 @@ +Title: new CPU_FLAGS_PPC USE_EXPAND +Author: Georgy Yakovlev +Posted: 2019-09-11 +Revision: 1 +News-Item-Format: 2.0 +Display-If-Keyword: ~ppc +Display-If-Keyword: ~ppc64 +Display-If-Keyword: ppc +Display-If-Keyword: ppc64 + + +A new set of CPU_FLAGS_PPC USE_EXPAND flags has been added. +The flags are: + + altivec - Use the AltiVec/VMX instruction set + vsx - Use the Vector Scalar Extension instruction set + vsx3 - Use the Vector Scalar Extension v.3 instruction set + +Note that CPU_FLAGS_PPC variable is used on ppc and ppc64 architectures. + +In order to transition to new set of flags, if the following flag was +was present: + + USE="altivec" + +This flag needs to be set as: + + CPU_FLAGS_PPC="altivec" + +It's advised to keep 'altivec' USE flag enabled to ensure safe +migration and compatibility with external repositories. +'vsx' and 'vsx3' are new flags and no migration necessary. + +To help users enable the correct USE_EXPAND flags PPC support has been +added to app-portage/cpuid2cpuflags package: + + # emerge -1v >=app-portage/cpuid2cpuflags-7 + $ cpuid2cpuflags -- 2.23.0