On 07/06/2023 20:42, Richard Sandiford wrote:
I don't know if this helps (probably not), but we have a similar situation on AArch64: a 64-bit mode like V8QI can be doubled to a 128-bit vector or to a pair of 64-bit vectors. We used V16QI for the former and "V2x8QI" for the latter. V2x8QI is forced to come after V16QI in the mode list, and so it is only ever used through explicit choice. But both modes are functionally vectors of 16 QIs.
OK, that's interesting, but how do you map "complex int" vectors to that mode? I tried to figure it out, but there's no DIVMOD support so I couldn't just do a straight comparison.
Thanks Andrew