From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Thu, 23 May 2024 08:15:19 -0400 Message-ID: References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> <87ed9u5lbi.fsf@gmail.com> <87ikz56j66.fsf@gmail.com> <87cypc7v8y.fsf@gmail.com> <878r007tpf.fsf@gmail.com> 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="1200"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Emacs Devel , Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 23 14:16:19 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 1sA7Mp-00006X-LX for ged-emacs-devel@m.gmane-mx.org; Thu, 23 May 2024 14:16:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA7M1-0002S2-EY; Thu, 23 May 2024 08:15:29 -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 1sA7Ly-0002Mt-IM for emacs-devel@gnu.org; Thu, 23 May 2024 08:15:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sA7Lu-0004ow-LR; Thu, 23 May 2024 08:15:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=bkcbpu09qEB2snkyQTDayeO+oTSvGRkr60WCXoINAj8=; b=nWQ3KSq5o6p1VUKCVPg7 Ex5ZjVGfqyTjWjo7qs34C8qbLRUUYx2wVGApwiL7vqOUMmTJGo8WDUsUO3Zq6gpi8TyrltB1oMt6j 7NaiAMukgcZbiXN06zrOF+pGNlgmWxg/LCswMy1+BFj2gU1fcpz3ECyfslfouSu7FMmSjMy0UUEYb hAo/O5IgT19PFqztkF+z0cqlIyLLaEYkdozWp34gSdvqn39CpF3geAG0vhHbDy/FwDZenIzkvTG7Y rzsYx+m5oa+9+ciM/QhUVlWRjo6FbkcsIwpTKVvTPG83s66IKF0vnvST8w2C1bw2iaY4FWXLOk0+B gyK+/53jqqYMkg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sA7Lr-0008C9-PP; Thu, 23 May 2024 08:15:19 -0400 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Thu, 23 May 2024 12:19:56 +0200") 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:319524 Archived-At: Gerd M=C3=B6llmann writes: > Helmut Eller writes: > >> On Thu, May 23 2024, Gerd M=C3=B6llmann wrote: >> >>> Not for me :-(. >> >> Can something like >> >> for (EMACS_INT i =3D 0; i < d_vec_len; i++) >> data_relocs[i] =3D AREF (comp_u->data_vec, i); >> >> trigger a GC flip in the middle of the array? > > Hm. > >> Maybe only on macOS? Maybe we should be extra >> careful and register the roots before writing to data_relocs? > > Could be. > > Even nices would we if things like struct Lisp_X *d_reloc|[123] were > struct Lisp_X **d_reloc. Then one could just set a pointer, for example > to v->contents of a vector that is currently there anyway. No idea why > that isn't the case. I don't think we want an indirection more there, generated code would be slower. Andrea