diff options
author | Tom Musta <tommusta@gmail.com> | 2014-01-07 10:06:00 -0600 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:42 +0100 |
commit | 28288b48a83e903198ee22d8558c43b021e39a17 (patch) | |
tree | a0913cca1f52ba2cbbf82bc84cc48c1d98cb90b4 /target-ppc/helper.h | |
parent | fab7fe426fa5325f93c931ffbe25f4e024b1ced4 (diff) | |
download | qemu-28288b48a83e903198ee22d8558c43b021e39a17.zip qemu-28288b48a83e903198ee22d8558c43b021e39a17.tar.gz qemu-28288b48a83e903198ee22d8558c43b021e39a17.tar.bz2 |
target-ppc: Add ISA 2.06 fcfid[u][s] Instructions
This patch adds the fcfids, fcfidu and fcfidus instructions which
were introduced in Power ISA 2.06B. A common macro is provided to
eliminate repetitious code, and the existing fcfid instruction is
refactored to use this macro.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index a32a75a..c7c915f 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -71,6 +71,9 @@ DEF_HELPER_2(fctiwz, i64, env, i64) DEF_HELPER_2(fctiwuz, i64, env, i64) #if defined(TARGET_PPC64) DEF_HELPER_2(fcfid, i64, env, i64) +DEF_HELPER_2(fcfidu, i64, env, i64) +DEF_HELPER_2(fcfids, i64, env, i64) +DEF_HELPER_2(fcfidus, i64, env, i64) DEF_HELPER_2(fctid, i64, env, i64) DEF_HELPER_2(fctidu, i64, env, i64) DEF_HELPER_2(fctidz, i64, env, i64) |