Message ID | 20230823202326.1353645-47-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:f747:0:b0:317:ecd7:513f with SMTP id z7csp1003349wrp; Wed, 23 Aug 2023 13:28:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGsMp88B6UM5G5wKv6AxQqqiv/wpHiejk94D3+gqMWTxWc89sUfI/K9t5/JwyziOUgzpS4o X-Received: by 2002:a05:622a:1212:b0:412:57:41b3 with SMTP id y18-20020a05622a121200b00412005741b3mr218845qtx.25.1692822527821; Wed, 23 Aug 2023 13:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692822527; cv=none; d=google.com; s=arc-20160816; b=kDR7KC7DR8Y/ozrZ9g5zLVYKUew+p1D5wBdj/55nW8zvDnZM8UPwgpPg7TK0ajKznS 2Yz97/VWy7tTDXN6NDobb2IXTeuBdOQu1vJpos3Dril2J3lDpEZNKnsIGgj3n2+4iUWV pCiomJjg23nwTLyEx3KSx+fq0b0gKNAB17KX9O+bwj0m8xAqzhaZ8cQTRbPcooBaXzcZ DJuXu/z4B/sO6vMTBxnqDKLsD9QyFstyiiHNXR2+yvGRUUHYr69BSeN0r/Z6/w7G44lG jI8vcUuIL+8CWUt4TeUnWXuq9MIaVujagMaJIpQAG143OSAlKNd9SJZE9z7c8Sw9JfES yoXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=j8qLblRcFRCdHPr4hVq4biqvsFQ7fEHYa5+9HoyfNXw=; fh=i1mkeM7bD/ppus3C3v+92ltBBCUUU0zBXrpbYjAjHqE=; b=HFQmUnrzRXFoXWHVzCLUu0QND9sfzO+Yv00+E2CsZ8jxftLI+FS1YUwCG5ZeITx63a Bh2xbpk78PzOhaYujBy6RpMWOJdUfQAVeqYaYI5Xtt+Jv9S8DRG8vWnqUM+MxHPFuNcL xWj3BwzZgK13/7S/r+h2o7p4vXbXzlj0x82FhKJ45eCUv65GBnrBuBCybWNn0nDDz9YF zbQkKIGZzXBpanaeog65d0HiP5I2ybepU4rz+RFAc5f3V7GsbmTYirICdQgGlkzp08y6 oeTmReM7ywryLxjhX2yPMLtxQC+Jv/mCkon38O68fjGD8vRE47XhJz03RrZChaPt0QrM ILUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zdolvyQ4; 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 8-20020ac85908000000b0040365c02841si7904328qty.582.2023.08.23.13.28.47 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Aug 2023 13:28:47 -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=zdolvyQ4; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qYuRj-0006Pg-Cz; Wed, 23 Aug 2023 16:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) 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 1qYuRd-0005Og-8x for qemu-devel@nongnu.org; Wed, 23 Aug 2023 16:27:13 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) 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 1qYuRb-0006DI-J7 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 16:27:12 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-68a529e1974so2769469b3a.3 for <qemu-devel@nongnu.org>; Wed, 23 Aug 2023 13:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692822430; x=1693427230; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j8qLblRcFRCdHPr4hVq4biqvsFQ7fEHYa5+9HoyfNXw=; b=zdolvyQ4niPv/WR0CODfQgBCMu1Ps0PykOOyqAgz5tEtfRHZLQh9pM2MyQTtIveYUB MLMjuoOIbqSWe2KCEdnV3gZgMnK8R2UVDH673f0VxsGOZGI7pUt1QCyk4lN9dqtYA3Pq qhzDQ7wxUcJVleR/I4CyujEbteFnOP5/1mZHws0hpwAaghbZfZ4y1EeZF4z8cQVCbE9b mfD6pZuFrZzvVPrcb5ad3oI7nshpJ/Vvj0M9JH1thLpkXYTPRNw9yUH1afZnRh+qoezv g3/uqvaEwTPcEs4aOqHM7c4s62iK/K60M8dT6D8Uu4PyMnhF8Te9NzKZHeIkS/gGOCzH Wy4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692822430; x=1693427230; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j8qLblRcFRCdHPr4hVq4biqvsFQ7fEHYa5+9HoyfNXw=; b=ez1CLfy8zQo5xbk5IEms8p8eeQ8Vddxv5y6UrRb4HRFJST0Em0s/SuLvL4kOlYmvTw Q0LwsWmwQpFBZo749BXTShMVfUO7BvG6TqzvO2/3omw8nAdgSPO56djfr7+02v/0nqpp MiO3d+5J8YcT5UO6Zq2r7xJrwrxIV1TsGUlijClEKaV3PGH0GaOKWPqbIXIlX0LcP6gI /Gc5b8KFChoEn1FPUaZY1/Tt+C0lpAGpo/cYvd2vA+v+vIZNftkjWviKKfrTCrJM4Lps 2jS53cWVK5sPfvpR/vOovX/3UhN6o6F/kWII4Q/BEmehWOXwHo+xlkD32HzqRH0nFBT7 CYCA== X-Gm-Message-State: AOJu0YxcLpuzVqto690oWJi81fl11RpoNS+uJUtQ/YJeLCU1vwhW03Nz HIcQutIREY6xA7ABsA5xaTGv4+dbMSIp3c7hJWs= X-Received: by 2002:a05:6a21:3291:b0:140:56b6:4137 with SMTP id yt17-20020a056a21329100b0014056b64137mr14440042pzb.52.1692822430154; Wed, 23 Aug 2023 13:27:10 -0700 (PDT) Received: from stoup.. ([2602:47:d483:7301:72f0:1ea7:85d2:141e]) by smtp.gmail.com with ESMTPSA id j25-20020aa783d9000000b006873aa079aasm10117871pfn.171.2023.08.23.13.27.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 13:27:09 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 46/48] target/cris: Fix a typo in gen_swapr() Date: Wed, 23 Aug 2023 13:23:24 -0700 Message-Id: <20230823202326.1353645-47-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823202326.1353645-1-richard.henderson@linaro.org> References: <20230823202326.1353645-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::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.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.29 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/48] accel/kvm: Widen pc/saved_insn for kvm_sw_breakpoint
|
expand
|
diff --git a/target/cris/translate.c b/target/cris/translate.c index 0b3d724281..42103b5558 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -411,15 +411,17 @@ static inline void t_gen_swapw(TCGv d, TCGv s) tcg_gen_or_tl(d, d, t); } -/* Reverse the within each byte. - T0 = (((T0 << 7) & 0x80808080) | - ((T0 << 5) & 0x40404040) | - ((T0 << 3) & 0x20202020) | - ((T0 << 1) & 0x10101010) | - ((T0 >> 1) & 0x08080808) | - ((T0 >> 3) & 0x04040404) | - ((T0 >> 5) & 0x02020202) | - ((T0 >> 7) & 0x01010101)); +/* + * Reverse the bits within each byte. + * + * T0 = ((T0 << 7) & 0x80808080) + * | ((T0 << 5) & 0x40404040) + * | ((T0 << 3) & 0x20202020) + * | ((T0 << 1) & 0x10101010) + * | ((T0 >> 1) & 0x08080808) + * | ((T0 >> 3) & 0x04040404) + * | ((T0 >> 5) & 0x02020202) + * | ((T0 >> 7) & 0x01010101); */ static void t_gen_swapr(TCGv d, TCGv s) {