Thanks for the patch and sorry for the slow reply.
Must admit that I hadn't realised that we'd quite that many
autodetect_types, sorry. Obviously the operand numbering is a lot
less regular in arm than in aarch64. :-) The approach still seems
reasonable to me though, and the patch generally
The type attribute "alu_shfit_imm" is subdivided into
"alu_shift_imm_lsl_1to4" and "alu_shift_imm_other", to accommodate
optimazations of some microarchitectures.
Here is the detailed discussion.
https://gcc.gnu.org/pipermail/gcc/2020-September/233594.html
ChangeLog:
2020-09-29 Qian jianhua