From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5306] Fix tcg_gen_concat32_i64 on 64-bit hosts.
Date: Tue, 23 Sep 2008 22:31:10 +0000 [thread overview]
Message-ID: <E1KiGPW-0006Ir-SE@cvs.savannah.gnu.org> (raw)
Revision: 5306
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5306
Author: pbrook
Date: 2008-09-23 22:31:10 +0000 (Tue, 23 Sep 2008)
Log Message:
-----------
Fix tcg_gen_concat32_i64 on 64-bit hosts.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Modified Paths:
--------------
trunk/tcg/tcg-op.h
Modified: trunk/tcg/tcg-op.h
===================================================================
--- trunk/tcg/tcg-op.h 2008-09-23 13:38:44 UTC (rev 5305)
+++ trunk/tcg/tcg-op.h 2008-09-23 22:31:10 UTC (rev 5306)
@@ -1418,8 +1418,9 @@
tcg_gen_concat_i32_i64(dest, low, high);
#else
TCGv tmp = tcg_temp_new(TCG_TYPE_I64);
+ tcg_gen_ext32u_i64(dest, low);
tcg_gen_shli_i64(tmp, high, 32);
- tcg_gen_or_i64(dest, low, tmp);
+ tcg_gen_or_i64(dest, dest, tmp);
tcg_temp_free(tmp);
#endif
}
reply other threads:[~2008-09-23 22:31 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=E1KiGPW-0006Ir-SE@cvs.savannah.gnu.org \
--to=paul@nowt.org \
--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).