public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: Antoni Boucher <bouanto@zoho.com>
To: jit@gcc.gnu.org, gcc-patches@gcc.gnu.org
Cc: David Malcolm <dmalcolm@redhat.com>
Subject: [PATCH] libgccjit: Add support for machine-dependent builtins
Date: Sat, 11 Feb 2023 19:30:35 -0500	[thread overview]
Message-ID: <184790403bd8227db4054b9e672afbfdf879dc0c.camel@zoho.com> (raw)

Hi.
This patch adds support for machine-dependent builtins in libgccjit
(bug 108762).

There are two things I don't like in this patch:

 1. There are a few functions copied from the C frontend
(common_mark_addressable_vec and a few others).

 2. Getting a target builtin only works from the second compilation
since the type information is recorded at the first compilation. I
couldn't find a way to get the builtin data without using the langhook.
It is necessary to get the type information for type checking and
instrospection.

Any idea how to fix these issues?

Thanks for the review.

             reply	other threads:[~2023-02-12  0:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-12  0:30 Antoni Boucher [this message]
2023-02-12  0:32 ` Antoni Boucher
2023-02-12  1:37 ` Andrew Pinski
2023-11-23 22:17   ` Antoni Boucher
2023-11-23 22:21     ` Antoni Boucher
2024-01-10 23:29   ` Antoni Boucher
2024-01-10 23:44     ` David Malcolm
2024-01-10 23:58       ` Antoni Boucher
2024-02-08 13:59         ` Antoni Boucher
2024-02-15 14:32           ` Antoni Boucher
2024-02-29 15:34             ` Antoni Boucher
2024-04-19 12:35               ` Antoni Boucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=184790403bd8227db4054b9e672afbfdf879dc0c.camel@zoho.com \
    --to=bouanto@zoho.com \
    --cc=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jit@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).