SV: gcc_jit_context_new_rvalue_from_XXX
Petter Tomner
tomner@kth.se
Mon Dec 13 14:54:01 GMT 2021
Hi!
I posted a patch addressing long long some time ago.
https://gcc.gnu.org/pipermail/jit/2021q4/001375.html
long long should cover all integral types on all platforms as you can
pick the result type as you want, assuming unsigned long long never
has more bits than long long :/
Regards, Petter
Från: Jit <jit-bounces+tomner=kth.se@gcc.gnu.org> för Marc Nieper-Wißkirchen via Jit <jit@gcc.gnu.org>
Skickat: den 13 december 2021 15:18
Till: jit@gcc.gnu.org
Ämne: gcc_jit_context_new_rvalue_from_XXX
Hi,
we have
gcc_jit_context_new_rvalue_from_int
and
gcc_jit_context_new_rvalue_from_long.
What about
gcc_jit_context_new_rvalue_from_long_long
and other integral types?
It could be emulated with initialized globals (and relying on the
optimization pass), but only when the binary representation on the target
is known, which it generally isn't unless the target is always the host.
Thanks,
Marc
More information about the Jit
mailing list