On 8/17/20 1:48 AM, frank.ch...@sifive.com wrote:
> +static inline bool is_aligned(const uint8_t val, const uint8_t pos)
> +{
> +return pos ? (val & (pos - 1)) == 0 : true;
> +}
The truncation to uint8_t from int is odd. Can we drop all of that and just
use int?
Looking at the uses, I think
From: Frank Chang
Update check functions with RVV 1.0 rules.
Signed-off-by: Frank Chang
---
target/riscv/insn_trans/trans_rvv.inc.c | 708
1 file changed, 476 insertions(+), 232 deletions(-)
diff --git a/target/riscv/insn_trans/trans_rvv.inc.c