From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 7F8333861832 for ; Mon, 13 Jul 2020 17:17:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7F8333861832 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: Mccr1SoqEurSNOLArrNE36uLPaljlb1o4fSFAUcDWTVRw1oG+HBxheadhSdOxMtLZHPsxDqsR3 hcUY+3e385Rc/PsfwjaeOcrtLUt3RrMEpwog810jioSIp2z2yUuNqfhUktd9oNqbpg/ZlqjMxK fCgs/cTNnNBjsYrBJWRoxAdhAqLQ4LQWy5ctXNwUlCMGV3YG8ajODuci2KLSl+AcDhGizrLghY 5Ur41ZXj1Y6/dSqhE5K5AbmFo72RyoLh35QGaiG1/F2H6K5QJwcukhkUBKbD9Io26xKlpYh/Kl zEY= X-IronPort-AV: E=Sophos;i="5.75,348,1589270400"; d="scan'208";a="50982864" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 13 Jul 2020 09:17:05 -0800 IronPort-SDR: alh1VMwjUSWbWdfBn09xacsjGMcnrNnq/d1umhhPZm9kL2N5cQXjBEx4Of6q/r+CM3DeelFZnG 3oN+LWokRh7B5Tt0uHhiIkiaHmXfjrasJl/zFipJuV/pBZ9UufwCeu2zypZWXtBm9Yir/yeLls 23lRzY94alRzDjJpB/hSLV4RrqF3Y741bP23IAspljRLEX03NUIHwFI1GwFPSXF/Xk1s+P1X8a xJkU1KK+Tb4aST9he/R+CCHb6E+xnIGsKn3hlng8JDu0g2/tWi2VTYE0nvnui0h/UDul9+YOb7 ydY= Date: Mon, 13 Jul 2020 17:16:59 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Joel Sherrill CC: Sebastian Huber , Newlib Subject: Re: fenv support vs. SMP systems In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3129.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 17:17:07 -0000 On Mon, 13 Jul 2020, Joel Sherrill wrote: > It does use the term "system variable" but that doesn't scope it to > process or thread. C11 (the first version of ISO C to introduce threads) says "The floating-point environment has thread storage duration. The initial state for a thread’s floating-point environment is the current state of the floating-point environment of the thread that creates it at the time of creation.". -- Joseph S. Myers joseph@codesourcery.com