Message ID | 20230309200550.3878088-65-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 0a476786263fd3b68b89634561576aedac49e44a |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp498201wrb; Thu, 9 Mar 2023 12:11:47 -0800 (PST) X-Google-Smtp-Source: AK7set9+Qv0mSnxRXMN7uTfbPzpRz0Si0ClQjIq5PvN07oScCr4ML7jyDj6fGxHNLbrB1j3jIVy9 X-Received: by 2002:a5d:4a8b:0:b0:2c5:5234:882c with SMTP id o11-20020a5d4a8b000000b002c55234882cmr14640773wrq.7.1678392707606; Thu, 09 Mar 2023 12:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678392707; cv=none; d=google.com; s=arc-20160816; b=JRNb7algaxVolNNCwfKTIyRpWrRZ8PxRbxagRx+LxDG6tVwqz2YC7gGJjM9mb9seNl ECjoxDE0MOz9XG9Is5iMLMeFsHEBfYP7e1pibFXlk8tAQAU5smqIJ3g45DJpGSyZlaUM Mj4osJDe+bw/ECF1zbIckrh5AyjNnZinschljhsH4PpOvShah5v56iPrm3VkLO889LL9 ncIhUBzsE5Vg9jm8Y8/XeLTbLrxYJSKH9cFIly2UxH62g1N7KiVq/Qv+gpzfX/+LGYTF tT2T63f2+DLO7iUg2BnW9OY6cixLb8wfsvdU5n0qCg/wFePndRB6PyG44wwEXacavFP5 JsVQ== 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=DLZEot0hF6NAbXrKFQ/07RYgG9Dd/Q8qZBFDowmkBRE=; b=ZuSSdosDrtii4Gqlwo8SeT511TehErsn6Xgt2AhBoBubADVIFbQsxhIPynNE6FTqJB 25/h5uZ6ZYzjsLl5ahX8tS588LGd4lFouNv3lyrTs9NMono+HHskrqbWRoCQTCwgz61W /VSTWMacbfM+jYOSYuHFercz0FDwEPgj9zxWoPnAgr4xv5MUAdN6YDU0LnvlJD7LX526 WK8riRyTUC+0nOG+MF6SzZIzr/epY0/0vrwBzHtZGTH3SDpj87lyKASK7/uRASgU4K8p UhgE8SDUx511CTk3NGgTkIXwyywdK+uOPIKEqaRlEVpFbm78mDYc10r/1DIcSHRiWu2/ 4rVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="S+e3/6/9"; 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 m13-20020a5d6a0d000000b002c5584b8e9dsi277154wru.740.2023.03.09.12.11.47 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Mar 2023 12:11:47 -0800 (PST) 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="S+e3/6/9"; 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 1paMaK-00052g-Bl; Thu, 09 Mar 2023 15:09:56 -0500 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 1paMaF-0004Ua-WE for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:09:52 -0500 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) 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 1paMaE-0001ah-91 for qemu-devel@nongnu.org; Thu, 09 Mar 2023 15:09:51 -0500 Received: by mail-pj1-x1036.google.com with SMTP id h17-20020a17090aea9100b0023739b10792so3024688pjz.1 for <qemu-devel@nongnu.org>; Thu, 09 Mar 2023 12:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678392589; 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=DLZEot0hF6NAbXrKFQ/07RYgG9Dd/Q8qZBFDowmkBRE=; b=S+e3/6/9MVtvVwkJpSrd3h00AGY6JU+pnTfG3653lvayAX4Ceypoiba8Ve37XoX+/R XAQ3iQbf6aggmO/4+7sGsv/IV1dOV5xFhQVzg5MLoTFQXVfMP5FmRTQNafzcgTOhdLE+ hk4ed3mL72V5ZddKNK8VYNZXLFzPKCdAfQzOwA7yW86joWwrTo3e4nq+/srLeHtycq1T mADYLiME88heGeUvdYn/cNXLhnXvmAy089u52no5Do6+b1418cYlFvFPaZfrpauWECAL rwwkaYNj0JT1Y+g+ahqYSZ+es2auz0FLOQhJwlnzZ2jjgPtzA/1m9YKpz1r3ik6ckWln rc2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678392589; 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=DLZEot0hF6NAbXrKFQ/07RYgG9Dd/Q8qZBFDowmkBRE=; b=IYk985tpeG1LJb+CgUNQ4W8h3q5aQwPzSI3xoW3dW3pJWR0DRNVT4BKAi6/F4bWdoq TGtBjFmvF75Ng/iFKziDU16ytZW4V2nNbhqfildWNs/49jrXeP3M7KIOIEJMaL4GaeP4 HwlDe/JSXN3xIjLLbQ5JC6rlKeNPSwA5SsQyUzl0zK1L4B8BR8FgpcmTayUULeFiGXQE GBFRQGprxdVfqp4KYJz8sLLqxj7BhvXH1AC+FC64OLGU/XlLK6IAzsz5NeHUXHqLnBDU 3A0Ot1CMcg/rU7ZcbwYD1MeZ+a9qWlyyDV4QWnvzS28GNF2Ve7Vszq2aHEia41GCL2fa gAsg== X-Gm-Message-State: AO0yUKVpcwGsojpZLgshqToeMbIYPHhpzs9VXYROzGvH1Dl+FVkeBmC5 ZrJqa4Lij04AiN5Z5kwHw9RQcdvUY8S7oD/B1KI= X-Received: by 2002:a17:903:22ce:b0:19d:90f:6c6c with SMTP id y14-20020a17090322ce00b0019d090f6c6cmr27571681plg.17.1678392588988; Thu, 09 Mar 2023 12:09:48 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:bf7f:79a0:a976:bdaf]) by smtp.gmail.com with ESMTPSA id c2-20020a170902aa4200b001991e4e0bdcsm43797plr.233.2023.03.09.12.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 12:09:48 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL v2 64/91] target/tricore: Use setcondi instead of explicit allocation Date: Thu, 9 Mar 2023 12:05:23 -0800 Message-Id: <20230309200550.3878088-65-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309200550.3878088-1-richard.henderson@linaro.org> References: <20230309200550.3878088-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::1036; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1036.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,v2,01/91] target/mips: Drop tcg_temp_free from micromips_translate.c.inc
|
expand
|
diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 19cf4b6cc7..6b2065803f 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -3514,17 +3514,14 @@ static void decode_sr_accu(DisasContext *ctx) { uint32_t op2; uint32_t r1; - TCGv temp; r1 = MASK_OP_SR_S1D(ctx->opcode); op2 = MASK_OP_SR_OP2(ctx->opcode); switch (op2) { case OPC2_16_SR_RSUB: - /* overflow only if r1 = -0x80000000 */ - temp = tcg_const_i32(-0x80000000); - /* calc V bit */ - tcg_gen_setcond_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r1], temp); + /* calc V bit -- overflow only if r1 = -0x80000000 */ + tcg_gen_setcondi_tl(TCG_COND_EQ, cpu_PSW_V, cpu_gpr_d[r1], -0x80000000); tcg_gen_shli_tl(cpu_PSW_V, cpu_PSW_V, 31); /* calc SV bit */ tcg_gen_or_tl(cpu_PSW_SV, cpu_PSW_SV, cpu_PSW_V);