diff options
author | Tom Musta <tommusta@gmail.com> | 2014-04-21 15:55:05 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:30 +0200 |
commit | 5833505be64a27f8ae7a503d3f39b9d586b0d5f6 (patch) | |
tree | cb0c45a040f911eceedc86249cf27133ec6ad34d /target-ppc/helper.h | |
parent | 9024ff40ba79f77b027fb3cbfe584e0005128193 (diff) | |
download | qemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.zip qemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.tar.gz qemu-5833505be64a27f8ae7a503d3f39b9d586b0d5f6.tar.bz2 |
target-ppc: Introduce DFP Compares
Add emulation of the PowerPC Decimal Floating Point Compare instructions
dcmpu[q] and dcmpo[q].
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index f0c0306..2bbae63 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -624,3 +624,7 @@ DEF_HELPER_4(dmul, void, env, fprp, fprp, fprp) DEF_HELPER_4(dmulq, void, env, fprp, fprp, fprp) DEF_HELPER_4(ddiv, void, env, fprp, fprp, fprp) DEF_HELPER_4(ddivq, void, env, fprp, fprp, fprp) +DEF_HELPER_3(dcmpo, i32, env, fprp, fprp) +DEF_HELPER_3(dcmpoq, i32, env, fprp, fprp) +DEF_HELPER_3(dcmpu, i32, env, fprp, fprp) +DEF_HELPER_3(dcmpuq, i32, env, fprp, fprp) |