mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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:
parent
d2889a3efc
commit
3299908c83
2 changed files with 111 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue