From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B547BC433F5 for ; Thu, 17 Feb 2022 15:51:20 +0000 (UTC) Received: from localhost ([::1]:40538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKj3v-0007ma-NO for qemu-devel@archiver.kernel.org; Thu, 17 Feb 2022 10:51:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKiGC-0002i4-HR for qemu-devel@nongnu.org; Thu, 17 Feb 2022 09:59:56 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:26714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKiGA-0005HM-Fd for qemu-devel@nongnu.org; Thu, 17 Feb 2022 09:59:56 -0500 Received: from localhost (unknown [89.217.187.128]) (Authenticated sender: sergesanspaille@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id E1ABE5FFC6; Thu, 17 Feb 2022 15:59:37 +0100 (CET) Date: Thu, 17 Feb 2022 15:59:37 +0100 From: Serge Guelton To: Stefan Hajnoczi Subject: Re: Portable inline asm to get address of TLS variable Message-ID: <20220217145937.GC11782@sguelton.remote.csb> References: <87leyaznm6.fsf@oldenburg.str.redhat.com> <877d9uzgsd.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Received-SPF: softfail client-ip=212.27.42.5; envelope-from=serge.guelton@telecom-bretagne.eu; helo=smtp5-g21.free.fr X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Weimer , Stefan Hajnoczi , Richard Henderson , qemu-devel Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" > I took a quick look at C++20 coroutines since they are available in > compilers but the primitives look hard to use even from C++, let alone > from C. Same story here :-/