Message ID | 20190817073628.94473-11-ysato@users.sourceforge.jp |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp415361ily; Sat, 17 Aug 2019 00:37:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjbIeXVMVWlbfpzxMlOct0JZ3urEAxFgU06Q+KMF0L6Z9KBiufvTzrUme4DOQIo7PKqUqk X-Received: by 2002:a37:e208:: with SMTP id g8mr12633891qki.237.1566027460557; Sat, 17 Aug 2019 00:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566027460; cv=none; d=google.com; s=arc-20160816; b=PvBkpZQJAfjLPaT9tNxV1+OljqicSSGMXSK4UTm0uRnR9nxRjxCqUXfFi/yb7Hp7o9 yjw20MvDqF42He8q0lh76RpOioZMB+JFZoSBlZQrpz/mT3txoydWCnBsF3g9YJg7ASp2 WN/NkzaoUFgTROxaSUAhcy6RrDQ9Ir6hhdIbOccDo+Dy/92jinFu2HsMHQ9y4YyUJFTd SFj1HmPaPqxSNpEGWi5uRpthwRqUgCOZMP79zCp9V0yB+dvzfZ8lQijwEw6//A3ZFZT7 xw72oN11QYnnUdf11BV7HG8XE8biwnVFifu5+PH9AnpTc+WSNTbqQND9+9QokeueK8Vl 6fFg== 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:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=3ixQgoEQy/tNg2tvPIujS57kSkNC+oo3YmACrXAgGx8=; b=MCyacyG3GrOa8HW6vjdKCtIsJEzVM3rMrs/PLTGuiWJ7T6OvLcbiPF281DjeLZvr86 7MDtvjTCc4EJ2w+JQnrxVG+xliYp1FnV+XvtkXbaojeZa6JYi0U9iN4ZHnha0MArw9is c+UVGm6TFdNf3BB+4MUD7b1D6gDNMoAAGf3oq9nHifiz4sg2aCfyE0sorYrRI0Dx5hq/ RfMoRkzb/a5lxYRbl+IS+nRw77S8fG3BhWuXin85c9/GjLBAoh3bQZQJHYI2etDpdxjB vdH5DpMGwor39VrWsFgr89H92FAdcfs4342tZ0FebzoF20t44DuMKPg87MC5zLkaUSmW Izwg== 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 b28si5146247qvb.85.2019.08.17.00.37.40 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Aug 2019 00:37:40 -0700 (PDT) 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]:34626 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 1hytHQ-0006q5-1A for patch@linaro.org; Sat, 17 Aug 2019 03:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40988) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <ysato@users.sourceforge.jp>) id 1hytGT-0006pa-1X for qemu-devel@nongnu.org; Sat, 17 Aug 2019 03:36:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1hytGR-0006XO-N8 for qemu-devel@nongnu.org; Sat, 17 Aug 2019 03:36:40 -0400 Received: from mail02.asahi-net.or.jp ([202.224.55.14]:38511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ysato@users.sourceforge.jp>) id 1hytGR-0006WD-DX for qemu-devel@nongnu.org; Sat, 17 Aug 2019 03:36:39 -0400 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 mail02.asahi-net.or.jp (Postfix) with ESMTPA id C08EA58E7B; Sat, 17 Aug 2019 16:36:37 +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 7B5B4240086; Sat, 17 Aug 2019 16:36:37 +0900 (JST) From: Yoshinori Sato <ysato@users.sourceforge.jp> To: qemu-devel@nongnu.org Date: Sat, 17 Aug 2019 16:36:16 +0900 Message-Id: <20190817073628.94473-11-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190817073628.94473-1-ysato@users.sourceforge.jp> References: <20190817073628.94473-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.14 Subject: [Qemu-devel] [PATCH v23 10/22] target/rx: Use prt_ldmi for XCHG_mr disassembly 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: peter.maydell@linaro.org, imammedo@redhat.com, Richard Henderson <richard.henderson@linaro.org>, Yoshinori Sato <ysato@users.sourceforge.jp>, philmd@redhat.com 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; }