* [Qemu-devel] [PATCH] alpha: fix a missing literal sign issue
@ 2008-09-18 8:11 Tristan Gingold
2008-09-18 9:19 ` Aurelien Jarno
0 siblings, 1 reply; 2+ messages in thread
From: Tristan Gingold @ 2008-09-18 8:11 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
Hi,
I suppose this chunk was lot in translation, but literals in
instructions are always unsigned.
Tristan.
Signed-off-by: Tristan Gingold <gingold@adacore.com>
[-- Attachment #2: q-alpha10.diff --]
[-- Type: application/octet-stream, Size: 540 bytes --]
Index: target-alpha/translate.c
===================================================================
--- target-alpha/translate.c (revision 5247)
+++ target-alpha/translate.c (working copy)
@@ -390,7 +390,7 @@
static always_inline void gen_cmov (DisasContext *ctx,
TCGCond inv_cond,
int ra, int rb, int rc,
- int islit, int8_t lit, int mask)
+ int islit, uint8_t lit, int mask)
{
int l1;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] alpha: fix a missing literal sign issue
2008-09-18 8:11 [Qemu-devel] [PATCH] alpha: fix a missing literal sign issue Tristan Gingold
@ 2008-09-18 9:19 ` Aurelien Jarno
0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2008-09-18 9:19 UTC (permalink / raw)
To: qemu-devel
On Thu, Sep 18, 2008 at 10:11:02AM +0200, Tristan Gingold wrote:
> Hi,
>
> I suppose this chunk was lot in translation, but literals in
> instructions are always unsigned.
The problem is that lit is wrongly defined to int8_t in translate_one().
I have applied your patch, and fixed a few other wrong places. Thanks.
> Tristan.
>
> Signed-off-by: Tristan Gingold <gingold@adacore.com>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-18 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-18 8:11 [Qemu-devel] [PATCH] alpha: fix a missing literal sign issue Tristan Gingold
2008-09-18 9:19 ` Aurelien Jarno
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).