The ARM Procedure Call Standard document on http://infocenter.arm.com/
has details of the VFP variant of the procedure call standard, required
for armhf.

Simplified, each floating-point argument is allocated first to the VFP
registers if there are some available (from s0-s15 / d0-d7), and then to
the stack when there are no more VFP argument registers available.

Basically, for the armhf case we need:

  * A separate array to track the values to be passed to the called function in 
floating-point registers
  * A separate counter to track which floating-point argument registers have 
already been allocated
  * Separate implementations of INSERT_FLOAT() and INSERT_DOUBLE() to allocate 
to VFP regs and then to the stack (similarly to the way the INSERT_INT*() 
macros work)
  * Code to copy the required arguments into the VFP regs when the actual 
target function is called
  * Code to handle floating-point return values (float/double returned VFP 
registers) -- refer to the Procedure Call Standard for exact details)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900636

Title:
  libreoffice ftbfs on armhf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/900636/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to