From nobody Thu Nov 28 10:40:18 2024 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1694153465; cv=none; d=zohomail.com; s=zohoarc; b=WRq/5+1eBSK/pIf7Fij8DS9pHbT239mfOV12XV+TgpLa4es08vXJGd47aahDKgGv9rjsGxnAnCBo/8RwyFQBK+bdux1mgiesosEFbU98DQyt1bX6zO0qiv7C/rFhBmLiA5HXwg3aEezm8N2BcDEgBd7/PqlYHrRoSmTAuJ16gLE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694153465; 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=SNW/cl5XE7PcFPCSWK9aTBzwWg07OvJep7oqCwyWKIs=; b=eCBuErhM26/tZ1ZH5/YvLXuhaNADj7kpMRtF4rhpWrbemV17HzPb2DjfKONF41O6E3rF62yqXEWwk/n7dmepMI1CGfVlJGwKQhYS2O6YtxVxk8H7CrMGViy5zen4RmiPhQATHjmk+2flK8x7hetItIHlYXXd6vW0XWC5HHO2Gls= 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 1694153465754727.6463414952871; Thu, 7 Sep 2023 23:11:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeUeJ-00065r-M4; Fri, 08 Sep 2023 02:07:23 -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 ) id 1qeUeH-00062C-RH for qemu-devel@nongnu.org; Fri, 08 Sep 2023 02:07:21 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeUeE-0007I1-J1 for qemu-devel@nongnu.org; Fri, 08 Sep 2023 02:07:21 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1c336f3f449so14699345ad.3 for ; Thu, 07 Sep 2023 23:07:18 -0700 (PDT) Received: from toolbox.alistair23.me (2403-580b-97e8-0-321-6fb2-58f1-a1b1.ip6.aussiebb.net. [2403:580b:97e8:0:321:6fb2:58f1:a1b1]) by smtp.gmail.com with ESMTPSA id q1-20020a170902dac100b001c3267ae31bsm715231plx.301.2023.09.07.23.07.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 23:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694153237; x=1694758037; darn=nongnu.org; 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=SNW/cl5XE7PcFPCSWK9aTBzwWg07OvJep7oqCwyWKIs=; b=MD5v1ttUQBo6HfEnPmZLc9v2KX4HkTva+5CSvT8Y/tIuLdeFApMkWafaVz6QUpSXJZ RXy5DXAj2ybUNDjC1wBWfwLXbDUrw+PJkWOZHJVfPNjaIGzw0dkgQbt0dvMPeUDqAF2K Vvb89dKh/ydm7n4zyjlFtdOwmJ2K1nAGEuxYHr9Qf3aIftX1yrhLbF/FX6Nl9VYP+M5q KYfMrq1rBb/JcA+LcCvOlgO+jCIScCULl9LElIVDenCXrDH5Kfh5IqLETXmSlD1pT/O2 ccXOsfqjDSSqtx3Au9mrGT70Y6w+aD7aAmAquq8J9cQ4ihSGiHEyne1diN0m1ctirCNe UmXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694153237; x=1694758037; 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=SNW/cl5XE7PcFPCSWK9aTBzwWg07OvJep7oqCwyWKIs=; b=Jvb/6hMOnCq69EA1nCRplgKfL9eT033X3uAVfL+x9yBDqs+aS6DCzwvvz1YVJKRIYO cKJrheS+JvV7nzA+HIyL/JX2KA4Qyl0aMSEytSa25Cbe1Ox9OXmuvEjoCi+7vFFW3D4T +1sdlfP47qc8bMST7z5oInTiOspSxs+TqgBR6feAznQtydUSu30posLxlh1hDQvKsfHt vbyrmgh7hwdyent0uEcE/f9fBrWlNb+aJc0e8E6r1U42wXF8gNZ38u1wl6JcX7hcQYy0 UcpGdac2R0gLnlcp0sTe5Xay9nWSu16rfpy82tzqDX1cHb9I7glo0jzADwHfTgLWGOvg B6Fg== X-Gm-Message-State: AOJu0YxZ541kt7KwbKR/soPMabcz+GDcsh0362CTwgD/WIpxhG1Q1QBv BG3A53E1AOz4eU/9MjE2toVpjxDeaBm3lq5V X-Google-Smtp-Source: AGHT+IFTrO40rcArjfhnK2w23VzZ2CJxt8XlylmyXhm5mz6WUotek8zR6/jdinwPsKvf9FHazhA14w== X-Received: by 2002:a17:902:d2d1:b0:1bd:c6ca:e0db with SMTP id n17-20020a170902d2d100b001bdc6cae0dbmr1711028plc.37.1694153236927; Thu, 07 Sep 2023 23:07:16 -0700 (PDT) From: Alistair Francis X-Google-Original-From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Vineet Gupta , Alistair Francis Subject: [PULL 37/65] riscv: zicond: make non-experimental Date: Fri, 8 Sep 2023 16:04:03 +1000 Message-ID: <20230908060431.1903919-38-alistair.francis@wdc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230908060431.1903919-1-alistair.francis@wdc.com> References: <20230908060431.1903919-1-alistair.francis@wdc.com> 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::636; envelope-from=alistair23@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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 @gmail.com) X-ZM-MESSAGEID: 1694153466629100001 Content-Type: text/plain; charset="utf-8" From: Vineet Gupta zicond is now codegen supported in both llvm and gcc. This change allows seamless enabling/testing of zicond in downstream projects. e.g. currently riscv-gnu-toolchain parses elf attributes to create a cmdline for qemu but fails short of enabling it because of the "x-" prefix. Signed-off-by: Vineet Gupta Message-ID: <20230808181715.436395-1-vineetg@rivosinc.com> Reviewed-by: Alistair Francis Signed-off-by: Alistair Francis --- target/riscv/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 34ac26e3ae..bf0912014e 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -1869,6 +1869,7 @@ static Property riscv_cpu_extensions[] =3D { DEFINE_PROP_BOOL("zcf", RISCVCPU, cfg.ext_zcf, false), DEFINE_PROP_BOOL("zcmp", RISCVCPU, cfg.ext_zcmp, false), DEFINE_PROP_BOOL("zcmt", RISCVCPU, cfg.ext_zcmt, false), + DEFINE_PROP_BOOL("zicond", RISCVCPU, cfg.ext_zicond, false), =20 /* Vendor-specific custom extensions */ DEFINE_PROP_BOOL("xtheadba", RISCVCPU, cfg.ext_xtheadba, false), @@ -1885,7 +1886,6 @@ static Property riscv_cpu_extensions[] =3D { DEFINE_PROP_BOOL("xventanacondops", RISCVCPU, cfg.ext_XVentanaCondOps,= false), =20 /* These are experimental so mark with 'x-' */ - DEFINE_PROP_BOOL("x-zicond", RISCVCPU, cfg.ext_zicond, false), =20 /* ePMP 0.9.3 */ DEFINE_PROP_BOOL("x-epmp", RISCVCPU, cfg.epmp, false), --=20 2.41.0