mirror of https://github.com/xemu-project/xemu.git
target/avr: Drop R from trans_COM
This variable is not used, only allocated and freed. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c111044933
commit
365a0c5439
|
@ -670,7 +670,6 @@ static bool trans_EOR(DisasContext *ctx, arg_EOR *a)
|
||||||
static bool trans_COM(DisasContext *ctx, arg_COM *a)
|
static bool trans_COM(DisasContext *ctx, arg_COM *a)
|
||||||
{
|
{
|
||||||
TCGv Rd = cpu_r[a->rd];
|
TCGv Rd = cpu_r[a->rd];
|
||||||
TCGv R = tcg_temp_new_i32();
|
|
||||||
|
|
||||||
tcg_gen_xori_tl(Rd, Rd, 0xff);
|
tcg_gen_xori_tl(Rd, Rd, 0xff);
|
||||||
|
|
||||||
|
@ -678,9 +677,6 @@ static bool trans_COM(DisasContext *ctx, arg_COM *a)
|
||||||
tcg_gen_movi_tl(cpu_Cf, 1); /* Cf = 1 */
|
tcg_gen_movi_tl(cpu_Cf, 1); /* Cf = 1 */
|
||||||
tcg_gen_movi_tl(cpu_Vf, 0); /* Vf = 0 */
|
tcg_gen_movi_tl(cpu_Vf, 0); /* Vf = 0 */
|
||||||
gen_ZNSf(Rd);
|
gen_ZNSf(Rd);
|
||||||
|
|
||||||
tcg_temp_free_i32(R);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue