[PATCH 2/2] jit: Complex types and loong constants
Petter Tomner
tomner@kth.se
Thu Oct 21 13:13:49 GMT 2021
This patch adds the possibility to make the following constants:
* long long
* long double
* complex long double
The long long one is needed for 32bit systems.
The new entrypoints are:
gcc_jit_context_new_rvalue_from_long_long
gcc_jit_context_new_rvalue_from_long_double
gcc_jit_context_new_rvalue_from_complex_long_double
The patch also fixes a issue with the reproducer's debug
c-file writer, which does not handle floating point numbers
very well. I.e. infs, NaN and losing precision on doubles.
make check-jit runs fine with the patch series on Debian 64x.
See attachment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-long-long.patch
Type: text/x-patch
Size: 42834 bytes
Desc: 0002-long-long.patch
URL: <https://gcc.gnu.org/pipermail/jit/attachments/20211021/01f3d88d/attachment-0001.bin>
More information about the Jit
mailing list