mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +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>
|
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* configure.host [s390*-*]: Enable Java interpreter.
|
* configure.host [s390*-*]: Enable Java interpreter.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user