diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2023-09-15 10:23:02 +0200 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2023-10-03 10:39:05 +0200 |
commit | 9d31045b21324166c3997d603961d99e3c4c357d (patch) | |
tree | 2963a57cf429144459d34db8fd1327af0ae9075d /gcc/cgraph.cc | |
parent | dd1091fe455c1ede5993b4cdf10d0f7c461b86d7 (diff) | |
download | gcc-9d31045b21324166c3997d603961d99e3c4c357d.zip gcc-9d31045b21324166c3997d603961d99e3c4c357d.tar.gz gcc-9d31045b21324166c3997d603961d99e3c4c357d.tar.bz2 |
recog: Support space in "[ cons"
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.
Diffstat (limited to 'gcc/cgraph.cc')
0 files changed, 0 insertions, 0 deletions