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
This commit is contained in:
blueswir1 2007-04-13 15:49:56 +00:00
parent d2889a3efc
commit 3299908c83
2 changed files with 111 additions and 38 deletions

View file

@ -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