[PATCH] ppc/svp64: support svshape2 instruction
Dmitry Selyutin
ghostmansd@gmail.com
Fri Sep 9 09:22:51 GMT 2022
On Thu, Sep 8, 2022 at 9:34 PM Dmitry Selyutin <ghostmansd@gmail.com> wrote:
> On Thu, Sep 8, 2022 at 9:26 PM Dmitry Selyutin <ghostmansd@gmail.com> wrote:
> > +{"svshape2", SVM2(22,281), SVM2_MASK, SVP64, PPCVLE, {SVo, yx10, rmm, SVd, sk, mm}},
> > {"svshape", SVM(22,25), SVM_MASK, SVP64, PPCVLE, {SVxd, SVyd, SVzd, SVrm, vf}},
> The order is significant; if svshape2 ends up after svshape, things
> break, due to the fact that svshape opcode starts performing a loose
> match.
I've checked sources a bit more; perhaps this is a good way, other
instructions use this trick too (e.g. isel).
--
Best regards,
Dmitry Selyutin
More information about the Binutils
mailing list