qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-s390x@nongnu.org, cohuck@redhat.com, david@redhat.com,
	richard.henderson@linaro.org,
	Pavel Zbitskiy <pavel.zbitskiy@gmail.com>,
	Richard Henderson <rth@twiddle.net>,
	Alexander Graf <agraf@suse.de>
Subject: [Qemu-devel] [PATCH v4 1/3] target/s390x: use regular spaces in translate.c
Date: Wed, 22 Aug 2018 10:40:37 -0400	[thread overview]
Message-ID: <20180822144039.5796-2-pavel.zbitskiy@gmail.com> (raw)
In-Reply-To: <20180822144039.5796-1-pavel.zbitskiy@gmail.com>

In a few places translate.c contains non-breaking spaces (0xc2 0xa0)
instead of regular ones (0x20):

  7c 7c c2 a0 63 63
  7c 7c 20    63 63
  |  |        c  c

This confuses some text editors.

Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
---
 target/s390x/translate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 40e12ca2c4..7363aabf3a 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -842,7 +842,7 @@ static void disas_jcc(DisasContext *s, DisasCompare *c, uint32_t mask)
             cond = TCG_COND_NE;
             c->u.s32.b = tcg_const_i32(1);
             break;
-        case 0x8 | 0x2: /* cc == 0 || cc == 2 => (cc & 1) == 0 */
+        case 0x8 | 0x2: /* cc == 0 || cc == 2 => (cc & 1) == 0 */
             cond = TCG_COND_EQ;
             c->g1 = false;
             c->u.s32.a = tcg_temp_new_i32();
@@ -861,7 +861,7 @@ static void disas_jcc(DisasContext *s, DisasCompare *c, uint32_t mask)
             cond = TCG_COND_NE;
             c->u.s32.b = tcg_const_i32(0);
             break;
-        case 0x4 | 0x1: /* cc == 1 || cc == 3 => (cc & 1) != 0 */
+        case 0x4 | 0x1: /* cc == 1 || cc == 3 => (cc & 1) != 0 */
             cond = TCG_COND_NE;
             c->g1 = false;
             c->u.s32.a = tcg_temp_new_i32();
-- 
2.18.0

  reply	other threads:[~2018-08-22 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-22 14:40 [Qemu-devel] [PATCH v4 0/3] Some improvements in z/Arch instructions support Pavel Zbitskiy
2018-08-22 14:40 ` Pavel Zbitskiy [this message]
2018-08-22 15:19   ` [Qemu-devel] [PATCH v4 1/3] target/s390x: use regular spaces in translate.c David Hildenbrand
2018-08-23  5:53   ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2018-08-24  9:01   ` [Qemu-devel] " Cornelia Huck
2018-08-22 14:40 ` [Qemu-devel] [PATCH v4 2/3] target/s390x: exception on non-aligned LPSW(E) Pavel Zbitskiy
2018-08-22 15:15   ` David Hildenbrand
2018-08-22 15:34   ` Richard Henderson
2018-08-22 14:40 ` [Qemu-devel] [PATCH v4 3/3] target/s390x: implement CVB, CVBY and CVBG Pavel Zbitskiy
2018-08-22 15:16 ` [Qemu-devel] [PATCH v4 0/3] Some improvements in z/Arch instructions support David Hildenbrand

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=20180822144039.5796-2-pavel.zbitskiy@gmail.com \
    --to=pavel.zbitskiy@gmail.com \
    --cc=agraf@suse.de \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=rth@twiddle.net \
    /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).