From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1005) id 1C7FA3858D1E; Tue, 19 Jul 2022 21:20:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C7FA3858D1E 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: 8f3d146c0445dde1aa39bbe536a9bc0a19ab1c85 X-Git-Newrev: df4dc6a3e8764ce905c7e51497e6bca4413ce793 Message-Id: <20220719212047.1C7FA3858D1E@sourceware.org> Date: Tue, 19 Jul 2022 21:20:47 +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: Tue, 19 Jul 2022 21:20:47 -0000 https://gcc.gnu.org/g:df4dc6a3e8764ce905c7e51497e6bca4413ce793 commit df4dc6a3e8764ce905c7e51497e6bca4413ce793 Author: Michael Meissner Date: Tue Jul 19 17:20:16 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 deletions(-) diff --git a/gcc/config/rs6000/rs6000-cpus.def b/gcc/config/rs6000/rs6000-cpus.def index f3d2692cb86..c3825bcccd8 100644 --- a/gcc/config/rs6000/rs6000-cpus.def +++ b/gcc/config/rs6000/rs6000-cpus.def @@ -122,8 +122,6 @@ /* 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 \