Message ID | 20210629185455.3131172-60-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | b983a0e17240fcbc8e1a32ef44221a1954332c81 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5273794jao; Tue, 29 Jun 2021 13:02:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+6duhJXorF7C60UfaIsbki3alm9QRMAwcK7QiOA4DsSi78FzesdkrTJGzz9zHMRByxlqM X-Received: by 2002:aa7:c891:: with SMTP id p17mr29380195eds.225.1624996974270; Tue, 29 Jun 2021 13:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624996974; cv=none; d=google.com; s=arc-20160816; b=qSz75SC1jyLwgv7ZmDIlHJ1qAUi+OGrn3+Fr0OeUtm54JW53T6+YCz/s/TkG06b4Oo erfdUBzp37jM4uQLs+nf0qd0GaM8bTQM+ZWQe3QHJJi+ZOubFRQltzrjr/7y0QXfWVOf UkOsnumpms0GI96nSsFe11lnWPTw8+HjCgyDqKNLZ/RwK3Ue0cwSE3aoqwWFRJUjhgbh PC5ncR2U8mTN+XXshwYEFPUhQhVzpb7zUqQsj/KsO74ZM0/3R9O3kngnUXhD9L0H8mKF VaynMgz1U+Sb21+OaHo26dtaUIU07xTQTvq6QJAjcd1IU3mhTdV3jqEgrOTVJeCBSk13 9P2A== 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=rDcd1B4hkbSouihbsC6aTM+tsQYAgRbIHXLOVbVbwkg=; b=lRutTaRQTK7yPQQ5bezGBCMFRj72qXgrzPpQxqKvgXi3wT/UZmqMqowGuvXqXUWSc1 uN7OhaNJAlS/XFpHmL+ZLGUDUHDxIfK8T2DXMjwXmXon8I/EiyDnwzn8KnbDHOTQP3BY rSG+05cD/y3HdDpqJZ9XhzPKSyVyPeAfDaqDnGaSwt55Vf/9tiWTR9g7HlF8urIN9/6a tbwKWO/Wb3aKopH27Pgtxa0YVnoi6FopBvqHLSDVeflIWlnwS/jXeAatzb3DyYxFHmrx UsYp428kQJaOwGxcqLINj571eJF4z5aa26zTMuFCe0wcs/3E0R/z3s2rUz0ONZMQ1Ex3 fTrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KkK8dyUE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 eo21si19312750ejc.27.2021.06.29.13.02.54 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jun 2021 13:02:54 -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=pass header.i=@linaro.org header.s=google header.b=KkK8dyUE; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41640 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 1lyJwb-0005LG-9H for patch@linaro.org; Tue, 29 Jun 2021 16:02:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lyIwh-0004Cb-Ex for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:58:55 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:35568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lyIwQ-00032B-9O for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:58:55 -0400 Received: by mail-pf1-x432.google.com with SMTP id d12so124765pfj.2 for <qemu-devel@nongnu.org>; Tue, 29 Jun 2021 11:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rDcd1B4hkbSouihbsC6aTM+tsQYAgRbIHXLOVbVbwkg=; b=KkK8dyUEPIAeXRm9JrzMNFk0vyLNaY53s+YVi06N1M3DQ6JcjgyplU/ppLBx7D28Ad 2zY7ISWu621SYpnkBtKExq3MAgWe3P56Kh7U4wM+JW8Gc6x7OSe/EkB4ih/xtX+hIbGB jvVS76aXudR97+eaC83ow9MDt3hEYPQQA070Px9xE7WcuY5c6pGNNcIK2IOm+7bk/q7q KHK1ROvo2emKr7uPCOIaEXCp8zTs1brU5hWqpOBlYcXs6E6c1pLN6bhmT3iNFnJXU2sA 4TvLX3thlVDIDIpVV0Mjxss0hSnn9ofFTLKYe/nGV8D9pAooMytZUA1Oy2hwGcErmj2E cOUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rDcd1B4hkbSouihbsC6aTM+tsQYAgRbIHXLOVbVbwkg=; b=GiVoboM0vvcK8zaYOK8IGCq+xYGKUDsv4L2tyuc1zPYLqctggvQvDO7CcCZ68V/beR iboSKF1iEkGz3GiZCL+kh+12laEwNVVDPRl8p5g3kI2UxzRsPh1lR3PvbmSG/CbeKxDu qcbGY5DeYAyKBbzm1c1eDkcEgVTLcsNHJWhYel1cCE1bR79MItwj3nsx2QHRMCU3kH6f Mf0V+ew9eCFnIDzbh6e2pdqHWJe/SAcOSOknmMmAdScRePlK6vDiawNfU55Xj8dFfehZ K2X+s8cY9ersRsD+xgIF8cw/0JEn5lpTVlKly0YTYdlYg8r/gHsGrDTKNqZFRNG3lv8g 7Leg== X-Gm-Message-State: AOAM531pm0M5a8VgReLu+s8BHcQbTpY5OZ5LAcLcM5Lg3v3cBe+AtvpP EZi9I9JgjKVuzHk8IiwbIJD9wnvbb7NFXw== X-Received: by 2002:a63:b60c:: with SMTP id j12mr30050381pgf.393.1624993117061; Tue, 29 Jun 2021 11:58:37 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id 21sm18002849pfh.103.2021.06.29.11.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 11:58:36 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 59/63] target/sh4: Improve swap.b translation Date: Tue, 29 Jun 2021 11:54:51 -0700 Message-Id: <20210629185455.3131172-60-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210629185455.3131172-1-richard.henderson@linaro.org> References: <20210629185455.3131172-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 <peter.maydell@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 147219759b..4dcfff81f6 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -676,8 +676,7 @@ static void _decode_opc(DisasContext * ctx) case 0x6008: /* swap.b Rm,Rn */ { TCGv low = tcg_temp_new(); - tcg_gen_ext16u_i32(low, REG(B7_4)); - tcg_gen_bswap16_i32(low, low, TCG_BSWAP_IZ | TCG_BSWAP_OZ); + tcg_gen_bswap16_i32(low, REG(B7_4), 0); tcg_gen_deposit_i32(REG(B11_8), REG(B7_4), low, 0, 16); tcg_temp_free(low); }