Commit b7932de6 by Ulrich Weigand Committed by Ulrich Weigand

interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long…

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
parent 8f6d2e96
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com> 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. * configure.host [s390*-*]: Enable Java interpreter.
Enable hash synchronization. Add sysdeps dir. Enable hash synchronization. Add sysdeps dir.
* sysdep/s390/locks.h: New file. * sysdep/s390/locks.h: New file.
......
...@@ -1883,7 +1883,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args) ...@@ -1883,7 +1883,7 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args)
insn_iushr: insn_iushr:
{ {
jint shift = (POPI() & 0x1f); jint shift = (POPI() & 0x1f);
unsigned long value = POPI(); UINT32 value = (UINT32) POPI();
PUSHI ((jint) (value >> shift)); PUSHI ((jint) (value >> shift));
} }
NEXT_INSN; NEXT_INSN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment