提交 f3bc5238 编写于 作者: E Edgar E. Iglesias

CRIS: Fix bmi.

Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
上级 22d83b14
......@@ -957,7 +957,8 @@ static void gen_tst_cc (DisasContext *dc, TCGv cc, int cond)
else if (dc->cc_size == 2)
bits = 15;
tcg_gen_shri_tl(cc, cc_result, 31);
tcg_gen_shri_tl(cc, cc_result, bits);
tcg_gen_andi_tl(cc, cc, 1);
}
else {
cris_evaluate_flags(dc);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册