Open Quuxplusone opened 15 years ago
Attached x.bc
(492 bytes, application/octet-stream): x.bc
I'm pretty sure you're correct that the eager JIT only exists on x86. It doesn't look that hard to implement emitFunctionStubAtAddr given emitFunctionStub (with some thought, maybe we can unify them), but I don't have a PPC or ARM to test on, so I'm a bit reluctant to try it myself. Would you be interested in taking a shot at the implementation? If not, I may be able to find a machine to test on or use the buildbots as guinea pigs.
(In reply to comment #1)
> I'm pretty sure you're correct that the eager JIT only exists on x86. It
> doesn't look that hard to implement emitFunctionStubAtAddr given
> emitFunctionStub (with some thought, maybe we can unify them), but I don't
have
> a PPC or ARM to test on, so I'm a bit reluctant to try it myself. Would you be
> interested in taking a shot at the implementation?
For PPC and ARM there are some Linux machines on the compile farm.
They are about 7-13 times slower than my x86-64 box though, so it may take some
time to compile LLVM initially.
>If not, I may be able to
> find a machine to test on or use the buildbots as guinea pigs.
>
I may have some time for this late next week.
I may wind up fixing this as part of the redesign for PR5201, so don't waste time working on it yet.
Attached jitemitter-place-stubs.patch
(36065 bytes, text/plain): Possible fix
x.bc
(492 bytes, application/octet-stream)jitemitter-place-stubs.patch
(36065 bytes, text/plain)