提交 a69f97c1 编写于 作者: F Frank Chang 提交者: Alistair Francis

target/riscv: fix return value of do_opivx_widen()

do_opivx_widen() should return false if check function returns false.
Signed-off-by: NFrank Chang <frank.chang@sifive.com>
Reviewed-by: NRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20200710104920.13550-4-frank.chang@sifive.com>
Signed-off-by: NAlistair Francis <alistair.francis@wdc.com>
上级 1989205c
......@@ -1151,7 +1151,7 @@ static bool do_opivx_widen(DisasContext *s, arg_rmrr *a,
if (opivx_widen_check(s, a)) {
return opivx_trans(a->rd, a->rs1, a->rs2, a->vm, fn, s);
}
return true;
return false;
}
#define GEN_OPIVX_WIDEN_TRANS(NAME) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册