[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lightning] prolog/leaf requires a prolog_{d, f}/leaf_{d, f} counterpart

From: Paulo César Pereira de Andrade
Subject: [Lightning] prolog/leaf requires a prolog_{d, f}/leaf_{d, f} counterpart
Date: Thu, 26 Aug 2010 16:15:07 -0300


  My x86_64 patches to keep stack 16 bytes aligned, in is not fully correct for jit functions, because
it only checks if the number of arguments is odd, before calculating the
stack offset of the first argument.
  This should most times be not an issue, but will be for example if receiving
an odd number of integer/float arguments, and an even number of the other
type, but running out of registers, and needing to put some arguments on
the stack.

  I will implement @subject, matching jit_prepare{,d,f} semantics, but maybe
I am missing something, so, commenting here :-)

  I am also still missing adding the logic and test cases for jit_allocai,
in both, the default/previous behavior of only receiving arguments on
registers, and now also for when receiving extra arguments on stack.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]