Hopefully the final fix for LUI sign extensions.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2745 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-04-29 20:13:19 +00:00
parent 5ef62c5c42
commit bc8191fce9
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void glue(op_load_gpr_T2_gpr, REG) (void)
#define SET_RESET(treg, tregname) \
void glue(op_set, tregname)(void) \
{ \
treg = (int32_t)PARAM1; \
treg = (int32_t)(uint32_t)PARAM1;\
RETURN(); \
} \
void glue(op_reset, tregname)(void) \