All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] tcg shift ops and magnitudes larger than register size
@ 2011-01-13  1:13 Mike Frysinger
  2011-01-13  8:56 ` Edgar E. Iglesias
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2011-01-13  1:13 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-15 21:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13  1:13 [Qemu-devel] tcg shift ops and magnitudes larger than register size Mike Frysinger
2011-01-13  8:56 ` Edgar E. Iglesias
2011-01-14 23:26   ` Stuart Brady
2011-01-15 21:00     ` Edgar E. Iglesias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.