Projects
openEuler:24.03:SP1:Everything
gcc
_service:tar_scm:0154-Backport-SME-recog-Suppor...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0154-Backport-SME-recog-Support-space-in-cons.patch of Package gcc
From e593ad216bd1f4f75d9875898f352e0e5f978159 Mon Sep 17 00:00:00 2001 From: Andrea Corallo <andrea.corallo@arm.com> Date: Fri, 15 Sep 2023 10:23:02 +0200 Subject: [PATCH 055/157] [Backport][SME] recog: Support space in "[ cons" Reference: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9d31045b21324166c3997d603961d99e3c4c357d Hi all, this is to allow for spaces before "cons:" in the definitions of patterns using the new compact syntax, ex: (define_insn "aarch64_simd_dup<mode>" [(set (match_operand:VDQ_I 0 "register_operand") (vec_duplicate:VDQ_I (match_operand:<VEL> 1 "register_operand")))] "TARGET_SIMD" {@ [ cons: =0 , 1 ; attrs: type ] [ w , w ; neon_dup<q> ] dup\t%0.<Vtype>, %1.<Vetype>[0] [ w , ?r ; neon_from_gp<q> ] dup\t%0.<Vtype>, %<vwcore>1 } ) gcc/Changelog 2023-09-20 Andrea Corallo <andrea.corallo@arm.com> * gensupport.cc (convert_syntax): Skip spaces before "cons:" in new compact pattern syntax. --- gcc/gensupport.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/gensupport.cc b/gcc/gensupport.cc index 97c614850..3d7a6d4fd 100644 --- a/gcc/gensupport.cc +++ b/gcc/gensupport.cc @@ -893,6 +893,8 @@ convert_syntax (rtx x, file_location loc) if (!expect_char (&templ, '[')) fatal_at (loc, "expecing `[' to begin section list"); + skip_spaces (&templ); + parse_section_layout (loc, &templ, "cons:", tconvec, true); if (*templ != ']') -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2