interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts.

* interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
	unsigned long temporary to implement insn_iushr shifts.

From-SVN: r57936
This commit is contained in:
Ulrich Weigand 2002-10-08 18:12:42 +00:00 committed by Ulrich Weigand
parent 8f6d2e96a0
commit b7932de6a1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
* interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
unsigned long temporary to implement insn_iushr shifts.
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
* configure.host [s390*-*]: Enable Java interpreter.

View File

@ -1883,7 +1883,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args)
insn_iushr:
{
jint shift = (POPI() & 0x1f);
unsigned long value = POPI();
UINT32 value = (UINT32) POPI();
PUSHI ((jint) (value >> shift));
}
NEXT_INSN;