Message ID | 20200315132810.7022-10-f4bug@amsat.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1692557ile; Sun, 15 Mar 2020 06:30:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs4EETuLN2vY7p9mGAzdgHQTzQ0yiVnVpfWQOP6LDr1NHVk0I34tjDzpdv9X3qVSde/oOzl X-Received: by 2002:a37:b646:: with SMTP id g67mr21860153qkf.52.1584279022272; Sun, 15 Mar 2020 06:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584279022; cv=none; d=google.com; s=arc-20160816; b=jS2SEK+ifA/iv6GKuHP4Af9XiT3XrcHBTP1koFxShd11jWG3t9yP1GHojXSjjq6O9b DQw4x1ySTK7D87env+Lmpfz9eI5hh/ad6faX+0Fos2X7TmsVIzd+RhQ2r0YqcUu+AKAX QHzOU0EcUUdUmWemMDPZrJ6+khjzWaNTbQTnPWcW4WvQNas8A6S5qUy7/dJBDRPfbM6e /v0L1J1UZ5B/OuKF872a6PKp2dF6I9ntb6xJevtiuBTDj7iihdr9mD/1dqsUydqMBa88 IKCUmoTfUmi1xCNRYXXiIdKD4RFOaQuSVhaPUroLE5BLH1+X/hdhwr8r9olgbEGTbK88 RFkQ== 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 :dkim-signature; bh=cElIp5LI4R05nZljrre+VQi0ay9bW2zvw5msneFgmQA=; b=e/XjSnf2g5h1+L34/b+IeIA+7RPscJ7x/S3WN3+ClmXwbZsw4b/C/ouPX6TUS+Kxsn x+lUecfmI/Z+h7yMQVrPQP6FJD4/++BNow5p8vOeS0SRX7Q9MbnWTC3o4vTrgyIQKbEZ tqcVJvU7roWMYQY2SuppNrU8NfPZZWxxte0rbhezzjPGLI8lM0pVuu+CiAZX9f8ydG06 7kEpo817SqzXAhMifJnjfQLWYwNKXD9dPLdKWYfA63Q6JsnIkEnZG3V/X0sj5h8vXx9L vlqVz7DdoC8GYlnxnHZPfFb6Hjo/R4VA4wPIEIeeV8MMLNLB3sYsdWRnHT/YbPiu4zeU 6ieg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XNBSb2Kb; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amsat.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 136si8917747qkj.196.2020.03.15.06.30.22 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Mar 2020 06:30:22 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XNBSb2Kb; 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"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amsat.org Received: from localhost ([::1]:53954 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 1jDTLR-0000yx-Lb for patch@linaro.org; Sun, 15 Mar 2020 09:30:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50830) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1jDTJi-00087t-MH for qemu-devel@nongnu.org; Sun, 15 Mar 2020 09:28:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1jDTJg-0003LS-SV for qemu-devel@nongnu.org; Sun, 15 Mar 2020 09:28:33 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:46116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1jDTJf-0003Ie-5K for qemu-devel@nongnu.org; Sun, 15 Mar 2020 09:28:32 -0400 Received: by mail-wr1-x441.google.com with SMTP id w16so1441484wrv.13 for <qemu-devel@nongnu.org>; Sun, 15 Mar 2020 06:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cElIp5LI4R05nZljrre+VQi0ay9bW2zvw5msneFgmQA=; b=XNBSb2Kb73VEMVZ6qaPqa9Sn9X6D3SxSKgChkwjkTSbB8Io0cvPZuKc2ubgMb+aDTj 8AVQTSwp6noKKQGI4EU9DerQB8i+0daxub2k5t213KCjlbjkjXl/74iR/80OMPJxN50z LULBL/mEd9KZ+FxAynxa7YwDPIyxQt3ewoQt8Ngc8QPHeFY5rsCAa4qiZ1RlvjDqIoKW 5qEL+MhSwdzrBupU7lSDLAT54ZtCPn74tp4oSRPGlrRoOd1eK5UmX5qFJb6Kx4tdBdDp AGjPQ8cVRc3w11tFxYVmTmHqcw9PLv3CrcOeAq/S0byg7snW5DSSuJrN65VfIUydKoSI qJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=cElIp5LI4R05nZljrre+VQi0ay9bW2zvw5msneFgmQA=; b=KVhSfeNOYzkr3fx50mdmQxw0WLi0iKzC7M4jatLFo/Y66JF7l29fywmUXogRvTYUSy smee6uRsgrkZvFB7pIVPsje8l+/QZIxBDCmM9j4uvjgdDY14sLC1JnAXjVZZcG0qEPqF 84CpDsGzfDntnyXN//YELzy4lqEckIMl6+x7zFA7u+8QNN0ErC50/7khn8UxQFlM+cJO 7YwLHTceGxmHiKDsEC341F93vpNUlGtR14U0RyMjOUjdG5LK8EBAInYbc9QqB+GMHqO4 oEF0USibyYBxaEmX0bGFfsiuEhSNlzIfd0fjf1XLcvNBj+w6J17gYhrQm/6t6uBFZeIM jXzA== X-Gm-Message-State: ANhLgQ3Vc2oEmfRP7MAv2HFoF0cjfhlh3GmdavUxmdej3cHycNudWC+g mtKza3PXJQvah6np5Qc1d+2jEWFj X-Received: by 2002:adf:ff89:: with SMTP id j9mr28266681wrr.281.1584278908870; Sun, 15 Mar 2020 06:28:28 -0700 (PDT) Received: from localhost.localdomain (191.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.191]) by smtp.gmail.com with ESMTPSA id d15sm87590503wrp.37.2020.03.15.06.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2020 06:28:28 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> To: qemu-devel@nongnu.org Subject: [PATCH 09/13] target/rx: Use prt_ldmi for XCHG_mr disassembly Date: Sun, 15 Mar 2020 14:28:05 +0100 Message-Id: <20200315132810.7022-10-f4bug@amsat.org> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200315132810.7022-1-f4bug@amsat.org> References: <20200315132810.7022-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 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: Yoshinori Sato <ysato@users.sourceforge.jp>, =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= <alex.bennee@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@redhat.com>, Richard Henderson <rth@twiddle.net> 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 0c4115669d..a0c444020c 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; }