Vector narrowing conversion instructions are provided to and from all
supported integer EEWs for Zve32f extension.
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id:
20220118014522.13613-17-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
return opfv_narrow_check(s, a) &&
require_rvf(s) &&
(s->sew != MO_64) &&
+ require_zve32f(s) &&
require_zve64f(s);
}
return opfv_narrow_check(s, a) &&
require_scale_rvf(s) &&
(s->sew != MO_8) &&
+ require_scale_zve32f(s) &&
require_scale_zve64f(s);
}
vext_check_isa_ill(s) &&
/* OPFV narrowing instructions ignore vs1 check */
vext_check_sd(s, a->rd, a->rs2, a->vm) &&
+ require_scale_zve32f(s) &&
require_scale_zve64f(s);
}