[PATCH] libgccjit: Add support for machine-dependent builtins
Antoni Boucher
bouanto@zoho.com
Sun Feb 12 00:32:19 GMT 2023
I forgot to attach the patch.
Here it is.
On Sat, 2023-02-11 at 19:30 -0500, Antoni Boucher via Jit wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgccjit-Add-support-for-machine-dependent-builtins.patch
Type: text/x-patch
Size: 60738 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20230211/8b0ffd5d/attachment-0001.bin>
More information about the Jit
mailing list