Re: Status of LJ_GC64 on x64?

  • From: Mike Pall <mike-1507@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 29 Jul 2015 14:32:30 +0200

Geoff Leyland wrote:

How is progress on the LJ_GC64 on x64? About a month ago, it was possible to
build on x64, but without a JIT. Mike, are you able to comment on whether
you’re working on an LJ_GC64 version of the JIT, and if so, roughly when it
might be available?

Well, it's not so easy. The IR needs to be revamped (storing 64
bit consts inline), the x64 backend makes a lot of assumptions
about 32 bit addresses (e.g. for storing the current trace
number), optimizing the modified type checks is tricky, and
dealing with two different frame layouts isn't fun, either.

If anyone wants to have a go ...


Other related posts: