qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5248] alpha: fix a missing literal sign issue
Date: Thu, 18 Sep 2008 09:17:15 +0000	[thread overview]
Message-ID: <E1KgFdT-0004A2-BE@cvs.savannah.gnu.org> (raw)

Revision: 5248
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5248
Author:   aurel32
Date:     2008-09-18 09:17:13 +0000 (Thu, 18 Sep 2008)

Log Message:
-----------
alpha: fix a missing literal sign issue

Reported by Tristan Gingold

Modified Paths:
--------------
    trunk/target-alpha/translate.c

Modified: trunk/target-alpha/translate.c
===================================================================
--- trunk/target-alpha/translate.c	2008-09-18 00:02:17 UTC (rev 5247)
+++ trunk/target-alpha/translate.c	2008-09-18 09:17:13 UTC (rev 5248)
@@ -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;
 
@@ -477,7 +477,7 @@
 /* EXTWH, EXTWH, EXTLH, EXTQH */
 static always_inline void gen_ext_h(void (*tcg_gen_ext_i64)(TCGv t0, TCGv t1),
                                     int ra, int rb, int rc,
-                                    int islit, int8_t lit)
+                                    int islit, uint8_t lit)
 {
     if (unlikely(rc == 31))
         return;
@@ -508,7 +508,7 @@
 /* EXTBL, EXTWL, EXTWL, EXTLL, EXTQL */
 static always_inline void gen_ext_l(void (*tcg_gen_ext_i64)(TCGv t0, TCGv t1),
                                     int ra, int rb, int rc,
-                                    int islit, int8_t lit)
+                                    int islit, uint8_t lit)
 {
     if (unlikely(rc == 31))
         return;
@@ -567,7 +567,7 @@
     int32_t disp21, disp16, disp12;
     uint16_t fn11, fn16;
     uint8_t opc, ra, rb, rc, sbz, fpfn, fn7, fn2, islit;
-    int8_t lit;
+    uint8_t lit;
     int ret;
 
     /* Decode all instruction fields */

                 reply	other threads:[~2008-09-18  9:17 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=E1KgFdT-0004A2-BE@cvs.savannah.gnu.org \
    --to=aurelien@aurel32.net \
    --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).