From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: MPS: nativecomp ABI Date: Fri, 05 Jul 2024 14:44:16 +0000 Message-ID: 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="28524"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Devel , Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 05 20:15:25 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 1sPnSv-0007Bs-2Y for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Jul 2024 20:15:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPnSF-0002Tz-NP; Fri, 05 Jul 2024 14:14:43 -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 1sPkAi-0007Ew-HV for emacs-devel@gnu.org; Fri, 05 Jul 2024 10:44:24 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPkAg-0000KF-SS; Fri, 05 Jul 2024 10:44:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1720190659; x=1720449859; bh=qZFEV8IO5ohSVJbCV54RCsvIcjY638zOu/axSgw1L5Q=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=iu9I1XTLd4tU8/hsdcumQxlmeNSt+VHb2l0AfTaiwVJSiC5EZwvKu8zS1eECAFYab bYnV3lWT55dASq5gwW6I0WN/guGpZxqVqu+PzTVNu3owNISe8jfm9YnOxrlTjhkQgu XV1pts8jo59wY2yGjrb7j011sej5rxBUz34Yi6JvjzIpwqaHE+o9tDIyf5OXEPxKJV FkC27zCaVFPfeUbTQftPxRgBQ8AJQBnlcmpbV4nMZKLwwt7ZrJUpEpyKwd+EOVvmFk I41U4sWHH7tT2aSZfEfK0fCN+wQHvKlEt3xP0wFDSb3GuM/T+tfn8H70qE165yW+7t lewU71CRbMoTA== Feedback-ID: 112775352:user:proton X-Pm-Message-ID: b5a7748ce23f17b7fc6658672b319c518564d19e Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 05 Jul 2024 14:14:40 -0400 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:321396 Archived-At: Hello, I'm working on scratch/igc. One thing I'd like to do is put the IGC header = which all objects will require (for now) into these structs: struct Lisp_Cons struct Lisp_Symbol struct Lisp_String struct Lisp_Float union vectorlike_header IIUC, this means changing the nativecomp ABI hash (which means I'll have to= rebuild the .eln files, I think) and adjusting any nativecomp code which k= nows about the structure layouts. However, I've only been able to find that= for Lisp_Cons and struct Lisp_Symbol_With_Pos, which declares its header a= s ptrdiff_t. Are there more, or do the others all use C functions for acces= s? Things appear to work, but I'd rather not miss anything and haven't looked = at this code in years. Thanks! Pip