From: Edgar E. Iglesias Date: Thu, 24 Oct 2013 16:49:46 +0000 (+0200) Subject: microblaze: Simplify andn by using tcg_gen_andc X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~524^2~3^2~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a235900e225d21237a13333eaff40198974bc861;p=sdk%2Femulator%2Fqemu.git microblaze: Simplify andn by using tcg_gen_andc Signed-off-by: Edgar E. Iglesias --- diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index d183e171d8..916db15c99 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -390,10 +390,7 @@ static void dec_and(DisasContext *dc) return; if (not) { - TCGv t = tcg_temp_new(); - tcg_gen_not_tl(t, *(dec_alu_op_b(dc))); - tcg_gen_and_tl(cpu_R[dc->rd], cpu_R[dc->ra], t); - tcg_temp_free(t); + tcg_gen_andc_tl(cpu_R[dc->rd], cpu_R[dc->ra], *(dec_alu_op_b(dc))); } else tcg_gen_and_tl(cpu_R[dc->rd], cpu_R[dc->ra], *(dec_alu_op_b(dc))); }