From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5043] Fix wrwim masking (Luis Pureza)
Date: Thu, 21 Aug 2008 17:34:43 +0000 [thread overview]
Message-ID: <E1KWE3X-0004xY-9G@cvs.savannah.gnu.org> (raw)
Revision: 5043
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5043
Author: blueswir1
Date: 2008-08-21 17:34:42 +0000 (Thu, 21 Aug 2008)
Log Message:
-----------
Fix wrwim masking (Luis Pureza)
Modified Paths:
--------------
trunk/target-sparc/translate.c
Modified: trunk/target-sparc/translate.c
===================================================================
--- trunk/target-sparc/translate.c 2008-08-21 17:33:42 UTC (rev 5042)
+++ trunk/target-sparc/translate.c 2008-08-21 17:34:42 UTC (rev 5043)
@@ -3451,6 +3451,9 @@
}
#else
tcg_gen_trunc_tl_i32(cpu_tmp32, cpu_tmp0);
+ if (dc->def->nwindows != 32)
+ tcg_gen_andi_tl(cpu_tmp32, cpu_tmp32,
+ (1 << dc->def->nwindows) - 1);
tcg_gen_st_i32(cpu_tmp32, cpu_env,
offsetof(CPUSPARCState, wim));
#endif
reply other threads:[~2008-08-21 17:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1KWE3X-0004xY-9G@cvs.savannah.gnu.org \
--to=blauwirbel@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).