Message ID | 20210629185455.3131172-58-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | ebdd503d4572cc446a9a61410755cc3b87e2d76f |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5255507jao; Tue, 29 Jun 2021 12:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5zFD0Qn6p8IrbQErFld2uIU+RZuEnD73QWTrj/uT0A6CF2+h9UHzymfUE2742GtBm/iWz X-Received: by 2002:a05:6122:2bb:: with SMTP id 27mr22176884vkq.3.1624995213457; Tue, 29 Jun 2021 12:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624995213; cv=none; d=google.com; s=arc-20160816; b=aMhuqHuwm/Sff+JSpvgrewVHvJtc6XSilwXr0bWpWYZ8W9b1FwL5bMlzJXhnGBaMvx 62eMCUMQ0OPwdQucSFHNuPcY9ki48azEpT/ojGVX2iWR19md1k1hqdNpukazZiu+o4UG wRAKfneeI3X/ZvyOHjl9o6aeQXe5uac1IoUofQJuxwhAIssqDKuSjOon9ZsemaqrLkIX epS3YQ6BDFGt722YW5sbI/xwinFNSike6yRXcJfkfzScXH44JD1mQE+cTRbuMEAknyet dxNgjeh+9JEy4kkGdOW1ckqd9jrvn2yym+RMeiPY3t4j54ebiVjwNJVuGEblyF/9SFcA 9xzg== 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=ziCUNw7iMfXxhXUy1AbaM+Ca/hJ3SGJZ/ldvQFuxiE8=; b=JuhB61ecz9n+vjBCv8kKR/j3C/2vmQgXcoiEvkB//LGZKeVG6qJdPoMgFhMjsGFkNd ScMPRUtELZpRlncW1+h5yw72j9pSrxSS2AbBwyrtwhl35c8wclPN2jURS6cN9nOBdU2X 59mm0qeiscN0ttdzJapwUeyVhI5g1QLUuBrZ2kencsweAd6Lo5w0qS05css4O6e7cqTT u7+16NbbGCilPV7I+1Vh6YSuFf8lKx6TjQwwMUU+/dP+8iBsDUU5TfBDa6LRK+tqMtXq 4Ot65Bp14JMe/OxoQLDNO4hTS47u4G5E2dushyePj64ZuRxHjxfbV41BA/JsPJ0JS0Gd tJqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BrGLnNAb; 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 d22si12872649vsp.304.2021.06.29.12.33.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jun 2021 12:33:33 -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=BrGLnNAb; 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]:34756 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 1lyJUC-0001NM-Rx for patch@linaro.org; Tue, 29 Jun 2021 15:33:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39792) 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 1lyIwe-0004A4-9f for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:58:53 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:39694) 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 1lyIwP-00031u-Ja for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:58:52 -0400 Received: by mail-pj1-x1032.google.com with SMTP id in17-20020a17090b4391b0290170ba0ec7fcso2266518pjb.4 for <qemu-devel@nongnu.org>; Tue, 29 Jun 2021 11:58:36 -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=ziCUNw7iMfXxhXUy1AbaM+Ca/hJ3SGJZ/ldvQFuxiE8=; b=BrGLnNAb/Jj8veNGBmHqKQ+e/DVuU1bjAm8bnfpeN2r06visn9CZ6OqfrNV3FtJZi0 xIoRUWHsSPXDl02BD/H1MEPq+0xdvCDiXTiRbFXLARrPo55j+exgbtje4xV9zMiABA7z hOG2b5x3W7XTAsppnVFU6d5nCGu8VUo6YshOtZN8ulsFzJjfEBMfukNTUk2gvdYINLau qGDK5fryaDTIy4ZJktqRt2YJvos7G4OAul8RzydIA81eG0mc3JMJV4KNTcedOKpusEbZ ND7MkszDVgXxfCdY+E44RVADY8VhhreWoTz5vZGSj2qzXEGkPV70bjZknSVlLMzoIbL/ rQxg== 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=ziCUNw7iMfXxhXUy1AbaM+Ca/hJ3SGJZ/ldvQFuxiE8=; b=OEjuU7b8Iievz7FXkzoCLcCM4/dvPPYrUoIREplY39JBG1Ikw3I/uZTPLQ5eHCEJLA Ig5exUsvyWqf4Cg1AZZN955N0WUthW5xXNsHumEEawoM9EjdwP0YSbyZMXZt/CRLH46M onL99HM3a3bwfA3HvRfLnNyQQC2Oq0VCGZIRS0OPw95REySXt1vwwyujUlnVOTfQA4qF TAL66J26evbYbcRfnQo8Rym38VwYQLqKCYPUXX/9tNeGp2sr35C5YNrbjWJolbm2f7rr thjQ9+vRIKzrLT2Cc1HPT/w9DFHe23Vg+Ge6KEVxxB30ADfgV+3rSoGXoq/2rEFSuQTV 5OuQ== X-Gm-Message-State: AOAM532ed0TLg3aA8HbElwheIASRzvkVNsVRSVE3uOZMLbk8/cLUfoZa PAIGYjxOwgKUskxMJR8F3waybv51+S5ctQ== X-Received: by 2002:a17:90a:f290:: with SMTP id fs16mr313256pjb.202.1624993115558; Tue, 29 Jun 2021 11:58:35 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id 21sm18002849pfh.103.2021.06.29.11.58.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 11:58:35 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 57/63] target/arm: Improve REVSH Date: Tue, 29 Jun 2021 11:54:49 -0700 Message-Id: <20210629185455.3131172-58-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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>, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?b?YXVkw6k=?= <f4bug@amsat.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/arm/translate.c b/target/arm/translate.c index 669b0be578..a0c6cfa902 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -354,9 +354,7 @@ void gen_rev16(TCGv_i32 dest, TCGv_i32 var) /* Byteswap low halfword and sign extend. */ static void gen_revsh(TCGv_i32 dest, TCGv_i32 var) { - tcg_gen_ext16u_i32(var, var); - tcg_gen_bswap16_i32(var, var, TCG_BSWAP_IZ | TCG_BSWAP_OZ); - tcg_gen_ext16s_i32(dest, var); + tcg_gen_bswap16_i32(var, var, TCG_BSWAP_OS); } /* Dual 16-bit add. Result placed in t0 and t1 is marked as dead.