From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web11.30410.1684512564299964948 for ; Fri, 19 May 2023 09:09:24 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm2 header.b=GQtCYhBr; spf=pass (domain: bsdio.com, ip: 66.111.4.26, mailfrom: rebecca@bsdio.com) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 999335C00D2; Fri, 19 May 2023 12:09:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 19 May 2023 12:09:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:reply-to:sender:subject:subject:to:to; s= fm2; t=1684512563; x=1684598963; bh=Z+F9XN/9/FdGNcFXkMAEiEX9ZmtT jwGSVxJpzYuMgYU=; b=GQtCYhBrvrZNGeEhv9rsmSDB9iquymgfWuwp+JAchGg+ /01DPIB52LsAAZrxX+uasmWTL2Z+aJw1JJVD9EBgHfQwxdvzjlkOPHFW/sZFKi3F YlE4SFTGF7Fu5bEaMgthQH76ClGDK4c4xbI6ej4NVXp9/xcqM/sduA31KyCdmpdx FskqCGCPG5SIEGZewnRbs3HBEGV3WQn3MGYHndA1aK3Z7mFBvas7tQMaT71HVMqe Or1UsV3/k79HPwPKX+tsBfecm5BOMn++sRMc4fGBCVSBbZjPTTz+KVbAeJ2vrcjN w+aH9ix5uoqUHBeAOeHy5ztz1KAgf8igmH/s11h52g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1684512563; x=1684598963; bh=Z+F9XN/9/FdGNcFXkMAEiEX9ZmtTjwGSVxJ pzYuMgYU=; b=JRrnxt05N3O2PCCOFR9TaJHsb/QQj1OQBPvsoN/fodDFAFTiU23 ctn8uXzSfJpXn4iLqxWuPGHpiJoI4DkRBi09n8eyYS75EkB3crvg4nFat5GbCmZg NMSf2zFoJ255VEboISKdPpGkBQJBw7kElJ7xqa/JfHfNU1pfVdfx7r91qH2eD31v BbDqEPjzPlwJyVBfbOg7aBO6eh10IAC68DuCkrtvwP50hRSVwRTV70Pr2tWTTk5I lfs64aeaxFkyrZh+yCirBbZ0yypjRnMf0efRPNgVLBE+7qKPrv1hiQnZ/y8T0auA Qgt2HIf8e4ycXkE/vUOjLSOYtAMKfEm7VeQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeihedgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffhvfhrfhgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeefgfefhfdtueetgfffiedtgfffffekgeduudefteefjedugfelfffhudeh jefghfenucffohhmrghinhepvhhishhurghlshhtuhguihhordgtohhmnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghs ughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 12:09:22 -0400 (EDT) Message-ID: <79b06ac6-36ae-607b-835f-413499d4b2fd@bsdio.com> Date: Fri, 19 May 2023 10:09:21 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [edk2-devel] CpuDeadLoop() is optimized by compiler From: "Rebecca Cran" To: "Ni, Ray" , "Andrew (EFI) Fish" , "devel@edk2.groups.io" , "Kinney, Michael D" Reply-To: devel@edk2.groups.io, rebecca@bsdio.com References: <7C9FD4BA-328C-4CFE-AF5A-3A795BB147E4@apple.com> <0EECE39F-0B65-4BFE-8668-CB59448C578D@apple.com> <17605136DCF3E084.26337@groups.io> <69A704CE-16A4-4C8D-9A32-9BBD22C00475@apple.com> <1760952DCE55DF8D.29365@groups.io> In-Reply-To: <1760952DCE55DF8D.29365@groups.io> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I've submitted a bug report at https://developercommunity.visualstudio.com/t/x64-codegen-with-optimizations-wrong-for/10369557 . -- Rebecca Cran On 5/19/23 09:31, Rebecca Cran wrote: > Just to add more data, I also tried with "volatile sig_atomic_t" as > someone suggested and both "/volatile:iso" and "/volatile:ms" with no > change in results. > >