mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 15:24:07 +08:00
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:
parent
8f6d2e96a0
commit
b7932de6a1
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user