Question about STD64 ABI

Torbjorn Granlund tg at gmplib.org
Fri Mar 30 12:44:14 CEST 2012


Torbjorn Granlund <tg at gmplib.org> writes:

  If GCC generates code that takes advantage if this rule, then I expect
  no problems at any standard platform.
  
GCC 4.7 on FreeBSD generates such code fpr bdiv_qr.c.  This is not a
leaf function, so rsp is moved down before the calls.  But the fact that
rsp[negative] is ever used means that this ABI feature is being
explored.

-- 
Torbjörn


More information about the gmp-devel mailing list