From nobody Tue Nov 18 21:12:19 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1612545548; cv=none; d=zohomail.com; s=zohoarc; b=eeYdwKUwMt+qB11FxyD4hMAywnjeEEjS+z7LE4+obVYYTXmAHHR0T0xA9LhlElwnZU24CzVrQOKaRWdCK+CDLRouYJ73OVeC0HVOY+P3wmQPFO8cDDrbnHd8daVezXOJFjm1jw0XRTWV5AHk4E5LP9aT8BLGk3Y65tzEVtVgV1Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612545548; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=zv/BwC5POPyWjWYZMgFmMVd8R/Xa4KoRgVF20B1JO98=; b=c/e1Q1uXJmiPwOoZQ7aXxwyA0QUYCTANdCZTFjJJlR7EGxUTMG8sZ05tg/Rp2APhnsJgRjFiRgY9cB+X0CccS33B8KnaYfS5k696cUmrqclTs06aSQOnGv/XpH5sEFGf+LwJFWpeNkEY7UcpP62dCexGXFyxphxDACVmOKcGLDI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.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 [63.128.21.124]) by mx.zohomail.com with SMTPS id 1612545548980268.20307444247464; Fri, 5 Feb 2021 09:19:08 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-596-xtmI1IdIMsekwW2bKgIoHA-1; Fri, 05 Feb 2021 12:19:04 -0500 Received: by mail-ej1-f72.google.com with SMTP id k3so7152045ejr.16 for ; Fri, 05 Feb 2021 09:19:04 -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 w3sm4185595eja.52.2021.02.05.09.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 09:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612545547; 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=cUncx+ntrLTeeH82OW4VrrP7vUHN8LcgCKU1JCLckraHfR1LLKRd4nqvMakFmguzJWjli6 Fc1opl+L/vDKQyYP9XK4PKr4e+KXWbmxrd25mmZvdx3fJqqV9iTfv/zcdnCl5lC08DBTjD hKZHwLWxw7HP/FYqsRZnYpoe71P0WGg= X-MC-Unique: xtmI1IdIMsekwW2bKgIoHA-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=j2rNaYY903UQgMRu19MpHTekaWO2WuRD/9mmEt7JL60pqfqFGo1xmujEWd+lOyIjyv UkBbjdB8bd0AjZiOtE/YOJRLI03MI6S3juhaslnMQiudyDpqqktc/QCJW2T6FAFJ0Jns y8GvhNykUXBqR1AmPsXa3aI1XDNfa8+1pniGi4SXDzsDlD3QcyRvUMt5Ckzhg9/s/avB vHbvakPBrpcgSBM2kpJO4OyfyPUZzXHe6H9HCRhvfg/4iVlig1DovlsvY5daM4h+CWZL xy/quvRO2vGveudf+9nMAHfeSLm1eyAXqx3b2Lpu78e3BsCr4+jIcwxaJ1CMtJ1eHJhI ZXmQ== X-Gm-Message-State: AOAM5311EOjXHtafxpN0XGt8YWBXVq3aaZuw/5sN6gQIy5HKSROfLO4P XiNZNgMFk5zTMudsS3b5AwB2OMffN33+Q55X/qkqjeeXaThuEefciEIop5xkg4Ofp5FatYP43RG TRfp3PkJLgm9R4g== X-Received: by 2002:a17:906:4a8b:: with SMTP id x11mr4807085eju.195.1612545543136; Fri, 05 Feb 2021 09:19:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4AESYMU1owVRhV9m92wtbzGYJ8Gn9txipWIFeVvltbcAMh1VARjUR13pA6qTP5yK+Gb16GA== X-Received: by 2002:a17:906:4a8b:: with SMTP id x11mr4807070eju.195.1612545543029; Fri, 05 Feb 2021 09:19:03 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , Max Reitz , Peter Maydell , Stefan Hajnoczi , Eduardo Otubo , qemu-block@nongnu.org, Gerd Hoffmann , Aurelien Jarno , Michael Roth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Alex Williamson , Kevin Wolf , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= Subject: [PATCH v2 7/8] tests/fp/fp-test: Replace the word 'blacklist' Date: Fri, 5 Feb 2021 18:18:16 +0100 Message-Id: <20210205171817.2108907-8-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210205171817.2108907-1-philmd@redhat.com> References: <20210205171817.2108907-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 --- 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