aboutsummaryrefslogtreecommitdiff
path: root/target-arm/op.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-07 12:42:35 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-07 12:42:35 +0000
commit7ff4d2180b27b3356379ca66738da10ad8b2f73a (patch)
treecc195f7f5f33f8671f360076f9cf86a634a84156 /target-arm/op.c
parente88de09993cf37702c1f20f5299471aa123295e6 (diff)
downloadqemu-7ff4d2180b27b3356379ca66738da10ad8b2f73a.zip
qemu-7ff4d2180b27b3356379ca66738da10ad8b2f73a.tar.gz
qemu-7ff4d2180b27b3356379ca66738da10ad8b2f73a.tar.bz2
CF generator for constant operands
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1267 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/op.c')
-rw-r--r--target-arm/op.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-arm/op.c b/target-arm/op.c
index 813c285..5618834 100644
--- a/target-arm/op.c
+++ b/target-arm/op.c
@@ -105,6 +105,11 @@ void OPPROTO op_movl_T1_im(void)
T1 = PARAM1;
}
+void OPPROTO op_mov_CF_T1(void)
+{
+ env->CF = ((uint32_t)T1) >> 31;
+}
+
void OPPROTO op_movl_T2_im(void)
{
T2 = PARAM1;