From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16642 invoked from network); 4 Jan 2021 03:32:43 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2021 03:32:43 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob21.topicbox.com (Postfix) with ESMTP id 37D121EDB1 for ; Sun, 3 Jan 2021 22:32:39 -0500 (EST) (envelope-from bounce.mM4d085665c267ba8bfe227bbf.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id ECE0F100B033; Sun, 3 Jan 2021 22:32:38 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:date:from:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= sysmsg-1; t=1609731158; bh=noXVjdihHk/uZ2Pj2xX7tTNx/D+APOX0B5c2I lyS+hY=; b=pdHqPBmpzRO14YfxrcNFuHULhBQ/3++njVWh7GkxVK4pgoU/M1+b1 Z7457hg/wUp6PWvufRqaCUJz7sYzWOD/ES3UvIJAYKsXG2JfaDTLYxT+uFFRTyaG 31r5PADhW/J7D4u5sSEy+aIpFgtUlJDvtcR7kDJkP8988Q2Smt+qkw= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1609731158; b=YNhIRlZJxX2DCArq5GWSfqamzAoBkKtHhWdqIL911HMkXVJa/Z jAR1OMEAX2ZleDC88pHvRINW99YbKnLF36JPprPfIHyzA07Q6WcOJKuUukUz2RsU SjJaBF/zomusdcT4+ZO/PWZpR1MOVCpU3VZkzxAZuXfP0vOYSaIvuOpz4= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,nokogiri.pikopiko.org,mail.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,nokogiri.pikopiko.org,mail.pikopiko.org,eigenstate.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:date:from:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; bh= GPQaCP/ViRalgbSn6tfmrqUbEWZaWCGM7uQ1frkI7CE=; b=H5uq8suG8KjnDiUK rQczVFKzG9eTm0XnhHsW8gW6/Qd4hh84NLwpQJ00TeXO8U6/RvRZHfGfI4+B+yKa SGVp02RhpCgHZgFnJw7XS9nv9Q3O+gxStw7VtimmrIyYcFi/e2YMtzlLNQBouhOc vWrMNomOVc5erpnPBb36pWYAddE= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id BB11B100AC85 for <9fans@9fans.net>; Sun, 3 Jan 2021 22:32:26 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id F76015758E3; Sun, 3 Jan 2021 22:32:26 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1609731146; b=p8r+VsICUM5DTLHPKkjYybYCU7DQ9vWpTcGjlATVvZsdaJm/Mp 0NKF5FIYnYEtGR3fqplT2kcRxbF19AytY3hFDpQqwdGMu8F9avXzIPqzqOyfju6m NmOoA2aDjCL2DLkJG+gGOBqz3IH498xoNnWdK/f1OF8eClWAK4qqY3bzeK22HDKO IKPnGigFiDhilRBpnCE56JxzO/CQoZdL7Pbx/ak1+XM6wVzDsbG36725QCtwwlC9 LDrmPyMbgzsfSnSJbPoPSwbGrZOLjaJV6XHCtDrsIrfAErMVpTd91VUx3Su5JQbC eqJjai2p5p4kByhBmxpmwcP5rBSFH4NyfVUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:date:from:mime-version :content-type:content-transfer-encoding; s=arcseal; t= 1609731146; bh=gTl6uUwNc9oHa28v78qRGFtBwoV+zxnnVtOzYuyxvTE=; b=q oTNCjH9dmXk0Of6Ppu7CqAztMzozxeqkGv2qcFuQE+cLnUA07MBhNwVuSESmwSG3 0PSjBx/lx9doSO3CE5rd3q42CWK+GyyQiu31PAHguAAkSmnDsAddvSCNDOgcppnw kSa9RJT7JA3IG1Pp6DBYkZTSQcwFcBjOAAyuZhPy/pXRSN0y1d4F7lREdQm24zHW I2+xKI0hfl5h2phA8ghC2dwnIsC8vmo8zMOTNSJbY7YvCIq4W1WKUA8JhV6exiOi v9L4YW2yDKo2WFM7mvENWge4ssUPdsq4aT8EK0QQpmn+C/RrGabps35mpsz38P1h bH+2scszaldjssjcDofLw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,nokogiri.pikopiko.org,mail.pikopiko.org,eigenstate.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: kusuri.pikopiko.org,nokogiri.pikopiko.org,mail.pikopiko.org,eigenstate.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefuddgudehkeculddtuddrgeduhedrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecunecujfgurhepkffvufffhfggtgfgsehtjeejtddttddvnecuhfhrohhmpehorhhi segvihhgvghnshhtrghtvgdrohhrghenucggtffrrghtthgvrhhnpeelieetheeiteefve ffuddvlefgffegffdvveellefgleeihffhvddthfetieekhfenucfkphepvddtiedruddv gedrudefvddruddtjedpjeegrddutddurddvrdeinecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehinhgvthepvddtiedruddvgedrudefvddruddtjedphhgvlhhopehm ihhmihhrrdgvihhgvghnshhtrghtvgdrohhrghdpmhgrihhlfhhrohhmpeeoohhrihesvg highgvnhhsthgrthgvrdhorhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sun, 3 Jan 2021 22:32:25 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id ac655521 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Sun, 3 Jan 2021 19:32:24 -0800 (PST) Message-ID: <41FE44BF416FFB4B9ED729FE2AB1A4DE@eigenstate.org> To: 9fans@9fans.net Date: Sun, 03 Jan 2021 19:32:22 -0800 From: ori@eigenstate.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 7a2b7468-4e3d-11eb-b8e9-81d480a71aec Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZGNmYjhmODRjOTBlYjE5OS1NNGQwODU2NjVjMjY3YmE4YmZlMjI3?= =?UTF-8?B?YmJmPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] non-interruptible temporary: why do we care? List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M4d085665c267ba8bfe227bbf:1:mmtWEVjF6RRZeczKZWdWhTncPMPwa9EIRGeOYUCBkIE Our compilers will sometimes produce a warning about a non-interruptible temporary: #include #include void f(vlong a) { vlong x, y, z; x =3D y =3D z =3D a; } cpu% 5c -w test.c warning: /fd/0:7 non-interruptable temporary warning: /fd/0:7 non-interruptable temporary I know this means that the intermediate values cannot be assigned atomically, but I don't see why this rates a warning. From what I understand, the uninterruptability of the temporaries should be unobservable as long as our note handlers save and restore registers correctly. The only case I can think of is that a note handler may see "tearing" of a register, but that doesn't require a non-interruptible temporary -- this kind of code will suffice: vlong x; int use_x(){ return x; } void main(void) { atnotify(use_x, 1); while(1) x++; } Why do we warn about non-interruptible temporaries? What issues am I missing? ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tdcfb8f84c90eb199-M4d085= 665c267ba8bfe227bbf Delivery options: https://9fans.topicbox.com/groups/9fans/subscription