summaryrefslogtreecommitdiff
path: root/target-sparc/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-10-17 18:03:47 -0700
committerRichard Henderson <rth@twiddle.net>2011-10-26 14:00:17 -0700
commit2dedf31497bf3f89167bed0aa91c5700579d0b79 (patch)
tree1385732a49b783e3a3d5c8e9868a468218894031 /target-sparc/helper.h
parentf888300b818a46bb1b339d68d6748bc097396a7b (diff)
downloadqemu-2dedf31497bf3f89167bed0aa91c5700579d0b79.zip
target-sparc: Implement fpack{16,32,fix}.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-sparc/helper.h')
-rw-r--r--target-sparc/helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-sparc/helper.h b/target-sparc/helper.h
index 22f9dce9ac..07c39a9eaf 100644
--- a/target-sparc/helper.h
+++ b/target-sparc/helper.h
@@ -138,6 +138,9 @@ DEF_HELPER_FLAGS_2(fmuld8sux16, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64)
DEF_HELPER_FLAGS_2(fmuld8ulx16, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64)
DEF_HELPER_FLAGS_2(fexpand, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64)
DEF_HELPER_FLAGS_3(pdist, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64, i64)
+DEF_HELPER_FLAGS_2(fpack16, TCG_CALL_CONST | TCG_CALL_PURE, i32, i64, i64)
+DEF_HELPER_FLAGS_3(fpack32, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64, i64)
+DEF_HELPER_FLAGS_2(fpackfix, TCG_CALL_CONST | TCG_CALL_PURE, i32, i64, i64)
#define VIS_HELPER(name) \
DEF_HELPER_FLAGS_2(f ## name ## 16, TCG_CALL_CONST | TCG_CALL_PURE, \
i64, i64, i64) \