[PATCH] libgccjit: Add support for bitcasts [PR104071]

Antoni Boucher bouanto@zoho.com
Mon Jan 17 22:18:01 GMT 2022

This patch add support for bitcasts in libgccjit.

It passes the JIT tests, but since I added a function in tree.c, I
wonder if I should run the whole testsuite.

David, you can now disregard my question in my email about 128-bit
integers regarding my issue with initialize_sizetypes being called
multiple times because this patch fix this issue.
I turns out there was a cache of types that needed to be cleared when
you initialize the JIT.

The check for sizes is pending, because it requires the updates to
get_size I made in my patch for 128-bit integers.

Thanks for the review!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libgccjit-Add-support-for-bitcasts-PR104071.patch
Type: text/x-patch
Size: 15515 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20220117/a1d7d387/attachment.bin>

More information about the Jit mailing list