From nobody Mon Feb 9 18:18:38 2026 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=1614797246; cv=none; d=zohomail.com; s=zohoarc; b=jWh7EsbGcvqRjIKNP/PRdPoRIJkumnN3///pJyedVvOgprOSaKgiEAE4QAWzC4GtjZDs87OC+LxwC6iN8JP5BfYpIDUAaZ4Ztl1MM8lyad2lVhbhGrpdA4gPLTgS+jqOhAhvlA5dm4Ot7ENOl5MpVNMGRk/A5CRptnpfwEpRFQA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614797246; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=zv/BwC5POPyWjWYZMgFmMVd8R/Xa4KoRgVF20B1JO98=; b=U+uz9rPKXyAi0mQYf1ldmXLhBiggCJm9SA2aSMvvaMUyX/lHrY+nXpStoL9z8N8SOp9FjGbTR378qYLAhsZSuXqbhFVFfb3BrjAjdstoyy0un9UPDVCGmKzIpcQXznBVAhvsVyHOPxyHK+KYURl8Rc61BSUDv/W/Syll0LSavjk= 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 1614797246176206.00874687675923; Wed, 3 Mar 2021 10:47:26 -0800 (PST) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-527-p0U4cqPmOUmlvWlNCMcS6A-1; Wed, 03 Mar 2021 13:47:23 -0500 Received: by mail-wr1-f69.google.com with SMTP id z6so4469716wrh.11 for ; Wed, 03 Mar 2021 10:47:23 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (68.red-83-57-175.dynamicip.rima-tde.net. [83.57.175.68]) by smtp.gmail.com with ESMTPSA id m11sm20480462wrz.40.2021.03.03.10.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 10:47:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614797245; 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=zv/BwC5POPyWjWYZMgFmMVd8R/Xa4KoRgVF20B1JO98=; b=PUjoyjuiiia8Qc/sadCRsc+cqVUmbh7l+NLXWtqEx+3eI02y5p85BwiPj7oyM1a+9m1Vfd D3uXB8aLIFFCDhT5duiZ3zeMmDXHzrektEEeHO0RdzfYppQFwu/XSA9A8xXTup+6mixhGc Zl8DrMx+mB3fCDx9wrDtzu5cnNn8o8U= X-MC-Unique: p0U4cqPmOUmlvWlNCMcS6A-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=zv/BwC5POPyWjWYZMgFmMVd8R/Xa4KoRgVF20B1JO98=; b=HAHLHD19qK3mhVRLsh8iicqFcBSDYalPG+P67K5yxsjnwopWvODavYp+Fcx8c4THds Oqp9iQDdvq1zQZK1oLUNv49ceW097MPNCNzXmppmL/Prh/Wue2IpOBJDGZyz3B7Wg1Ej 8iDof5g2nrEi2wL55mYCz/1ecIs0zLbnCmhoOyjxinNyahI+TOxyHV0Pl3BUE/xH0ZQ9 KInbsBIvR9PIkbWGTTIFx9lwKvTZcY1C5f4MmeFv8lcYB9AezlVJj9TTsCGoNEFDEgMM KyOUdX3lXtXq+wSuP8U86/PJyqT7KLS689IxEd4+q+lhYi1TYi8k0SQSFYaUgJN78SNu PrnQ== X-Gm-Message-State: AOAM533O2Si97eechE50ENF+n1wE8mFq0kis1muVgFiI6hwwUTYY05xk EImAZQKAjyFRf2rsU1kwsLuEcqCFmmmGv9GGIdomEXU/Va0GCoLf78FaeqkY6yAUSaHplMj6NAK OJUXYTIwG5e0ciA== X-Received: by 2002:adf:a4d0:: with SMTP id h16mr130682wrb.52.1614797242492; Wed, 03 Mar 2021 10:47:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5JgQpBX92H6UGgShZ4/nvXSRy+FEwNApU2icyYpt9aUmnJnLP8p5aGqMj2y+myurUBLCLZA== X-Received: by 2002:adf:a4d0:: with SMTP id h16mr130662wrb.52.1614797242368; Wed, 03 Mar 2021 10:47:22 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , "Dr. David Alan Gilbert" , Kevin Wolf , Michael Roth , Stefan Hajnoczi , qemu-trivial@nongnu.org, Aurelien Jarno , Peter Maydell , Alex Williamson , Eduardo Otubo , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Max Reitz , qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= Subject: [PATCH v3 5/5] tests/fp/fp-test: Replace the word 'blacklist' Date: Wed, 3 Mar 2021 19:46:44 +0100 Message-Id: <20210303184644.1639691-6-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210303184644.1639691-1-philmd@redhat.com> References: <20210303184644.1639691-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 Acked-by: Alex Benn=C3=A9e Reviewed-by: Daniel P. Berrang=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- 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