From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by sourceware.org (Postfix) with ESMTPS id 3FFB63858D28 for ; Thu, 2 Nov 2023 19:55:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3FFB63858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3FFB63858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698954947; cv=none; b=Crr5b1ay2V7d0JVwrM+ntG6fvVxHcRkmb5Yt0cZB8CkaeGxQGIWtWQdbN8SwmtWPS1lMOrtjewPHcaPteBzk5P03hYeNBqQnBWKUCb95lqm9+5EQub7rtCA0G03WvmTYIGtlf9PNvWVIFrhp9Pcey/HkGEfmKVus6tBYciba9n0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698954947; c=relaxed/simple; bh=abx33JCbOI9mrh1IC1k6vCZeI96bOBJLMlNSiE7M7js=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=sHh/DHGR9Dyb/I1Lmynpb7pGra/fMh+7LX675XAxG9jKx4we5GCtyk2jIVP/jcoOSRI82VscN6yTRtjqr8O054yR/JSyWUMx5beBehapxr7LgVGgQFcEn1HhmE0i8iNeXyL5XEXj86kM6txzcNoxwQ/er6zbSNMLtjYZNrOEiik= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-5a82c2eb50cso16420217b3.2 for ; Thu, 02 Nov 2023 12:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698954936; x=1699559736; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Tpj34Mf4AL/fS6M0PgjmMq2ilEI8M6ClH76QxhFN3V0=; b=CJ5Mctm9D9vu7DUi4zpdTlPTngW8kUex+nIcFYlWjUU1WeGpQh8KkSgVI0FipNUF6I RRYIpsxVaHCYC9Qn48NTu6Ytv2M/u3/eEVU6v9vCfCZo/4BUBgzyTd+vHdAMP7mikoc6 u+4VT/a5sAge999egotsRNQqEqxGqwXGiOXsLkKLbzrWXYM0XT8YeU506rvttV/aUQ9/ Q6TMkl7/dQOI+EtA2L63IJmJf0HcbNeCJN3j1bcobQz9jvWve4bpJM9SCGoPkCxqy1aD joP+U5SG/DAdGbUlsm8oxSU1orrT2pMT7d3ohmzP94a7rY/huk3TCaxA7zz54BJlMAI2 shoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698954936; x=1699559736; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Tpj34Mf4AL/fS6M0PgjmMq2ilEI8M6ClH76QxhFN3V0=; b=LKIRCaOmQ6XQOWNErY/oTFu3+PvXtsQTTGr2n2puze/riIrh4EriyJ855EBA4LX89G zNCuAFkpZ7lWGjRlHAW48eSB9DUhc0M7P0BkMFeTJg/9IXb7eLNBFRRpQoNi7LsYPwqV WI7JWnCv3bQodxAqNEIePay4GYFNXJdW+p6M0ufgnc/9iDIcbMnYhgkvGSb+SBpHV8/t gRHXbcTv9lEtskVT8sUeV4o1Rx6C+26S/gfjcLymAdCsIx1tE+fIV5VrzsO1R7gTXh40 8LQ6Olcw53EQONzFZ7OFBacUKXP/MboaGO0NTUxbzPDdp3vIw+hTGQAnJ/4Xt7McsYRb YN5A== X-Gm-Message-State: AOJu0YwbuFIuQBjmMs0ieYbAh3hR702/3vUBkyb8CFtq9bag1wB2sPPw NGuETpe6M85OOdMRIXVwV/hF5CIbtGUcmw+WOmFIuQ== X-Google-Smtp-Source: AGHT+IEW2MmG+pIL896h2f9T0iz7jMNrjfU5Klmy9CPO3MUQQJd7sFPrfiguKwSRRIXUhJzMPKYi8g== X-Received: by 2002:a81:6cc3:0:b0:5a7:fae6:1cc6 with SMTP id h186-20020a816cc3000000b005a7fae61cc6mr854510ywc.24.1698954935753; Thu, 02 Nov 2023 12:55:35 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c0:a715:eca9:ef98:8277:b817]) by smtp.gmail.com with ESMTPSA id s15-20020a81bf4f000000b0059adc0c4392sm105222ywk.140.2023.11.02.12.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 12:55:34 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org, Bruno Haible Subject: [PATCH 0/7] Multiple floating-point environment fixes Date: Thu, 2 Nov 2023 16:55:24 -0300 Message-Id: <20231102195531.2692153-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Bruno Haible has uncovered multiple issues with floating point environment functions on multiple platforms. He already added gnulib modules to overrides some functions, so some of theses fixes arealready being used on some projects. There are still some issues where I am not confortable to fix or install a patch without proper hardware testing (BZ# 31023 for hppa and BZ# 30993 for alpha), and there also one that would require a lot of working since it requires fixing the compiler (BZ# 30973 for sh4). Adhemerval Zanella (3): powerpc: Do not raise exception traps for fesetexcept/fesetexceptflag (BZ 30988) i686: Do not raise exception traps on fesetexcept (BZ 30989) riscv: Fix feenvupdate with FE_DFL_ENV (BZ 31022) Bruno Haible (4): x86: Do not raises floating-point exception traps on fesetexceptflag (BZ 30990) manual: Clarify undefined behavior of feenableexcept (BZ 31019) alpha: Fix fesetexceptflag (BZ 30998) hppa: Fix undefined behaviour in feclearexcept (BZ 30983) manual/arith.texi | 6 ++ math/test-fenv.c | 132 +++++++++++++++++++++-- math/test-fesetexcept-traps.c | 37 +++++-- math/test-fexcept-traps.c | 33 ++++-- sysdeps/alpha/fpu/fsetexcptflg.c | 2 +- sysdeps/hppa/fpu/fclrexcpt.c | 2 +- sysdeps/i386/fpu/fesetexcept.c | 46 +++++++- sysdeps/i386/fpu/fsetexcptflg.c | 63 +++++++---- sysdeps/i386/fpu/math-tests-trap-force.h | 29 +++++ sysdeps/powerpc/fpu/fesetexcept.c | 5 + sysdeps/powerpc/fpu/fsetexcptflg.c | 9 +- sysdeps/riscv/rvf/fenv_private.h | 6 +- sysdeps/x86/fpu/test-fenv-sse-2.c | 23 +--- sysdeps/x86_64/fpu/fsetexcptflg.c | 24 +++-- 14 files changed, 332 insertions(+), 85 deletions(-) create mode 100644 sysdeps/i386/fpu/math-tests-trap-force.h -- 2.34.1