> It can be just use vfmv.v.f / vmv.v.x > >> /* Same for float, just that we can always handle 64-bit doubles >> even on !TARGET_64BIT. We have ruled out 16-bit HF already >> above. */ >> @@ -6220,6 +6224,10 @@ strided_broadcast_p (rtx op) >> if (!TARGET_ZVFH && mode == HFmode) >> return true; >> >> + /* We don't have a vfmv.bf16.v.f. */ >> + if (mode == BFmode) >> + return true; >> + > > and vfmv.v.f/vmv.v.x here
Hmm, right, you mean punning with HImode again? Yeah, that would work and we could get rid of the strided fallback for that case. I'll do that in v2. -- Regards Robin
