Message ID | 20200224141923.82118-11-ysato@users.sourceforge.jp |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp450437ile; Mon, 24 Feb 2020 06:21:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzzjJZyOo5ywIMf66M6rpqgWyK2qN9f/lXW0Ba60hbdmq6X9N3y5cDKEdAR4vlC5ljGI5Zu X-Received: by 2002:ac8:4f05:: with SMTP id b5mr41243401qte.288.1582554069932; Mon, 24 Feb 2020 06:21:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582554069; cv=none; d=google.com; s=arc-20160816; b=SZwWEaPAHefHC7D6tRKNKEKpZui7NRTZCYKYnGF8WxKcps7T3pnVmrcjDYNZupek9B M+46qJ5KaPTBxIxUjlCpTChYqvdHJPtMJt4buGdaKW2zBSgIT96TduPWhX59VvCLtNV3 QsYVtAk/1VORfiqsOF2skldcV6aIgs5dxEJZAiljTNLHKaB0K+PVmJYShSisxK2EzlWL UFbjkxTshuQsQJQPPFRZJgxKc2Pj7PkzNSjeRCoGzY4MzQlfxl8pwmyoFHU/X7qMookO I+KYC99Hk8Kyl7rKaTZnK7hIFmVGND4Hr6O5IsouTQPRymJRwaJ2mF1+pi00Kugc4OMT aBig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=vBgmqVV1HHXMsA9aXkS1dhyBW4HB0voCVVWuH7KTmpU=; b=FqAx5+Q7xF/Qbe3CJxpHtWjT4kMgkmI5DK+BrrO36P6sCchxCQeZpY2VLCV1bSlVqZ sfswJNQ1wxxycUjuuutaQbRbC6qLnw2rX/g42GKZi0JQX1nwpjFjQtkOp/P5l/2fgGYo /7LYEmzjwKsDaAyG1F2yIu44OCKpyIyCio6RU/TuTFd92w1J5nCtv3e5SMcX4vRjiqoY hmlYWUowsKy/8Mc8sXXdQpu+TvHdxG3mHdtELMSVovitViKmEVuKKkPsFxvocScex0rb ethRO33Rc+0pNdQEWURlas/Oj69qjfjo6SbUkxiZ+dlY72tp+2Qhm+KMfM5rFCx3FRMz 3Htg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a7si6017973qtm.175.2020.02.24.06.21.09 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Feb 2020 06:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:37010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1j6Ebd-0007qn-EA for patch@linaro.org; Mon, 24 Feb 2020 09:21:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48333) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ysato@users.sourceforge.jp>) id 1j6Ea6-0004J9-ER for qemu-devel@nongnu.org; Mon, 24 Feb 2020 09:19:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1j6Ea5-0005qh-2s for qemu-devel@nongnu.org; Mon, 24 Feb 2020 09:19:34 -0500 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:38684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1j6Ea4-0005oe-Qu for qemu-devel@nongnu.org; Mon, 24 Feb 2020 09:19:33 -0500 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.ablenetvps.ne.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail01.asahi-net.or.jp (Postfix) with ESMTPA id BBA05558D2; Mon, 24 Feb 2020 23:19:30 +0900 (JST) Received: from yo-satoh-debian.localdomain (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 8249E24008F; Mon, 24 Feb 2020 23:19:30 +0900 (JST) From: Yoshinori Sato <ysato@users.sourceforge.jp> To: qemu-devel@nongnu.org Subject: [PATCH v32 10/22] target/rx: Use prt_ldmi for XCHG_mr disassembly Date: Mon, 24 Feb 2020 23:19:11 +0900 Message-Id: <20200224141923.82118-11-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200224141923.82118-1-ysato@users.sourceforge.jp> References: <20200224141923.82118-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 202.224.55.13 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: philmd@redhat.com, Richard Henderson <richard.henderson@linaro.org>, Yoshinori Sato <ysato@users.sourceforge.jp> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/target/rx/disas.c b/target/rx/disas.c index 515b365528..db10385fd0 100644 --- a/target/rx/disas.c +++ b/target/rx/disas.c @@ -366,13 +366,7 @@ static bool trans_XCHG_rr(DisasContext *ctx, arg_XCHG_rr *a) /* xchg dsp[rs].<mi>,rd */ static bool trans_XCHG_mr(DisasContext *ctx, arg_XCHG_mr *a) { - static const char msize[][4] = { - "b", "w", "l", "ub", "uw", - }; - char dsp[8]; - - rx_index_addr(ctx, dsp, a->ld, a->mi); - prt("xchg\t%s[r%d].%s, r%d", dsp, a->rs, msize[a->mi], a->rd); + prt_ldmi(ctx, "xchg", a->ld, a->mi, a->rs, a->rd); return true; }