3125a3126,3137
> IntRegIndex zt = (IntRegIndex) (uint8_t) bits(machInst, 4, 0);
> IntRegIndex rn = (IntRegIndex) (uint8_t) bits(machInst, 9, 5);
> IntRegIndex rm = (IntRegIndex) (uint8_t) bits(machInst, 20, 16);
> IntRegIndex pg = (IntRegIndex) (uint8_t) bits(machInst, 12, 10);
> uint8_t msz = bits(machInst, 24, 23);
> uint8_t num = bits(machInst, 22, 21);
>
> if (rm != 0x1f && num != 0) {
> num++;
> return decodeSveStructLoadSSInsts(msz, machInst,
> zt, pg, rn, rm, num);
> }
3137a3150,3162
> IntRegIndex zt = (IntRegIndex) (uint8_t) bits(machInst, 4, 0);
> IntRegIndex rn = (IntRegIndex) (uint8_t) bits(machInst, 9, 5);
> int64_t imm = sext<4>(bits(machInst, 19, 16));
> IntRegIndex pg = (IntRegIndex) (uint8_t) bits(machInst, 12, 10);
> uint8_t msz = bits(machInst, 24, 23);
> uint8_t num = bits(machInst, 22, 21);
>
> if (num != 0) {
> num++;
> imm *= num;
> return decodeSveStructLoadSIInsts(msz, machInst,
> zt, pg, rn, imm, num);
> }
3333a3359,3370
> IntRegIndex zt = (IntRegIndex) (uint8_t) bits(machInst, 4, 0);
> IntRegIndex rn = (IntRegIndex) (uint8_t) bits(machInst, 9, 5);
> IntRegIndex rm = (IntRegIndex) (uint8_t) bits(machInst, 20, 16);
> IntRegIndex pg = (IntRegIndex) (uint8_t) bits(machInst, 12, 10);
> uint8_t msz = bits(machInst, 24, 23);
> uint8_t num = bits(machInst, 22, 21);
>
> if (rm != 0x1f && num != 0) {
> num++;
> return decodeSveStructStoreSSInsts(msz, machInst,
> zt, pg, rn, rm, num);
> }
3339a3377,3389
> IntRegIndex zt = (IntRegIndex) (uint8_t) bits(machInst, 4, 0);
> IntRegIndex rn = (IntRegIndex) (uint8_t) bits(machInst, 9, 5);
> int64_t imm = sext<4>(bits(machInst, 19, 16));
> IntRegIndex pg = (IntRegIndex) (uint8_t) bits(machInst, 12, 10);
> uint8_t msz = bits(machInst, 24, 23);
> uint8_t num = bits(machInst, 22, 21);
>
> if (num != 0) {
> num++;
> imm *= num;
> return decodeSveStructStoreSIInsts(msz, machInst,
> zt, pg, rn, imm, num);
> }