From patchwork Thu Jul 8 21:37:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 471340 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp673269jao; Thu, 8 Jul 2021 14:39:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpmwLQTQbMP360+pMzXCUUoVVD789E/9RszOQVa01OpGfdkZyRVH97JpuyyLD0rzDYDTbG X-Received: by 2002:a05:622a:14c9:: with SMTP id u9mr16239716qtx.219.1625780355375; Thu, 08 Jul 2021 14:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625780355; cv=none; d=google.com; s=arc-20160816; b=EwS3pvR6WVKd2vhJT1FTMZsVd5/m5tznoPj8d0gIL4yhNO1hVQsTetV7pJbch9gQ57 YGlcqmNGbf8CyNy5mQ129+IxbNmYuCJ/M+jUA+HTrPQuXKlEA46zbwEGlb9f/nYzhAee S7UQHOMS2eqQGihCRSnE6+cDWqUgfdYQzHB/eDAvk2Rk4QvnyMHxJICOnVjotTM0aYte IHHtV8ib9n93hbBsflQcXWCuO3PW8BZJ4lBSUwZTQbNu2iXNL9lCa9AzI/ZGrjg7ZPBu vFVGT1EfOpMGmqwz0m5Rw/FUjlOuNS+R6fznwWkW20Y5P9or36Iy09KAMS/TlSeJolbn KLGg== 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:message-id:date:subject:to:from:dkim-signature; bh=8acp9lcthXMNN4kiCAslGUBMzEhY7HznvfDWQ2lsmRg=; b=Exbj7qGzpjAQ1m/WhqW0P5fHGjDlnuaMzh8ahBqgtt6h3EyD6xJoaMkSIFT16ICShU j+JPauOvtfSiKLaYEpfpSX8IIav1pMabLkqNDyb21kDMyZ+DQFiX+ImKSwblDn0qpNeM X1FdyYgmZnZLW8EHI7sc2wcYRZxaEb9rfCgXlkq5BNI4Isk/9/9OsYa+4qKKbKLDHqUx Oqo/IFVXSGhsCxBRaDlCs+D84qS6mj3wDqOXrTQRmpJbjBJmRWsBzcM41SKnZKy6KyDW kAFsUG/YUNY0UMzhnU9BIR2QuIhJrJnGlsggn47P23bPyB+T2QxLL0OsQxt0lIbIrojp 2J/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A5oH8wY3; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h6si3185463qth.120.2021.07.08.14.39.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jul 2021 14:39:15 -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=A5oH8wY3; 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]:45256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1bjm-0008Pa-OR for patch@linaro.org; Thu, 08 Jul 2021 17:39:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1biZ-0008PQ-UW for qemu-devel@nongnu.org; Thu, 08 Jul 2021 17:37:59 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:44804) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1biX-0008Km-Jc for qemu-devel@nongnu.org; Thu, 08 Jul 2021 17:37:59 -0400 Received: by mail-pf1-x430.google.com with SMTP id x3so3178307pfc.11 for ; Thu, 08 Jul 2021 14:37:56 -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:mime-version :content-transfer-encoding; bh=8acp9lcthXMNN4kiCAslGUBMzEhY7HznvfDWQ2lsmRg=; b=A5oH8wY3aqfx0jUZQgAiQsKRR/csitDesPgm9N3lNzI9OlrEOLIHuaYlUQ8uiq9QDm FW8HkHt9fFKLwbZvjX2QX3zgOx79f5eaM/nwXHJMiVfP/1HvgSdSFaz7X8TN/zXhMxun iF8+4Uhh0vS1ujWoFdsFT7nY6lMhkqXTqN1/J2imUXZf2/Bq6ERUuTYS0zUD/3ZAc3Bv PaMg3q73UjiY0LjHFMcPYOTLh9s4+6zbBj78/qh1E1YbJQj1s9k2MJjFJ7LXxNm68Tz7 vGg9Q2/BQQniVR8LKgNYV48qi5dEMPFspL0eE6gXSuZllFFNIX713N4zO6ia9JjQgs0T C5iQ== 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:mime-version :content-transfer-encoding; bh=8acp9lcthXMNN4kiCAslGUBMzEhY7HznvfDWQ2lsmRg=; b=DAzObjU1OUulnwm1YiVS4DFdoSZOSW1GNN2rcXWrUmnQJQdxLhVGiaYlMXnZXIZmwh cfzgy5ushc7zGosib9itE/Lz7JZs/OagoRD0SE+kFYgEDYW1/b8P9HmbHLAiOFvCibd/ ilq5ZkGJzR8d9Fv1LAVmngnS2dus6viJsLnKcYhllN+VNh1g7httuZ93F40kcqJh38hl bKHePfakw/Wy95EIkM+Exsq4dKua00xqlRaPuD8lb+W4JMKuHZ4f36M3ujCWOQhkqjB9 YkRHmaMrKUS6zPZpDPWNgbC4ojMVBeEroNvezq9nMHJJSh/cHvTvyqyQgBlZunAokShN R4FA== X-Gm-Message-State: AOAM532Z6he7Ni2hyI3hbUCUcoXZGZafbeDiG9pLz2OnOHW60mJ88O5f dSzlgemk7j/QPTe4hvU0SGJuGtarM42ZVw== X-Received: by 2002:a63:1215:: with SMTP id h21mr33540787pgl.173.1625780275774; Thu, 08 Jul 2021 14:37:55 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id g27sm4322800pgl.19.2021.07.08.14.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 14:37:55 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/4] target/openrisc: Use tcg_constant_* Date: Thu, 8 Jul 2021 14:37:50 -0700 Message-Id: <20210708213754.830485-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shorne@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Replace use of tcg_const_*, which makes a copy into a temp which must be freed, with direct use of the constant. r~ Richard Henderson (4): target/openrisc: Use tcg_constant_* target/openrisc: Use tcg_constant_tl for dc->R0 target/openrisc: Cache constant 0 in DisasContext target/openrisc: Use dc->zero in gen_add, gen_addc target/openrisc/translate.c | 68 +++++++++++-------------------------- 1 file changed, 19 insertions(+), 49 deletions(-) -- 2.25.1