From nobody Wed Apr 16 14:15:35 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1675528717; cv=none; d=zohomail.com; s=zohoarc; b=mFDo0M0dI7URJl0tEbL9sfUevxSjU9Z2OwvGFqyRp9LGJzsN/JBE6TO+OA8ht1jwIbY33MWFxctdq0AgXSA5KVsyXm5As5QS2Hw2FXy3VP4Mitfg10ChmMewwdjFO8oqva2daM0x6jOXJA6rN5hoJQ7TPJq/KeHFil4x5ACgVoA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675528717; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=eNQ5cD41iWDDXrL/VUUAl3ccQjSxU/V7M1eUUGdE6wQ=; b=QHj2F4QQgFGlZFZK0h1TU4z6MhohH6edXd65caM0Uqus/lV70Yjw3lSVWRlp6kcV9BS1Vw28v/V1gJZ1nI73kyPoeflvkAXTr2ptKptv0E1tD6/CXmM+IekTcEn91q4Hw7MhKtYbIxaKDwv7QE72+As2NoiVNcIlbqrmfheLanE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1675528717568461.4903875173733; Sat, 4 Feb 2023 08:38:37 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOLUW-0005Pa-5s; Sat, 04 Feb 2023 11:34:16 -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 ) id 1pOLUS-0005OQ-TB for qemu-devel@nongnu.org; Sat, 04 Feb 2023 11:34:15 -0500 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOLUR-0002bl-Am for qemu-devel@nongnu.org; Sat, 04 Feb 2023 11:34:12 -0500 Received: by mail-pj1-x102e.google.com with SMTP id v6-20020a17090ad58600b00229eec90a7fso10293792pju.0 for ; Sat, 04 Feb 2023 08:34:10 -0800 (PST) Received: from stoup.. (rrcs-173-197-98-118.west.biz.rr.com. [173.197.98.118]) by smtp.gmail.com with ESMTPSA id w19-20020a1709029a9300b00186b69157ecsm3660859plp.202.2023.02.04.08.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Feb 2023 08:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=eNQ5cD41iWDDXrL/VUUAl3ccQjSxU/V7M1eUUGdE6wQ=; b=kzbSD3MwZ4d4oG8Hkyf/l6jj/pFpkT6pUg204da41TVc+h4bNPKY242MM+e75RqVRr jml/O6kTny84LLDpNhPfUFaBYp3gOF1CNttmU2WNbCrKJBAGNd+dwM9cmX++RgpftbeJ noV1ooaFZj31ZQHbFIg8Hjew9JBZ1c3Vfsa9PgMeCTH5M+SniXaTQgHqM0/0CD0vPeH4 ik1+Tk2220LzX7SAcE6BfbVdljUWrTB2GIEDypvI0pOyxisZuV2gvLzd75JSAWl/opTb jJ+0Jhs+BbDkV0fE9i94RijcW69tr2HYIJbyijStCz25FBVx8l2ZqtjZ6qI9rSyWrPo8 onqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=eNQ5cD41iWDDXrL/VUUAl3ccQjSxU/V7M1eUUGdE6wQ=; b=tvCtLZaf2fnkKu9WbP1jJXp9LR0CMCdH4Rw2Mk/h1FfF0OPLAqDAQ/zA3nYz5NGLo+ 1rgXy3kBvoQCy+yZNoVLPY7/rLhK2J5lZQB9O0EkIgGB7vBEqWoUaiLGOx43ZGh4CSca RGAYAoJr3K7tTdRuWnB2XsvFmqJezcJUSiASyPR85dxBVk1gIsjckHgQHDMZJd8I/Mhn exv0sRO7w4qnych/c+/XHnyiqbugCdkp6Gr9DgcfHOEKwJCAhSBUXma9niempKTV1zwI Sq5r1jFrM69ZlL0t+CcM6TK2qhAd2tEjDV3UK7RlkVAsWttf7FphfMPscaKNtAAZrq06 m70A== X-Gm-Message-State: AO0yUKWf5ixA+Z0R4+VuIEDHY/QleH42p2JJlUTW1mz0zIwCmgaP+Jpq WUAmLV5LUSecU8OMmFJ1+TpI0tMY4KtpWpyA X-Google-Smtp-Source: AK7set9lKPgbecyOAjTc0wq+oqryXDUdlEYQ2TuTH4ufP3EB6DOtppRw9cTMmvPCvGFGeJhbTItq3Q== X-Received: by 2002:a05:6a21:1707:b0:bc:9f82:93a6 with SMTP id nv7-20020a056a21170700b000bc9f8293a6mr13948844pzb.7.1675528449942; Sat, 04 Feb 2023 08:34:09 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, David Hildenbrand Subject: [PULL 36/40] target/s390x: Implement CC_OP_NZ in gen_op_calc_cc Date: Sat, 4 Feb 2023 06:33:06 -1000 Message-Id: <20230204163310.815536-37-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230204163310.815536-1-richard.henderson@linaro.org> References: <20230204163310.815536-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102e.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1675528718815100004 Content-Type: text/plain; charset="utf-8" This case is trivial to implement inline. Reviewed-by: David Hildenbrand Signed-off-by: Richard Henderson --- target/s390x/tcg/translate.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 9ea28b3e52..ac5bd98f04 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -625,6 +625,9 @@ static void gen_op_calc_cc(DisasContext *s) /* env->cc_op already is the cc value */ break; case CC_OP_NZ: + tcg_gen_setcondi_i64(TCG_COND_NE, cc_dst, cc_dst, 0); + tcg_gen_extrl_i64_i32(cc_op, cc_dst); + break; case CC_OP_ABS_64: case CC_OP_NABS_64: case CC_OP_ABS_32: --=20 2.34.1