From patchwork Tue May 21 16:52:55 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: 797970 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:92:b0:351:d90a:5487 with SMTP id m18csp78926wrx; Tue, 21 May 2024 09:55:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKEJ5nqnoaArHFoSfrdj78WcODQzqUNCLnSumM01K2I7dpJlXlOrPKovgHMN1g3lGdY+sgoY0tgJhPoSF2Cenn X-Google-Smtp-Source: AGHT+IGzgxmY3/EvpG/XArFXHc1vayE++poxr2gE6WzKWEypGwGUy0gAV8vw0oz9yV4nXOMy6x/5 X-Received: by 2002:a0c:ac0a:0:b0:6ab:7b32:1121 with SMTP id 6a1803df08f44-6ab7b321304mr5210586d6.6.1716310546466; Tue, 21 May 2024 09:55:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716310546; cv=pass; d=google.com; s=arc-20160816; b=N/k669nNzAyLYtHC5A4fczdLzGa83b9ehtVterdg2Soc6ktCP3V/VulAJ7Dv8MTbiE Brc5LjjOULE9JkQYsp7ZTcqb+dIkqI0GO7hcYoQyIsbHOOaObsNX+Wy2+WhZ9jIHUb8E u36etGw3Bm5M6pHCesDPD4K7slK/mhjA0soqlGCBsc9DtFcCzldUx01e0/axt/4GYK4n 7zDOLpY4MR6NB4HHLyBvdqJxC/ukejuA7Yt40XALkO2KCSnYDYiZNCGYK4b7aTRw8sZi /hzaSlD1sihR9xfTGUhRAoPJoH8vbjmrFdx0UUl8RSkFBiFPzxD4zw7WsQ5CmxjyWKEr 8L8g== 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=C41n9v6Xn3v+yA51x92IVYFYCcho3J+Bxq3Q6keiguU=; fh=+6orIzRLXQY2FWXAtGF+abYflc8V+YPKzsYFuX0DJM4=; b=ZWupfD7DZrn3DORyECNwUIZiMBPdElPrUVUcNTG3tr9Xl1La9n9yBircOPGlS6NM4W LaV+7VShbdV/jQHeyeXo+GT3szWnE3KJkqPXe2b+l3QAIBWmIuqhwpOYTnqsrFpn7vfO 3v2dpIUr7WVQi8uz4bGNB3x34yI89fFNnGIBx/nR6vDMtqCdGLOlcGWMGOeXn7l28mQ2 z95l3LbrU2DKXewzsGfKKqiBPG5lfaf+CypmMDalCqz5lnurgKw2kNHwnPbCisL17CkE MKT1EcjYe7oSmQb1fuclSO9OYHFHdBTu8Qd1iF/wVPVsEYmeNROdtIXm72IppWDusDk8 cYwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OykDxkID; 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 6a1803df08f44-6a3527d2171si10360546d6.153.2024.05.21.09.55.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:55:46 -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=OykDxkID; 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 1EC563849AE7 for ; Tue, 21 May 2024 16:55:46 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by sourceware.org (Postfix) with ESMTPS id DE7483858C66 for ; Tue, 21 May 2024 16:54:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DE7483858C66 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 DE7483858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::536 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310484; cv=none; b=ITwuFdHqixliDSV1s0mERCeYYQ9m38U7bcN74HHpJlUXe5O+qVCAcvJi2UHWgd2yXVIU1HeHmypKDNprs38SQSeNzYm/QBAJEai2uO2yH2NVrdSgq0jRVwcL3IdlvLO8Eq8cc1t5YMe9gMl/NnfYc9JOKOhrxGHz3HG0YTjLm5g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716310484; c=relaxed/simple; bh=x9NS9J9bYVEPKTFmA1ijAZCdzPrQTMpL7CPRs+eXUFo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nNI5b5PPAb3hHh8YY6nKxG67rDiMCBG7ONJjZFO3jdAG4kUdytUvvFpopHzhZv1LsBydspjcHkio7ymeQdPV2quhgEq2TivNVs32E0aVMe1MVWNk8XAL51X+ANAAqY5WdIPGykIWHtCkBoWRg/bbKkj6oVpazlhsi9nbev8emcA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-60585faa69fso18541a12.1 for ; Tue, 21 May 2024 09:54:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716310481; x=1716915281; 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=C41n9v6Xn3v+yA51x92IVYFYCcho3J+Bxq3Q6keiguU=; b=OykDxkIDBNH9Xu05+nXWMhdvb0+X239QuRdpww+taSdXB7P+eGVlmHnwol2VK1pUkc hFZshQxJVfqNwr46OyK6XiDeKVjNh0K0nFHvpImxB1wr/PzlkbBcpNSJnrT8NBzf8K0W J0XOi6r5pjPOiB+yiwcnFZveAhODX4ZlSM2dLoe4ftwNt/0n0s02Co1QX3FmYt9qCfmQ RpV2j3vfepkFo1fvQnW2H2mGFf2o+HAQ6l+z2QSN5urSHxjuUbVthgyEBV0SSuV/l4Ti VfRIxI/5/Vab0D47LrDjRVD8+1CVmbwnSmAafdDAVJnkvvaliVG6A9T89lIMiQ6VfUMN Wu/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716310481; x=1716915281; 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=C41n9v6Xn3v+yA51x92IVYFYCcho3J+Bxq3Q6keiguU=; b=ExAy4G2yQpyCZx16xFAAxxXNaER59v6FjBBxpg011U88hS3/xwrkhuIuGu1Y4eX1sU wUxf6WMyebKGq4/G5vnY+klpzlEVXHxASxzIvXN/SFIdiLUyY/bWEMJJiAfIDe2eFTqq EcW0sg69X4+sdGcP9PZ0jF6eyjxyUlJ2pu/cWXn3NFSRdoPtW4LOZEbfzer+39g3Byo9 d1c7RRwjxODh72T90XiX4N5H3ruVtAYW6LQGuDPGCSWsonp/b/GUWv6LloS50M8A6z2P TGAEK2UY6REHe6+PdcFPAqDJaxh+sjuk0dZgAF7thPW5GQwgTNhhK26I0SclOWOKAzJY Mlzw== X-Gm-Message-State: AOJu0YyeWj79VXBOnNtsfhX40GHvNL0TAbRF8pvbx2wf7/XhhHlQtz2p iecRMdf17GD4Uf1CIAN8ImqBkWg5AKVkjXt+jLGJhb8JJq6xV+KupzgXLiYPHRAUCqMY32RSa2x k X-Received: by 2002:a17:90a:408f:b0:2ad:f3c3:540d with SMTP id 98e67ed59e1d1-2bd6040c272mr12918662a91.21.1716310480853; Tue, 21 May 2024 09:54:40 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c2:f76a:a4a6:1329:be7a:c724]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bd92b3d2b0sm1620774a91.3.2024.05.21.09.54.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 09:54:40 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH v4 3/5] math: Provided copysignf128 for static libm on alpha, s390, and sparcv9 Date: Tue, 21 May 2024 13:52:55 -0300 Message-ID: <20240521165430.2998944-4-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> References: <20240521165430.2998944-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 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 Checked with a static build for the affected ABIs. --- sysdeps/ieee754/ldbl-64-128/s_copysignl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c index 11b42d04ba..80137847d3 100644 --- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c +++ b/sysdeps/ieee754/ldbl-64-128/s_copysignl.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, __copysignl, copysignl); #endif