[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] tcg shift ops and magnitudes larger than register size
From: |
Mike Frysinger |
Subject: |
[Qemu-devel] tcg shift ops and magnitudes larger than register size |
Date: |
Wed, 12 Jan 2011 20:13:45 -0500 |
are there any rules with the tcg sar/shl/shr ops and their magnitudes
? such as "magnitudes cannot be larger than the register size" ?
i have a 32bit register with the value of 0x1230002 and when i attempt
to do a sari with a value >=32, it gives me 0x918001 (a single shift
right has been done). i would have expected the value to be 0 (as
that is what my architecture does).
-mike
- [Qemu-devel] tcg shift ops and magnitudes larger than register size,
Mike Frysinger <=