On 08.03.22 02:53, Richard Henderson wrote: > From: David Miller <dmiller...@gmail.com> > > This includes VLEBR* and VSTEBR* (single element); > VLBRREP (load single element and replicate); and > VLLEBRZ (load single element and zero).
"load byte reversed element and ..." > > Signed-off-by: David Miller <dmiller...@gmail.com> > Message-Id: <20220307020327.3003-6-dmiller...@gmail.com> > [rth: Split out elements (plural) from element (scalar), > Use tcg little-endian memory operations.] > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> [...] > diff --git a/target/s390x/tcg/insn-data.def b/target/s390x/tcg/insn-data.def > index ee6e1dc9e5..b80f989002 100644 > --- a/target/s390x/tcg/insn-data.def > +++ b/target/s390x/tcg/insn-data.def > @@ -1027,6 +1027,14 @@ > F(0xe756, VLR, VRR_a, V, 0, 0, 0, 0, vlr, 0, IF_VEC) > /* VECTOR LOAD AND REPLICATE */ > F(0xe705, VLREP, VRX, V, la2, 0, 0, 0, vlrep, 0, IF_VEC) > +/* VECTOR LOAD BYTE REVERSED ELEMENT */ > + E(0xe601, VLEBRH, VRX, VE2, la2, 0, 0, 0, vlebr, 0, ES_16, IF_VEC) > + E(0xe603, VLEBRF, VRX, VE2, la2, 0, 0, 0, vlebr, 0, ES_32, IF_VEC) > + E(0xe602, VLEBRG, VRX, VE2, la2, 0, 0, 0, vlebr, 0, ES_64, IF_VEC) > +/* VECTOR LOAD BYTE REVERSED ELEMENT AND REPLOCATE */ s/REPLOCATE/REPLICATE/ > + F(0xe605, VLBRREP, VRX, VE2, la2, 0, 0, 0, vlbrrep, 0, IF_VEC) > +/* VECTOR LOAD BYTE REVERSED ELEMENT AND ZERO */ > + F(0xe604, VLLEBRZ, VRX, VE2, la2, 0, 0, 0, vllebrz, 0, IF_VEC) > /* VECTOR LOAD BYTE REVERSED ELEMENTS */ > F(0xe606, VLBR, VRX, VE2, la2, 0, 0, 0, vlbr, 0, IF_VEC) > /* VECTOR LOAD ELEMENT */ > @@ -1081,6 +1089,10 @@ > F(0xe75f, VSEG, VRR_a, V, 0, 0, 0, 0, vseg, 0, IF_VEC) > /* VECTOR STORE */ > F(0xe70e, VST, VRX, V, la2, 0, 0, 0, vst, 0, IF_VEC) > +/* VECTOR STORE BYTE REVERSED ELEMENT */ > + E(0xe609, VSTEBRH, VRX, VE2, la2, 0, 0, 0, vstebr, 0, ES_16, IF_VEC) > + E(0xe60b, VSTEBRF, VRX, VE2, la2, 0, 0, 0, vstebr, 0, ES_32, IF_VEC) > + E(0xe60a, VSTEBRG, VRX, VE2, la2, 0, 0, 0, vstebr, 0, ES_64, IF_VEC) > /* VECTOR STORE BYTE REVERSED ELEMENTS */ > F(0xe60e, VSTBR, VRX, VE2, la2, 0, 0, 0, vstbr, 0, IF_VEC) > /* VECTOR STORE ELEMENT */ Reviewed-by: David Hildenbrand <da...@redhat.com> -- Thanks, David / dhildenb