From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by sourceware.org (Postfix) with ESMTPS id 52D48385841D for ; Sat, 23 Mar 2024 17:35:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 52D48385841D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 52D48385841D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::22c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711215331; cv=none; b=gcMWqY8ILrElJBx9W2GmGrywcpFMZ3XzHlDdaNUgX4TcGB9deD5QQdb6shxWMADe2pho1OzoSfAJSipKPUhhDo9gE/1XufHYN+dBE3NZWKyd790+LslaPPs6ETxPsRqNt79DSvQ7fN9vjJj20Tov9WNCAnqUbAxNoEh8UgoL9mw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711215331; c=relaxed/simple; bh=Ee63xut9bn/SExLRBIHByZYouqcluJL2A2zYtH13p84=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=PhtDwbOmbVyHAIsdw1MnYHaT3oF0KhnGl8jmHCGGT9affRaODMSiE8t9ttI2HR6bQPBwNnWQ4F9EKCVKK+ANYjnt3YA7oDD309TdFZ++mIv2GR/+A+HhE8/O2ODGTNqEFUITZud9jQ5RYmCHFaYI8hSMT+DKtBcCOI00Lq/s0FQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2d6a1af9c07so43914751fa.3 for ; Sat, 23 Mar 2024 10:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711215327; x=1711820127; 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=E9zWxe28wslNYGdt9ZfD9neGyjLcdLLVqZ59haUdDxI=; b=JtC9mXHiK1v8RyD+ooiJC/SdNrAS4Tb0thxgbxGxFpSKv3AtfXIIg6PR6E6Pg1ho6E +SRbHdiPNmszsTeFcKqXNudqwk79y8NiYZ15GL3dgxvXdUUfTS5eZ3l6FmfDUB1rdIpd cWxAHbDSLURiZ5auVPZc9j8WxFtaqyvtsF/TgTx50oCoGhCxhybQVoQwJJXTSiCw9DAH N01vShiZwI6nqJ4usLFkKfw9xcX7YZwyP/XTHzvbgImMvEtVeBueCkUdOK/aBMTOilSM UwjLAckN2/wQcEDhluEsPVAUZ+LWajm++D/GKwzq/xR2mD9TqIWenoM9GY6sQ5o9Wu8j 4T1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711215327; x=1711820127; 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=E9zWxe28wslNYGdt9ZfD9neGyjLcdLLVqZ59haUdDxI=; b=xGH6w46oxreUnfVVz6h01szldU8QZxH8DuohsiC8TqvgcXKlIGiwIGv7kLAirBDMcN 1T+SfDWO0CNNfXenTpYWS4qjXfPZPQzFVPm95kseK4zDh259t9m+LlahNpUaY+AZFAWj 73StH55o8socHJWeMg5ODMepQLE27klE1A1MSjH8oHh/Gy1SKQJ6/GC/0jHWq1LxQEQr Svem//nejzJMcLWdpMifY57YtHXmj9kbdsOWdzMSJaSvTK6Xcd+fJ97NmJ2NmXjkAu9s eDB6VdQE/RJGVjq+Eu/SD0YBEz7lNjHWO15X4jGIMZItjgbOELcnJS4+6pknz4ar800x zHXg== X-Gm-Message-State: AOJu0Yx0ToiF6jfRrdNJvm6bGKyrPVjHP+KClATEEu9tIxSHe2SOxn5M 3AvR7P4sx8Uw2C6QVIb+H4SKOy2dvujWtl4v4gmmULlL98MjnEj718955WBA X-Google-Smtp-Source: AGHT+IFQVtBuRApP9FcyGNsCqGB3FRePdOK/24hKncKQ967vgB5uXL6lGxCPEI+MiyknB00MFLKNaA== X-Received: by 2002:ac2:4851:0:b0:513:e466:cb05 with SMTP id 17-20020ac24851000000b00513e466cb05mr1590995lfy.45.1711215327599; Sat, 23 Mar 2024 10:35:27 -0700 (PDT) Received: from surface-pro-6.. (79-139-171-253.dynamic.spd-mgts.ru. [79.139.171.253]) by smtp.gmail.com with ESMTPSA id g20-20020ac25394000000b00513973dee6fsm361290lfh.150.2024.03.23.10.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:35:27 -0700 (PDT) From: Sergey Bugaev To: libc-alpha@sourceware.org, bug-hurd@gnu.org Cc: Maxim Kuvyrkov , Luca Subject: [PATCH v2 16/20] Add FPE_FLTIDO Date: Sat, 23 Mar 2024 20:32:57 +0300 Message-ID: <20240323173301.151066-17-bugaevc@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240323173301.151066-1-bugaevc@gmail.com> References: <20240323173301.151066-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,RCVD_IN_BARRACUDACENTRAL,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 List-Id: This is a new si_code value for the SIGFPE signal that has been added to FreeBSD, and is also going to be used on the Hurd. Signed-off-by: Sergey Bugaev --- This makes sense, right? We should probably define more codes still (see exception2signal in the next patch). bits/siginfo-consts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bits/siginfo-consts.h b/bits/siginfo-consts.h index 4eef775e..362a06a6 100644 --- a/bits/siginfo-consts.h +++ b/bits/siginfo-consts.h @@ -75,8 +75,10 @@ enum # define FPE_FLTRES FPE_FLTRES FPE_FLTINV, /* Floating point invalid operation. */ # define FPE_FLTINV FPE_FLTINV - FPE_FLTSUB /* Subscript out of range. */ + FPE_FLTSUB, /* Subscript out of range. */ # define FPE_FLTSUB FPE_FLTSUB + FPE_FLTIDO /* Input denormal operation. */ +# define FPE_FLTIDO FPE_FLTIDO }; /* `si_code' values for SIGSEGV signal. */ -- 2.44.0