aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/translate.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-07 08:07:37 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-07 08:07:37 +0000
commit1a14026e11b9baaf5050b0bed947e1b57f10ca08 (patch)
treea06201cc70543831d6f593414d910f0c80e083a2 /target-sparc/translate.c
parent96d19126227eb6010336f38ce4c09966964bb1f4 (diff)
downloadqemu-1a14026e11b9baaf5050b0bed947e1b57f10ca08.zip
qemu-1a14026e11b9baaf5050b0bed947e1b57f10ca08.tar.gz
qemu-1a14026e11b9baaf5050b0bed947e1b57f10ca08.tar.bz2
Allow NWINDOWS selection (CPU feature with model specific defaults)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4690 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/translate.c')
-rw-r--r--target-sparc/translate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index eb0ab33..999378a 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -3442,8 +3442,6 @@ static void disas_sparc_insn(DisasContext * dc)
goto illegal_insn;
}
#else
- tcg_gen_andi_tl(cpu_dst, cpu_dst,
- ((1 << NWINDOWS) - 1));
tcg_gen_trunc_tl_i32(cpu_tmp32, cpu_dst);
tcg_gen_st_i32(cpu_tmp32, cpu_env,
offsetof(CPUSPARCState, wim));