From nobody Tue Nov 18 19:43:46 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1612299587; cv=none; d=zohomail.com; s=zohoarc; b=hKUiPVBX2glSLWdqrqKEdDdv9JfpUVaPzIJl9sCQ3kLaxkes1N7mIQcSJrBsMFVi/PJ2EQrXd7f0TsihTVA0nq7i93YzcCCuI84APzjb61XRxwi9vYu+X+JUbM+Vi/b5McOODx3qMWUoBl4TsNJTry3lJPZscLTHs7MlVTrLXgo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612299587; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=GCsDS0t3ZTS4NBHckBplUJ0frNx7d00ggon3r8WYiLc=; b=kLCMBjOKiqeXZNv7/P7CQexNcMqpmZrTJq9Tm4pyMpCtqdo0Lb1OWrtMTsLkLB8xYVGANgdb333mJEMMgC2M84wd5IjCmu6jnZRkgSjT53YX9onsQhb5nvWwMKpQfRB4pP/USqimpAbsBrnHNNat74oozRv7eX4scJM0Zg6mt1s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1612299587253681.4529835695967; Tue, 2 Feb 2021 12:59:47 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-185-ve7s1PQ2PJ-c_I6aJ8FYwA-1; Tue, 02 Feb 2021 15:59:44 -0500 Received: by mail-ed1-f72.google.com with SMTP id i4so4208507edt.11 for ; Tue, 02 Feb 2021 12:59:44 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id r7sm11639ejo.20.2021.02.02.12.59.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 12:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612299586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GCsDS0t3ZTS4NBHckBplUJ0frNx7d00ggon3r8WYiLc=; b=JLQIPC3z4E/JW4aKd7bJ4jEKQNRTqMk1JDm6eXYdsvaNQD2dqv0RU3yetwowN2UpVSHjS2 HEsLLUG+OgiOqf9bdj0W7IBIaorRr6JEWu7gpwfnqQmsPK7iiQPbpVZe0GE8Jbew6RCxVs HDj2YPcMOdykJhlTtWjuLSBZyiHukoE= X-MC-Unique: ve7s1PQ2PJ-c_I6aJ8FYwA-1 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GCsDS0t3ZTS4NBHckBplUJ0frNx7d00ggon3r8WYiLc=; b=lKoLIx4dL+cs82vpRCT59A+fk1tnvXmn/ee+86Ye4NT+pkqY3QJrfjbumuydykohSx fnOFntB63BR7IvMkn09Je+nUV8Ls9XU5BlFZ/vtOEVig0qn75dhvohepC1PnHIuU+iKR Z3leKFf7j8QUUqY+hTwIAQCWrx5RYSRP3binZszA6fyJ7fnMjB91cW2HfIGRHg77EiVG Xeil/A1Qp0Q///5XtI3vebH6OGEmSqc/HEmOO9Wosjt+DXUvuF8LXsb9fxVg6ekIDXtq xMzU+PnMAdMuDZHAm1FyWJSB97072ua4FQjbqeL+3ps2osc04BmkfnI+wTwgSCvPHxM7 B6eg== X-Gm-Message-State: AOAM5332xUJvsQ2GkDV6P/61Fmfc5U8ExAtVE0B7yOjg457MARDcws5c dYX5oXlKzdnXhDn0Bqk4YXZ1gsciAeR2gJF0bzA3dfPzCfhrI9kfjKvVawOxIXNvWAHblqTxS7t zm+ch2foyaJz7Cw== X-Received: by 2002:a17:906:5e5a:: with SMTP id b26mr12697564eju.327.1612299583615; Tue, 02 Feb 2021 12:59:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOQeuoj112ym+ONA8FZIjcqwUF9f63qKeGMpddE4Wk1sSoT+WivNEbYh/Xf6y/79FDpYFrXA== X-Received: by 2002:a17:906:5e5a:: with SMTP id b26mr12697549eju.327.1612299583451; Tue, 02 Feb 2021 12:59:43 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , "Dr. David Alan Gilbert" , Eduardo Otubo , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gerd Hoffmann , Aurelien Jarno , qemu-block@nongnu.org, Kevin Wolf , Michael Roth , Peter Maydell , Alex Williamson , Max Reitz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 11/12] tests/fp/fp-test: Replace the word 'blacklist' Date: Tue, 2 Feb 2021 21:58:23 +0100 Message-Id: <20210202205824.1085853-12-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210202205824.1085853-1-philmd@redhat.com> References: <20210202205824.1085853-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Follow the inclusive terminology from the "Conscious Language in your Open Source Projects" guidelines [*] and replace the word "blacklist" appropriately. [*] https://github.com/conscious-lang/conscious-lang-docs/blob/main/faq.md Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Alex Benn=C3=A9e Reviewed-by: Daniel P. Berrang=C3=A9 --- tests/fp/fp-test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c index 06ffebd6db1..5a4cad8c8b2 100644 --- a/tests/fp/fp-test.c +++ b/tests/fp/fp-test.c @@ -123,7 +123,7 @@ static void not_implemented(void) fprintf(stderr, "Not implemented.\n"); } =20 -static bool blacklisted(unsigned op, int rmode) +static bool is_allowed(unsigned op, int rmode) { /* odd has not been implemented for any 80-bit ops */ if (rmode =3D=3D softfloat_round_odd) { @@ -161,10 +161,10 @@ static bool blacklisted(unsigned op, int rmode) case F32_TO_EXTF80: case F64_TO_EXTF80: case F128_TO_EXTF80: - return true; + return false; } } - return false; + return true; } =20 static void do_testfloat(int op, int rmode, bool exact) @@ -194,7 +194,7 @@ static void do_testfloat(int op, int rmode, bool exact) verCases_writeFunctionName(stderr); fputs("\n", stderr); =20 - if (blacklisted(op, rmode)) { + if (!is_allowed(op, rmode)) { not_implemented(); return; } --=20 2.26.2