From: Mike Frysinger <vapier.adi@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] tcg shift ops and magnitudes larger than register size
Date: Wed, 12 Jan 2011 20:13:45 -0500 [thread overview]
Message-ID: <AANLkTimaSKzA7QzW1C9y2-LSZgoCaJPZ2tiXN6vdpHJp@mail.gmail.com> (raw)
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
next reply other threads:[~2011-01-13 1:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 1:13 Mike Frysinger [this message]
2011-01-13 8:56 ` [Qemu-devel] tcg shift ops and magnitudes larger than register size Edgar E. Iglesias
2011-01-14 23:26 ` Stuart Brady
2011-01-15 21:00 ` Edgar E. Iglesias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimaSKzA7QzW1C9y2-LSZgoCaJPZ2tiXN6vdpHJp@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).