From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id E6D593858438; Mon, 18 Jul 2022 19:32:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6D593858438 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Michael Meissner To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/meissner/heads/work095)] Make BLOCK_OPTS options settable with ISA flags. X-Act-Checkin: gcc X-Git-Author: Michael Meissner X-Git-Refname: refs/users/meissner/heads/work095 X-Git-Oldrev: 5b4a2ac73aabec7807d8c23f0f5b6a4fe20144b5 X-Git-Newrev: 2ea1fb851857d8031d5cdc8f60cb9dfb9d473d47 Message-Id: <20220718193202.E6D593858438@sourceware.org> Date: Mon, 18 Jul 2022 19:32:02 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2022 19:32:03 -0000 https://gcc.gnu.org/g:2ea1fb851857d8031d5cdc8f60cb9dfb9d473d47 commit 2ea1fb851857d8031d5cdc8f60cb9dfb9d473d47 Author: Michael Meissner Date: Mon Jul 18 15:31:46 2022 -0400 Make BLOCK_OPTS options settable with ISA flags. In wanting to turn off block moves from generating load and store vector pair operations on the power10, I noticed that the options for controlling the code block moves generate (OPTION_MASK_BLOCK_OPS_UNALIGNED_VSX and OPTION_MASK_BLOCK_OPS_VECTOR_PAIR) were not set in POWERPC_MASKS. It is possible in future CPUs we might want to enable these options automatically. This code moves these options to POWERPC_MASKS. 2022-07-18 Michael Meissner gcc/ * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add OPTION_MASK_BLOCK_OPS_VECTOR_PAIR and OPTION_MASK_BLOCK_OPS_UNALIGNED_VSX. Diff: --- gcc/config/rs6000/rs6000-cpus.def | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/rs6000/rs6000-cpus.def b/gcc/config/rs6000/rs6000-cpus.def index c3825bcccd8..f3d2692cb86 100644 --- a/gcc/config/rs6000/rs6000-cpus.def +++ b/gcc/config/rs6000/rs6000-cpus.def @@ -122,6 +122,8 @@ /* Mask of all options to set the default isa flags based on -mcpu=. */ #define POWERPC_MASKS (OPTION_MASK_ALTIVEC \ + | OPTION_MASK_BLOCK_OPS_VECTOR_PAIR \ + | OPTION_MASK_BLOCK_OPS_UNALIGNED_VSX \ | OPTION_MASK_CMPB \ | OPTION_MASK_CRYPTO \ | OPTION_MASK_DFP \