This is so we can try to make use of v_pk_mov_b32 when available. Note this currently has little observable effect. The combiner will undo the common extract of shuffle pattern. The lack of test changes should demonstrate this change is minimally correct. We should probably try to make better use of wider extracts in even aligned cases, but I'm trying to avoid some really ugly regalloc regressions in some MFMA tests. The DAG scheduler ends up doing a worse job if we use vector extracts, resulting in failure to do 3 address conversion of MFMAs.
647 KiB
647 KiB