Global register variables

Marc Nieper-Wißkirchen marc.nieper+gnu@gmail.com
Tue Aug 31 06:39:35 GMT 2021


Does libgccjit support GCC's global register variables ([1])?

If not, could we expect them to be included?  One major use case of
libgccjit seems to be JIT compilation of some virtual machine bytecode and
virtual machines usually need a number of global variables (like some
virtual stack pointer or heap pointer, etc.).  It makes a lot of sense to
hold them in global (callee-saved) registers.

Marc

--

[1]
https://gcc.gnu.org/onlinedocs/gcc/Global-Register-Variables.html#Global-Register-Variables


More information about the Jit mailing list