From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: native comp Date: Wed, 08 May 2024 11:12:47 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31935"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org, Helmut Eller To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 08 11:13:47 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s4dMx-00087L-6B for ged-emacs-devel@m.gmane-mx.org; Wed, 08 May 2024 11:13:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4dMI-0004Jf-12; Wed, 08 May 2024 05:13:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4dMB-0004Gd-8p for emacs-devel@gnu.org; Wed, 08 May 2024 05:13:00 -0400 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4dM4-0007CS-4w; Wed, 08 May 2024 05:12:57 -0400 Original-Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a59ad344f7dso823051766b.0; Wed, 08 May 2024 02:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715159569; x=1715764369; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fqEV35poRucL7D7Pmercnk7yJ2VX8Hl1uLU+FXTY0BM=; b=Sx/NGhbU6JS2v8svTaMBSbA8GLVHFLjUX7tDXc+G+b04CoeJPh93RrTOgjFFzvyPDc zA8DiadeN0ayRTU9+UkIrrP0b7GMvfPMFZXDzxLhIPqQrgsGAVRS4vMDEMmoYqSPORoW Qgnrg9QQUyPlfhDaG2++mMhhSH/1ZfgwMdDoSiQSBhRcvSbzsUeyFnEA8RJ4tuUqasgV /MVjKmUiQLnbY0DQ/T7y9PUPuyB53MjF0tLdNBvXAklwn4GnPioRPRqb9cj4PlHZJrzz B6Dde5IDeGBIPqWkicOfPKwau/hGdPQZA+32/TKHFIfxQ3Jy+0P/qmjyQuYKgOUzmkEu 0lPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715159569; x=1715764369; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=fqEV35poRucL7D7Pmercnk7yJ2VX8Hl1uLU+FXTY0BM=; b=CxayZs/P76mu7qGJ8Irwsw9TNipyrhCqMqCZnRY0yfCeuhvf+ZwVb2++NObaPaJG9i PnmF3lv312KEEh1O9mwtus9G7s19vg1jFy4dbn7C3fK932xsHrCrxUAArbZHaGy1sucm QtK+eWBMhTdIeD13cfrQikPNmw+4fJMKx+oIuxlr//VvtOEIYgjuJX04xTftCQCOFP5i OCNmggO2AhGmVBVHtJ0Uef9aDXg9NtK/EfCHcx39kEVeMV3Zv3zsuY3LwQ0gbldovRle 9ZtUZJzhz7iL1nndvuydKSqFiN60UCSYboZzTAaqybd5kogd2y5nSAmow+gbnv/8OJKQ F1EA== X-Forwarded-Encrypted: i=1; AJvYcCUrbt84s8goydDz7iGAs9uwGC2HTewUJxl/mBdx0EodC1UzCN08zWad2iB5PftCT1CbldPfwBsAu5J1MQvvdDfr7d+X X-Gm-Message-State: AOJu0YyXymyGye7OH8PAMbbMnDvJmZJh/K+1L76XwTf7wxlWT3JhvSQn gTtKGHqIsYj5XxWTJiyg5tlpg+P07wOPg7jwsU8zVoUL5j0RDWCXfGyK1g== X-Google-Smtp-Source: AGHT+IH9yRN94MrV+8VJBQqtHICLrm0X0StzaExJMkfiCPzXAPuYM1FwBSYw2IM37fVcMXMx15RYig== X-Received: by 2002:a17:906:3817:b0:a55:6b76:eedc with SMTP id a640c23a62f3a-a59fb92336bmr124776366b.14.1715159568661; Wed, 08 May 2024 02:12:48 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a996.dip0.t-ipconnect.de. [79.227.169.150]) by smtp.gmail.com with ESMTPSA id fy20-20020a170906b7d400b00a59ac65a13csm5126125ejb.179.2024.05.08.02.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 02:12:48 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Wed, 08 May 2024 10:47:37 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318991 Archived-At: Gerd M=C3=B6llmann writes: > Hi Andrea, > > another entirely trivial question :-). Could you please explain what > this is is (C from eln)? > > struct comp_handler > { > char[24] pad0; > struct Lisp_X * val; > struct comp_handler * next; > char[20] pad1; > struct comp_jmp_buf jmp; > char[36] pad2; > }; > > struct comp_thread_state > { > char[96] pad0; > struct comp_handler * m_handlerlist; > char[416] pad1; > }; > > in particular comp_handler::val? And how this is used: > > struct comp_thread_state * * current_thread_reloc; > Or maybe more specific because I think I got what that is. It's ¤t_thread, right? Current_thread is staticpro'd, so in Emacs we'll fix that if a thread_sate moves in memory. But what does/could GCC assume about this, or maybe comp?