aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/op.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-13 15:49:56 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-13 15:49:56 +0000
commit3299908c834fd1699f59638dd36eba187963a694 (patch)
treee7558704da6d02186629e400945dbaf220165336 /target-sparc/op.c
parentd2889a3efc3851e62de69cb9d88fb784c28e0ed8 (diff)
Fix Sparc64 wrfprs, move VIS ops where they belong, more VIS ops
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2656 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op.c')
-rw-r--r--target-sparc/op.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/target-sparc/op.c b/target-sparc/op.c
index 96c8b2db72..2c21b5331d 100644
--- a/target-sparc/op.c
+++ b/target-sparc/op.c
@@ -1864,4 +1864,24 @@ void OPPROTO op_faligndata()
tmp |= (*((uint64_t *)&DT1)) >> (64 - (env->gsr & 7) * 8);
(*((uint64_t *)&DT0)) = tmp;
}
+
+void OPPROTO op_movl_FT0_0(void)
+{
+ (*((uint32_t *)&FT0)) = 0;
+}
+
+void OPPROTO op_movl_DT0_0(void)
+{
+ (*((uint64_t *)&DT0)) = 0;
+}
+
+void OPPROTO op_movl_FT0_1(void)
+{
+ (*((uint32_t *)&FT0)) = 0xffffffff;
+}
+
+void OPPROTO op_movl_DT0_1(void)
+{
+ (*((uint64_t *)&DT0)) = 0xffffffffffffffffULL;
+}
#endif