From patchwork Wed Mar 27 16:45:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 783144 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp2301137wrt; Wed, 27 Mar 2024 09:49:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXEBe7GafxxwfwJl/URQHPPJUXfmQYCLQJbeeROOsLIOVTY3/qKq7d0PSvulcvCLp3ytSUDNNJIV+N77Nlt2WW6 X-Google-Smtp-Source: AGHT+IFbPUktT949Rn9QOuL5Y8peCITEOLrTJDndQbmge9RkLAEUMc/wPFko1adVsJYsWUr5dUfC X-Received: by 2002:a05:620a:3797:b0:78a:26a7:624f with SMTP id pi23-20020a05620a379700b0078a26a7624fmr106288qkn.23.1711558171422; Wed, 27 Mar 2024 09:49:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711558171; cv=pass; d=google.com; s=arc-20160816; b=ZhomVgPkWC5subZkrhtLISAjtG3VxtkYYenazfSfcPiK5nxIYhU57v94u9hpBjfrvE vhipK8ibi4o1WhGWmG5FpkU9nGINL5qbQ3a/nmqcI4R9b8Vnper4IbUG5knf5DLsNvh5 t3yLmUGQCLHX1gxm3NiMVZ5SjRWxlWYqRpbLZRenC6yvhVtec2DCCYPPPGqIf+CIKsQc DT05fSEwxYm34qabFVBXqm0Xwl+Cf+5NUjBBbCIeREPC2072bvwMiDcQfgS4WT2TXAvN s3cfDAlRonpQG1wmVy2qUt+y9w0IQh7nsRJ+yYHOM+/3NSUQ6zA+dioH4nvaHvEP7DmE Cqpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=arRKjEUA9fLaWUU6cs4FH4l0x0zrMQFWVGEvxXC82/M=; fh=WtLnUd2EuDKv+EP3BSdEI8hdivapDDAq3MY9+WgWrlk=; b=BWZ1Y2E0ks8ZfNQd58FAri//oZZIZKE9io+Sb4+phZOJYout56MyJI+dL0D6YzytP4 xRDMYvVgAEG7kTmNbQWdSvvwlFetjSOBFVrM+8WD9ZVE24lAf3CDZmks8rJxAyRL7zBz nj8k2tRJtcxyMM8AFA4BYHDtLrxhqYeBn7VNbmocOZSUZI3HyYwWU6zsjmJ4nFBD58Vn mkmcDmOl5klrnm9FGkqrMHgbS0Xo5nyBd+6tVLdABZYIce81b3ftOgFtN3QEuOoppvkz aGjNL2CZKSvYbHZARQ8U+sYF7WIK+f227jytnWULqLfn7MXqQUeE8xG82p/qVxX92Cte E2Jg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sjDPC8pg; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id vu13-20020a05620a560d00b00789f574e5dcsi10290571qkn.638.2024.03.27.09.49.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sjDPC8pg; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0D61A3858C31 for ; Wed, 27 Mar 2024 16:49:31 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id 0B916385E02C for ; Wed, 27 Mar 2024 16:45:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B916385E02C 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 0B916385E02C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557956; cv=none; b=d3PKPokMnk9GvrK77fETFG3zY6aQ8k/XquVVos2jKMyvqK/HZ3vkGR4Ry6hlwg6ofsrlf2g0Sf0poDg9SPgDcWHbwbEiUlNiG7/TxyHU3NOiNB13VbxtImi4DyQoskDowIilJqt0Mk7maB1IT8i2tZBiEZ216NXNWNSrG1uWMTk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711557956; c=relaxed/simple; bh=zK0STUkqWkMaFV4Mjh7D4y4NBZjYZDhFN7KQsB6A7eI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ndgRHhZe3LOkhjhon5OFKdRqrTaPp7Jjl/bM0E3Lx7eOo56N+IYCRWBJ27tLgeXfJOslJdmrr8+NjTavwK+kQ5/v2nRx8DGz0OpNYnCvaLrsWkzcV4GRDktfXd5VJQqQOIL1o52wvo5mpaEbBk77XTg7j5tiZFHeySp8YtzE5FM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1e0f3052145so268785ad.2 for ; Wed, 27 Mar 2024 09:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711557951; x=1712162751; darn=sourceware.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=arRKjEUA9fLaWUU6cs4FH4l0x0zrMQFWVGEvxXC82/M=; b=sjDPC8pguQiYSYGZPcl6y0ITQQOnnmhxy/KPf1xIPfmNdgH34YT772L4N0tKWCmA9L 2Bzvr+1PR7HKyKODJSYhthKRNLOcbk1J5f5jg7dS6p5+4jtsQC6bxn93Wkz7crjD4OKL cnSs8Kq1nKhs/I+BBAbmD9zyQ8+9EIkYm5ZpS0p/HoLPbOgm3z5I5AtKumCILmksRZYw qRRhYHpNlA71JcZsblUHcDsks2zBN0kVL6iv847B4ebfPEXXJfqFEMVH62JBrJXXtFVN kVob2kPOdG+uESY881IWPTZbLDanlQp/2Yup8Kf9NbroIm+sXRrP14jDlnWiXrgCmGco 7lLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711557951; x=1712162751; 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=arRKjEUA9fLaWUU6cs4FH4l0x0zrMQFWVGEvxXC82/M=; b=cNX6+EZcEHc1qcUt2AqJgTcukx0QUIL0rk09NiilzjWfqpFAC1kC6q8q5w+9MK2drz FrLuVNixszl6lAf9qiXgkXS3SGrlQDvXWmwU5fTjbRs6MYHi5lluPlwMbloZCmRv66YQ 26It2dR6ISKZbQWhsrR4FJjuuS/u/t3JFXrzPvJmayscp58t9BcMo3nNCLwAsBf+Aswz hM+1dvFhDoCbz7kSb70hOxWAj1AuKPV+9u8ciQK3Zflujeqjp9Y7jtyCFhzWx7EhRw7K TjKauDaJ+4aH331PNN91K4hAxZ/qV2zmwya6LvI3gu4wXlXLPVaFMkLmGWT5uURLdhb7 uI9g== X-Gm-Message-State: AOJu0Yw28aNBMGfZqH4t2Vq20bHUj/QtZJrLj4C3oYcwjVuDjrwx4lWm smlM4fZP2Df0AV63tZv3xDx/5oCx5bpeQ0OiribcfHyOC7qG8JycSmD9w0/kH2KEv5QO8mBTaUp q X-Received: by 2002:a17:903:32c7:b0:1e0:7bbf:bef4 with SMTP id i7-20020a17090332c700b001e07bbfbef4mr206076plr.41.1711557951725; Wed, 27 Mar 2024 09:45:51 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:b18e:67c4:6248:3d8a:f386]) by smtp.gmail.com with ESMTPSA id c4-20020a170903234400b001e20578b524sm858593plh.252.2024.03.27.09.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:45:51 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: Joseph Myers , Florian Weimer , "H . J . Lu" Subject: [PATCH 09/15] math: Provide frexpf128 for static libm on alpha, s390, and sparcv9 Date: Wed, 27 Mar 2024 13:45:21 -0300 Message-Id: <20240327164527.3717523-10-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> References: <20240327164527.3717523-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patch=linaro.org@sourceware.org hecked with a build for the affected ABIs. --- math/Makefile | 1 + sysdeps/ieee754/ldbl-64-128/s_frexpl.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/math/Makefile b/math/Makefile index 61736159d1..655f6ed4e3 100644 --- a/math/Makefile +++ b/math/Makefile @@ -373,6 +373,7 @@ libm-test-funcs-auto-static = \ libm-test-funcs-noauto-static = \ copysign \ fmod \ + frexp \ isnan \ # libm-test-funcs-noauto-static libm-test-funcs-narrow-static = diff --git a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c index 73ac41e40c..f5f7d349f7 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c @@ -1,10 +1,10 @@ #include #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED # undef libm_alias_ldouble # define libm_alias_ldouble(from, to) #endif #include -#if IS_IN (libc) +#if IS_IN (libc) && defined SHARED long_double_symbol (libc, __frexpl, frexpl); #endif