HomeFreeBSD

Fix ARM 64-bit division

Description

Fix ARM 64-bit division

Correctly implementating 64-bit division for ARM requires more than
just providing the aeabi_uldivmod() and aeabi_ldivmod() symbols.
They are need to be implemented is such a way that the quotient and
remainder and left in specific registers after the division operation
completes. This change updates the wrapper functions to accomplish
this according to the official ARM Run-time ABI.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes zfsonlinux/zfs#706

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on May 15 2012, 5:45 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 22 2012, 4:27 PM
Parents
rG38d31a1e576f: Remove Solaris module emulation
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG93b0dc92eab5: Fix ARM 64-bit division (authored by Jorgen Lundman <lundman@lundman.net>).May 22 2012, 4:27 PM