From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu/target-sparc translate.c
Date: Wed, 21 Jun 2006 18:26:15 +0000 [thread overview]
Message-ID: <E1Ft7P5-0000AW-Fu@savannah.gnu.org> (raw)
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/06/21 18:26:15
Modified files:
target-sparc : translate.c
Log message:
sparc branch fix (Blue Swirl)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/translate.c?cvsroot=qemu&r1=1.27&r2=1.28
Patches:
Index: translate.c
===================================================================
RCS file: /sources/qemu/qemu/target-sparc/translate.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- translate.c 18 Jun 2006 19:36:58 -0000 1.27
+++ translate.c 21 Jun 2006 18:26:15 -0000 1.28
@@ -956,8 +956,8 @@
int cc;
target = GET_FIELD_SP(insn, 0, 18);
- target <<= 2;
target = sign_extend(target, 18);
+ target <<= 2;
cc = GET_FIELD_SP(insn, 20, 21);
if (cc == 0)
do_branch(dc, target, insn, 0);
@@ -971,8 +971,8 @@
{
target = GET_FIELD_SP(insn, 0, 13) |
(GET_FIELD_SP(insn, 20, 21) >> 7);
- target <<= 2;
target = sign_extend(target, 16);
+ target <<= 2;
rs1 = GET_FIELD(insn, 13, 17);
gen_movl_reg_T0(rs1);
do_branch_reg(dc, target, insn);
@@ -986,8 +986,8 @@
gen_op_trap_ifnofpu();
#endif
target = GET_FIELD_SP(insn, 0, 18);
- target <<= 2;
target = sign_extend(target, 19);
+ target <<= 2;
do_fbranch(dc, target, insn, cc);
goto jmp_insn;
}
@@ -995,8 +995,8 @@
case 0x2: /* BN+x */
{
target = GET_FIELD(insn, 10, 31);
- target <<= 2;
target = sign_extend(target, 22);
+ target <<= 2;
do_branch(dc, target, insn, 0);
goto jmp_insn;
}
@@ -1007,8 +1007,8 @@
gen_op_trap_ifnofpu();
#endif
target = GET_FIELD(insn, 10, 31);
- target <<= 2;
target = sign_extend(target, 22);
+ target <<= 2;
do_fbranch(dc, target, insn, 0);
goto jmp_insn;
}
next reply other threads:[~2006-06-21 18:26 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 18:26 Fabrice Bellard [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-03-30 16:49 [Qemu-devel] qemu/target-sparc translate.c Blue Swirl
2008-03-29 20:39 Blue Swirl
2008-03-29 20:38 Blue Swirl
2008-03-29 9:09 Blue Swirl
2008-03-29 9:03 Blue Swirl
2008-03-29 8:59 Blue Swirl
2008-03-26 20:47 Blue Swirl
2008-03-26 20:45 Blue Swirl
2008-03-26 20:45 Blue Swirl
2008-03-24 17:47 Blue Swirl
2008-03-23 11:50 Blue Swirl
2008-03-22 8:40 Blue Swirl
2008-03-18 18:09 Blue Swirl
2008-03-16 19:23 Blue Swirl
2008-03-16 19:18 Blue Swirl
2008-03-15 18:12 Blue Swirl
2008-03-14 21:09 Blue Swirl
2008-03-14 17:35 Blue Swirl
2008-03-13 20:47 Blue Swirl
2008-03-11 20:59 Blue Swirl
2008-03-06 16:13 Blue Swirl
2008-03-04 19:56 Blue Swirl
2007-11-25 20:27 Blue Swirl
2007-11-10 9:32 Blue Swirl
2007-11-09 19:08 Blue Swirl
2007-10-17 17:34 Blue Swirl
2007-10-03 17:46 Blue Swirl
2007-09-30 16:37 Blue Swirl
2007-07-08 19:48 Blue Swirl
2007-07-04 20:22 Blue Swirl
2007-06-25 19:52 Blue Swirl
2007-06-10 20:26 Blue Swirl
2007-05-07 17:01 Blue Swirl
2007-04-29 19:54 Blue Swirl
2007-04-29 19:49 Blue Swirl
2007-04-22 12:45 Blue Swirl
2007-04-06 20:04 Blue Swirl
2007-04-05 18:10 Blue Swirl
2007-04-01 16:24 Blue Swirl
2007-04-01 16:51 ` Aurelien Jarno
2007-04-03 0:08 ` Aurelien Jarno
2007-04-01 15:18 Blue Swirl
2007-03-25 9:25 Blue Swirl
2006-06-25 15:33 Fabrice Bellard
2006-06-23 21:01 Fabrice Bellard
2006-06-18 19:36 Paul Brook
2006-06-14 12:37 Fabrice Bellard
2005-11-21 23:33 Fabrice Bellard
2005-11-20 10:32 Fabrice Bellard
2005-04-10 14:40 Fabrice Bellard
2005-01-28 0:01 Fabrice Bellard
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=E1Ft7P5-0000AW-Fu@savannah.gnu.org \
--to=fabrice@bellard.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).