On 3/12/20 7:58 AM, LIU Zhiwei wrote:
> +static uint8_t vssrl8(CPURISCVState *env, uint8_t a, uint8_t b)
> +{
> + uint8_t round, shift = b & 0x7;
> + uint8_t res;
> +
> + round = get_round(env, a, shift);
> + res = (a >> shift) + round;
> + return res;
> +}
> +static uint16_t vssrl16(CPURISCVState *env, uint16_t a, uint16_t b)Likewise. r~
