aboutsummaryrefslogtreecommitdiff
path: root/target-cris/op.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 03:18:30 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 03:18:30 +0000
commitfd56059fb612090f5fab049d44e39760ac8fe523 (patch)
tree1fe74a0a5c98267423d65872129ebaf6c45701d9 /target-cris/op.c
parent38453b93dde5aa7693ee271275f7c71ed9003f96 (diff)
Optimize clear insns by treating support reg P0 specially and
add missing micro-op RETURN's (Edgar E. Iglesias). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3913 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris/op.c')
-rw-r--r--target-cris/op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-cris/op.c b/target-cris/op.c
index 6e17719b6f..3c50574e76 100644
--- a/target-cris/op.c
+++ b/target-cris/op.c
@@ -205,6 +205,7 @@ void OPPROTO op_ccs_lshift (void)
ccs = env->pregs[SR_CCS];
ccs = (ccs & 0xc0000000) | ((ccs << 12) >> 2);
env->pregs[SR_CCS] = ccs;
+ RETURN();
}
void OPPROTO op_ccs_rshift (void)
{
@@ -214,6 +215,7 @@ void OPPROTO op_ccs_rshift (void)
ccs = env->pregs[SR_CCS];
ccs = (ccs & 0xc0000000) | (ccs >> 10);
env->pregs[SR_CCS] = ccs;
+ RETURN();
}
void OPPROTO op_setf (void)